mirror of https://github.com/axmolengine/axmol.git
modify copy resource to res/resjs
This commit is contained in:
parent
707e9d4d7b
commit
f9df298401
|
@ -96,6 +96,7 @@ cc.game.onStart = function(){
|
|||
searchPaths.push('script');
|
||||
searchPaths.push('src');
|
||||
var paths = [
|
||||
'res/resjs',
|
||||
'res',
|
||||
'res/scenetest',
|
||||
'res/scenetest/ArmatureComponentTest',
|
||||
|
|
|
@ -28,7 +28,7 @@ var CocosBuilderTestScene = TestScene.extend({
|
|||
runThisTest:function(){
|
||||
if (cc.sys.isNative)
|
||||
{
|
||||
cc.BuilderReader.setResourcePath("res/");
|
||||
cc.BuilderReader.setResourcePath("res/resjs/");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@ cc.BuilderReader.registerController("HelloCocosBuilderLayer", {
|
|||
_openTest : function(ccbFileName) {
|
||||
if (cc.sys.isNative)
|
||||
{
|
||||
cc.BuilderReader.setResourcePath("res/");
|
||||
cc.BuilderReader.setResourcePath("res/resjs/");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue