Skip to content

Commit edb6e81

Browse files
committed
Fix duplicate "options" function, renamed to "option" (for updating options without reset).
1 parent 22ef6c9 commit edb6e81

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
"main": "src/index.js",
1616

17-
"version": "0.2.8-beta",
17+
"version": "0.2.10-beta",
1818

1919
"repository": {
2020
"type": "git",

src/upload.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,9 @@ module.exports = function () {
587587
}
588588
};
589589

590-
Upload.prototype.options = function (name, key, val) {
590+
Upload.prototype.option = function (name, key, val) {
591591
var options,
592+
uploader;
592593

593594
name = _toCamelCase(name);
594595
uploader = this.watch.uploaders[name];

0 commit comments

Comments
 (0)