We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a98aedc + c666dc4 commit b751ec8Copy full SHA for b751ec8
CCBoot.js
@@ -1674,6 +1674,17 @@ cc._initSys = function (config, CONFIG_KEY) {
1674
// N/A in cocos2d-html5
1675
};
1676
1677
+ /**
1678
+ * cleanScript the singal JS file
1679
+ * @memberof cc.sys
1680
+ * @name cleanScript
1681
+ * @param {String} jsfile
1682
+ * @function
1683
+ */
1684
+ sys.cleanScript = function (jsfile) {
1685
+ // N/A in cocos2d-html5
1686
+ };
1687
+
1688
/**
1689
* Dump system informations
1690
* @memberof cc.sys
@@ -2035,6 +2046,13 @@ cc.game = /** @lends cc.game# */{
2035
2046
self._paused = false;
2036
2047
},
2037
2048
2049
2050
+ * Run game.
2051
2052
+ restart: function () {
2053
+ //window.location.href = window.location.href;
2054
+ },
2055
2038
2056
2039
2057
* Run game.
2040
2058
*/
0 commit comments