Skip to content

Commit 5e82385

Browse files
author
jianglong0156
committed
Revert "issue cocos2d#1108: add two method cleanScript and restart"
This reverts commit 765e890.
1 parent 765e890 commit 5e82385

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

CCBoot.js

-18
Original file line numberDiff line numberDiff line change
@@ -1673,17 +1673,6 @@ cc._initSys = function (config, CONFIG_KEY) {
16731673
// N/A in cocos2d-html5
16741674
};
16751675

1676-
/**
1677-
* cleanScript the singal JS file
1678-
* @memberof cc.sys
1679-
* @name cleanScript
1680-
* @param {String} jsfile
1681-
* @function
1682-
*/
1683-
sys.cleanScript = function (jsfile) {
1684-
// N/A in cocos2d-html5
1685-
};
1686-
16871676
/**
16881677
* Dump system informations
16891678
* @memberof cc.sys
@@ -2045,13 +2034,6 @@ cc.game = /** @lends cc.game# */{
20452034
self._paused = false;
20462035
},
20472036

2048-
/**
2049-
* Run game.
2050-
*/
2051-
restart: function () {
2052-
window.location.href = window.location.href;
2053-
},
2054-
20552037
/**
20562038
* Run game.
20572039
*/

0 commit comments

Comments
 (0)