Artur Paikin 8 лет назад
Родитель
Сommit
5d1fc16391
2 измененных файлов с 16 добавлено и 6 удалено
  1. 4 3
      CHANGELOG.md
  2. 12 3
      README.md

+ 4 - 3
CHANGELOG.md

@@ -47,9 +47,10 @@ Ideas that will be planned and find their way into a release at one point
 
 ## 0.11.0
 
-To be released: October ?, 2016. Releasemaster: Harry
+To be released: October 21, 2016. Releasemaster: Harry
 
 - [ ] dashboard: basic responsive version (@arturi)
+- [ ] dashboard: make trigger optional — not needed when rendering inline (@arturi)
 - [ ] tus: only show pause/resume when tus is used (@arturi)
 - [ ] formtag: pretty input element? #93 (@arturi)
 - [ ] webcam: stop using the webcam after the picture is taken and tab is hidden (do we need mount/unmount maybe?) (@hedgerh)
@@ -78,8 +79,8 @@ Theme: Getting together
 - [x] tus: add `resumable` capability flag (@arturi)
 - [x] tus: start fixing pause/resume issues and race conditions (@arturi)
 - [x] test: working Uppy example on Require Bin — latest version straight from NPM http://requirebin.com/?gist=54e076cccc929cc567cb0aba38815105 (@arturi @account)
-- [x] meta: update readme docs, add unpkg CDN links (https://unpkg.com/uppy@0.9.0/dist/uppy.min.css) (@arturi)
-- [ ] meta: write 0.10 release blog post (@arturi)
+- [x] meta: update readme docs, add unpkg CDN links (https://unpkg.com/uppy/dist/uppy.min.css) (@arturi)
+- [x] meta: write 0.10 release blog post (@arturi)
 
 ## 0.9.0
 

+ 12 - 3
README.md

@@ -56,7 +56,7 @@ or
 
 ``` javascript
 // ES5
-// warning: bundling with `require` will currently include the whole Uppy package, with all plugins. 
+// warning: bundling with `require` will currently include the whole Uppy package, with all plugins.
 // If you want to pick and choose, use `import`)
 var Uppy = require('uppy')
 
@@ -101,7 +101,15 @@ But if you like, you can also use a pre-built bundle, for example from [unpkg CD
 
 Uppy exposes events that you can subscribe to in your app:
 
-### `core:upload-success` when one upload is complete:
+### Event `core:upload-progress` when file upload progress is available
+
+``` javascript
+uppy.on('core:upload-progress', (data) => {
+  console.log(data.id, data.bytesUploaded, data.bytesTotal)
+})
+```
+
+### Event `core:upload-success` when one upload is complete
 
 ``` javascript
 uppy.on('core:upload-success', (fileId, url) => {
@@ -114,7 +122,7 @@ uppy.on('core:upload-success', (fileId, url) => {
 })
 ```
 
-### `core:success` when all uploads are complete:
+### Event `core:success` when all uploads are complete
 
 ``` javascript
 uppy.on('core:success', (fileCount) => {
@@ -122,6 +130,7 @@ uppy.on('core:success', (fileCount) => {
 })
 ```
 
+
 ## Browser Support
 
 <a href="https://saucelabs.com/u/transloadit-uppy">