redux-plupload
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "redux-plupload", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Redux integration for Plupload", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
"build": "cross-env BABEL_ENV=es5 babel es6 --out-dir lib", | ||
"release": "npm run clean && npm run build && npm publish" | ||
"prepublish": "npm run clean && npm run build" | ||
}, | ||
@@ -20,0 +20,0 @@ "husky": { |
@@ -41,3 +41,3 @@ # Redux-plupload | ||
To use `redux-plupload`, you must install the middleware (and optionally the reducer), then send an `ActionTypes.INIT` message to init the `plupload.Uploader`. The `payload` of the action should include a `browse_button` (and optionaly `dropzone`) prop. You can also specify `url` and `multipart_params` props at `INIT` time, or provide an `uploadSettingsSelector` that will be called with `state` and `file` as args to find the extra per-file upload settings. | ||
To use `redux-plupload`, you must install the middleware (and optionally the reducer), then send an `ActionTypes.INIT` message to init the `plupload.Uploader`. The `payload` of the action should include a `browse_button` (and optionally `dropzone`) prop. You can also specify `url` and `multipart_params` props at `INIT` time, or provide an `uploadSettingsSelector` that will be called with `state` and `file` as args to find the extra per-file upload settings. | ||
```js | ||
@@ -44,0 +44,0 @@ // client.js |
39713