refactor(load) put: prefix

This commit is contained in:
coderaiser 2016-02-13 09:00:47 -05:00
parent 4c7de2edc5
commit f1ec9fadb6

View file

@ -220,8 +220,9 @@
load.put = function(url, body) {
var emitter = Emitify(),
prefix = CloudCmd.PREFIX,
apiURL = prefix + CloudFunc.apiURL,
api = apiURL + '/fs',
apiURL = CloudFunc.apiURL,
api = prefix + apiURL + '/fs',
xhr = new XMLHttpRequest();
url = encodeURI(url);