私信发送成功
Watch Star Fork

Cweili / plupload-commonjsJavaScript

Port of Plupload to CommonJS
克隆/下载
Cweili 最后提交于 2016-05-27 13:22 update readme
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
2016-05-27 13:22
2016-05-27 12:58
2016-05-27 12:58
2016-05-27 12:58
Loading...
README.md 741 Bytes

Plupload CommonJS

Port of Plupload to CommonJS.

Use Plupload with Browserify or Webpack.

See original README.

Usage

const plupload = require('plupload');
const uploader = new plupload.Uploader({
  browse_button: 'browse', // this can be an id of a DOM element or the DOM element itself
    url: 'upload.php'
});
uploader.init();

Contribution

plupload.dev.js

modify

window.plupload = plupload;

to

module.exports = plupload;

moxie.js

add

module.exports = o;

after

// expose globally
exports.mOxie = o;
if (!exports.o) {
  exports.o = o;
}

项目点评 ( 0 )

你可以在登录后,对此项目发表评论

4_float_left_people 4_float_left_close