adjust registering ui module before extension module

This commit is contained in:
andyque 2014-09-15 09:46:07 +08:00
parent 6bcab3b05d
commit 2f85310348
2 changed files with 4 additions and 2 deletions

View File

@ -17,8 +17,9 @@ int lua_module_register(lua_State* L)
register_network_module(L);
register_cocosbuilder_module(L);
register_cocostudio_module(L);
register_extension_module(L);
//we must register ui module before extension module
register_ui_moudle(L);
register_extension_module(L);
register_spine_module(L);
register_cocos3d_module(L);
return 1;

View File

@ -17,8 +17,9 @@ int lua_module_register(lua_State* L)
register_cocosdenshion_module(L);
register_cocosbuilder_module(L);
register_cocostudio_module(L);
register_extension_module(L);
//we must register ui module before extention module
register_ui_moudle(L);
register_extension_module(L);
register_spine_module(L);
register_cocos3d_module(L);
return 1;