We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78ae041 commit 765e890Copy full SHA for 765e890
CCBoot.js
@@ -1673,6 +1673,17 @@ cc._initSys = function (config, CONFIG_KEY) {
1673
// N/A in cocos2d-html5
1674
};
1675
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
+
1687
/**
1688
* Dump system informations
1689
* @memberof cc.sys
@@ -2034,6 +2045,13 @@ cc.game = /** @lends cc.game# */{
2034
2045
self._paused = false;
2035
2046
},
2036
2047
2048
2049
+ * Run game.
2050
2051
+ restart: function () {
2052
+ window.location.href = window.location.href;
2053
+ },
2054
2037
2055
2038
2056
* Run game.
2039
2057
*/
0 commit comments