Skip to content

Commit

Permalink
容错
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Jan 15, 2018
1 parent b915a89 commit d9e58a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.js
Original file line number Diff line number Diff line change
Expand Up @@ -2335,10 +2335,10 @@ var defaultOptions = {

// 对外暴露的类
var COS = function (options) {
this.options = util.extend(util.clone(defaultOptions), options || {});
if (options.AppId) {
console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").');
}
this.options = util.extend(util.clone(defaultOptions), options || {});
event.init(this);
task.init(this);
};
Expand Down
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/cos.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ var defaultOptions = {

// 对外暴露的类
var COS = function (options) {
this.options = util.extend(util.clone(defaultOptions), options || {});
if (options.AppId) {
console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").');
}
this.options = util.extend(util.clone(defaultOptions), options || {});
event.init(this);
task.init(this);
};
Expand Down

0 comments on commit d9e58a9

Please sign in to comment.