Permalink
Browse files

Merge pull request #400 from dingpinglv/iss1339_ImproveTemplate

fixed #1339 Improve template for version release
  • Loading branch information...
2 parents ab59e5c + 09bbcf4 commit 0f42f109cd3a3b2230150116c936a10e3d8c5891 @linshun linshun committed Jun 20, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 HelloWorld/cocos2d.js
View
@@ -87,12 +87,7 @@ cc.loadjs = function (filename) {
}
};
-var menuType = menuType || "DOM";
-if (menuType == "DOM") {
- cc.loadjs('../lib/Cocos2d-html5-dommenu-min.js');
-} else {
- cc.loadjs('../lib/Cocos2d-html5-canvasmenu-min.js');
-}
+cc.loadjs('../lib/Cocos2d-html5-canvasmenu-min.js');
// User files
cc.loadjs('Classes/AppDelegate.js');//17

0 comments on commit 0f42f10

Please sign in to comment.