feature(directory) uploadFile, uploadDir: rm callback

This commit is contained in:
coderaiser 2016-03-05 05:11:24 -05:00
parent ad1dc1445f
commit 36954a0ae2

View file

@ -114,12 +114,12 @@
Images.show('top');
}
function uploadFile(url, data, callback) {
return DOM.load.put(url, data, callback);
function uploadFile(url, data) {
return DOM.load.put(url, data);
}
function uploadDir(url, callback) {
return DOM.load.put(url + '?dir', null, callback);
function uploadDir(url) {
return DOM.load.put(url + '?dir');
}
})();