MCPcopy
hub / github.com/dcloudio/mui / appendQuery

Function appendQuery

examples/hello-mui/js/mui.js:3098–3103  ·  view source on GitHub ↗
(url, query)

Source from the content-addressed store, hash-verified

3096 }
3097 };
3098 var appendQuery = function(url, query) {
3099 if(query === '') {
3100 return url;
3101 }
3102 return(url + '&' + query).replace(/[&?]{1,2}/, '?');
3103 };
3104 var mimeToDataType = function(mime) {
3105 if(mime) {
3106 mime = mime.split(';', 2)[0];

Callers 2

serializeDataFunction · 0.70
mui.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected