From 99df2ea2b44eef1ce299aea7cdb769810c627f36 Mon Sep 17 00:00:00 2001 From: Jare Guo Date: Mon, 24 Jul 2017 20:39:44 +0800 Subject: [PATCH] deprecate engineDir in main.js --- native/templates/js-template-binary/main.js | 2 +- native/templates/js-template-default/main.js | 2 +- native/templates/js-template-link/main.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/native/templates/js-template-binary/main.js b/native/templates/js-template-binary/main.js index 1cc53ae4d2..5fb0eba84e 100755 --- a/native/templates/js-template-binary/main.js +++ b/native/templates/js-template-binary/main.js @@ -37,7 +37,7 @@ // 2 - Forced to use WebGL renderer, but this will be ignored on mobile browsers "engineDir" : "frameworks/cocos2d-html5/", - // In debug mode, if you use the whole engine to develop your game, you should specify its relative path with "engineDir", + // (Deprecated) In debug mode, if you use the whole engine to develop your game, you should specify its relative path with "engineDir", // but if you are using a single engine file, you can ignore it. "modules" : ["cocos2d"], diff --git a/native/templates/js-template-default/main.js b/native/templates/js-template-default/main.js index 95f14b8224..48cf0a9b02 100755 --- a/native/templates/js-template-default/main.js +++ b/native/templates/js-template-default/main.js @@ -32,7 +32,7 @@ // 2 - Forced to use WebGL renderer, but this will be ignored on mobile browsers "engineDir" : "frameworks/cocos2d-html5/", - // In debug mode, if you use the whole engine to develop your game, you should specify its relative path with "engineDir", + // (Deprecated) In debug mode, if you use the whole engine to develop your game, you should specify its relative path with "engineDir", // but if you are using a single engine file, you can ignore it. "modules" : ["cocos2d"], diff --git a/native/templates/js-template-link/main.js b/native/templates/js-template-link/main.js index 95f14b8224..48cf0a9b02 100755 --- a/native/templates/js-template-link/main.js +++ b/native/templates/js-template-link/main.js @@ -32,7 +32,7 @@ // 2 - Forced to use WebGL renderer, but this will be ignored on mobile browsers "engineDir" : "frameworks/cocos2d-html5/", - // In debug mode, if you use the whole engine to develop your game, you should specify its relative path with "engineDir", + // (Deprecated) In debug mode, if you use the whole engine to develop your game, you should specify its relative path with "engineDir", // but if you are using a single engine file, you can ignore it. "modules" : ["cocos2d"],