diff --git a/CCBoot.js b/CCBoot.js index 0cbf9d6da3..65e63c47b5 100644 --- a/CCBoot.js +++ b/CCBoot.js @@ -1674,6 +1674,17 @@ cc._initSys = function (config, CONFIG_KEY) { // N/A in cocos2d-html5 }; + /** + * cleanScript the singal JS file + * @memberof cc.sys + * @name cleanScript + * @param {String} jsfile + * @function + */ + sys.cleanScript = function (jsfile) { + // N/A in cocos2d-html5 + }; + /** * Dump system informations * @memberof cc.sys @@ -2035,6 +2046,13 @@ cc.game = /** @lends cc.game# */{ self._paused = false; }, + /** + * Run game. + */ + restart: function () { + //window.location.href = window.location.href; + }, + /** * Run game. */