You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-14Lines changed: 4 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ After this is done and `testChunks` enabled, an upload can quickly catch up even
72
72
### Resumable
73
73
#### Configuration
74
74
75
-
The object is loaded with a configuation hash:
75
+
The object is loaded with a configuration options:
76
76
77
77
var r = new Resumable({opt1:'val', ...});
78
78
@@ -147,6 +147,7 @@ added.
147
147
*`.catchAll(event, ...)` Listen to all the events listed above with the same callback function.
148
148
149
149
### ResumableFile
150
+
ResumableFile constructor can be accessed in `Resumable.ResumableFile`.
150
151
#### Properties
151
152
152
153
*`.resumableObj` A back-reference to the parent `Resumable` object.
@@ -183,12 +184,7 @@ To ensure consistency throughout the source code, keep these rules in mind as yo
183
184
184
185
* All features or bug fixes must be tested by one or more specs.
185
186
186
-
* With the exceptions listed below, we follow the rules contained in [Google's JavaScript Style Guide](http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml):
187
-
188
-
* Wrap all code at 100 characters.
189
-
190
-
* Instead of complex inheritance hierarchies, we prefer simple objects. We use prototypical
191
-
inheritance only when absolutely necessary.
187
+
* We follow the rules contained in [Google's JavaScript Style Guide](http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml) with an exception we wrap all code at 100 characters.
192
188
193
189
194
190
## Installation Dependencies
@@ -219,17 +215,11 @@ Browsers should be comma separated and case sensitive.
219
215
220
216
To re-run tests just change any source or test file.
221
217
222
-
Automated tests is running after every commit at travis-ci, current build status: [](https://travis-ci.org/AidasK/resumable.js)
218
+
Automated tests is running after every commit at travis-ci, current build status: [](https://travis-ci.org/resumable2/resumable.js)
223
219
224
220
### Running test on sauceLabs
225
221
226
222
1. Connect to sauce labs https://saucelabs.com/docs/connect
227
223
2.`grunt test --sauce-local=true --sauce-username=**** --sauce-access-key=***`
228
224
229
225
other browsers can be used with `--browsers` flag, available browsers: sl_opera,sl_iphone,sl_safari,sl_ie10,sl_chorme,sl_firefox
230
-
231
-
## Alternatives
232
-
233
-
This library is explicitly designed for modern browsers supporting advanced HTML5 file features, and the motivation has been to provide stable and resumable support for large files (allowing uploads of several GB files through HTTP in a predictable fashion).
234
-
235
-
If your aim is just to support progress indications during upload/uploading multiple files at once, Resumable.js isn't for you. In those cases, [SWFUpload](http://swfupload.org/) and [Plupload](http://plupload.com/) provides the same features with wider browser support.
0 commit comments