Skip to content

Commit

Permalink
Add bluebird to README
Browse files Browse the repository at this point in the history
  • Loading branch information
lenage committed Sep 12, 2015
1 parent 9fc6773 commit d5b6c23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -15,7 +15,7 @@ Optionally pass in a size property to configure the size of the Drop Zone.

```jsx
var React = require('react');
var Qiniu = require('react-qiniu);
var Qiniu = require('react-qiniu');

var ReactQiniuDemo = React.createClass({
getInitialState: function () {
Expand All @@ -33,6 +33,7 @@ var ReactQiniuDemo = React.createClass({
// and with each file, we attached two functions to handle upload progress and status
// file.progress => return upload progress of file
// file.uploadPromise => return a Promise to handle uploading status(what you can do when upload failed)
// `react-qiniu` using bluebird, check bluebird API https://github.com/petkaantonov/bluebird/blob/master/API.md
console.log('Received files: ', files);
},

Expand Down

0 comments on commit d5b6c23

Please sign in to comment.