...
|
...
|
@@ -41,5 +41,22 @@ var uploader = function(option){ |
|
|
}
|
|
|
}
|
|
|
});
|
|
|
// $('.js-add-image').fileupload({
|
|
|
// url:'http://upload.static.yohobuy.com',
|
|
|
// dataType: 'html',
|
|
|
// forceIframeTransport: true,
|
|
|
// formData:{pid:0, project:'', is_public:'N', tags:'',exporttype:"html"},
|
|
|
// acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
|
|
|
// autoUpload: false,
|
|
|
// maxFileSize: 5000000,
|
|
|
// add: function (e, data) {
|
|
|
// for(k in data.files){
|
|
|
// console.log(data.files[k]);
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
// }
|
|
|
// });
|
|
|
}
|
|
|
module.exports=uploader; |
|
|
\ No newline at end of file |
...
|
...
|
|