MCPcopy Create free account
hub / github.com/dcloudio/mui / appendQuery

Function appendQuery

js/mui.ajax.js:94–99  ·  view source on GitHub ↗
(url, query)

Source from the content-addressed store, hash-verified

92 }
93 };
94 var appendQuery = function(url, query) {
95 if(query === '') {
96 return url;
97 }
98 return(url + '&' + query).replace(/[&?]{1,2}/, '?');
99 };
100 var mimeToDataType = function(mime) {
101 if(mime) {
102 mime = mime.split(';', 2)[0];

Callers 2

serializeDataFunction · 0.70
mui.ajax.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected