diff --git a/cocos2d/core/load-pipeline/md5-pipe.js b/cocos2d/core/load-pipeline/md5-pipe.js index 0c2902d0a1..faadf8bd51 100644 --- a/cocos2d/core/load-pipeline/md5-pipe.js +++ b/cocos2d/core/load-pipeline/md5-pipe.js @@ -44,7 +44,7 @@ MD5Pipe.prototype.handle = function(item) { return item; }; -MD5Pipe.prototype.transformURL = function (url, hashPatchInFolder = false) { +MD5Pipe.prototype.transformURL = function (url, hashPatchInFolder) { var index = url.indexOf('?'); var key = url; if (index !== -1) {