Skip to content

Commit

Permalink
Expose cc.codec for compression lib
Browse files Browse the repository at this point in the history
  • Loading branch information
pandamicro committed Mar 15, 2018
1 parent 2ccb7c1 commit 81b8b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos2d/compression/ZipUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ codec.unzipAsArray = function (input, bytes) {
return ar;
};

module.exports = codec;
cc.codec = module.exports = codec;

0 comments on commit 81b8b68

Please sign in to comment.