Skip to content

Commit 9fb5ccc

Browse files
author
jianglong0156
committed
rename jsb.urlRegExp to cc._urlRegExp
1 parent 19ebf24 commit 9fb5ccc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CCBoot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ cc.loader = /** @lends cc.loader# */{
838838
return cb();
839839
}
840840
var realUrl = url;
841-
if (!url.match(cc.urlRegExp))
841+
if (!url.match(cc._urlRegExp))
842842
{
843843
var basePath = loader.getBasePath ? loader.getBasePath() : self.resPath;
844844
realUrl = self.getUrl(basePath, url);
@@ -2357,7 +2357,7 @@ Function.prototype.bind = Function.prototype.bind || function (oThis) {
23572357
return fBound;
23582358
};
23592359

2360-
cc.urlRegExp = new RegExp(
2360+
cc._urlRegExp = new RegExp(
23612361
"^" +
23622362
// protocol identifier
23632363
"(?:(?:https?|ftp)://)" +

0 commit comments

Comments
 (0)