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

Function appendQuery

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

Source from the content-addressed store, hash-verified

2909 }
2910 };
2911 var appendQuery = function(url, query) {
2912 if(query === '') {
2913 return url;
2914 }
2915 return(url + '&' + query).replace(/[&?]{1,2}/, '?');
2916 };
2917 var mimeToDataType = function(mime) {
2918 if(mime) {
2919 mime = mime.split(';', 2)[0];

Callers 2

serializeDataFunction · 0.70
mui.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected