Skip to content

Commit

Permalink
Update cos-auth.js
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Nov 22, 2018
1 parent 15e56b5 commit f481ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/cos-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
};

if(typeof module === 'object'){
module.exports = CryptoJS;
module.exports = CosAuth;
}else{
window.CosAuth = CosAuth;
}
})();
})();

0 comments on commit f481ea2

Please sign in to comment.