Commit 82bfdd81 authored by Akikonata's avatar Akikonata

dev

parent 313cfc12
...@@ -55,8 +55,8 @@ kity.extendClass( KityMinder, ( function () { ...@@ -55,8 +55,8 @@ kity.extendClass( KityMinder, ( function () {
//执行模块初始化,抛出后续处理对象 //执行模块初始化,抛出后续处理对象
var moduleDeals = _modules[ key ].call( me ); var moduleDeals = _modules[ key ].call( me );
if ( moduleDeals.ready ) { if ( moduleDeals.initial ) {
moduleDeals.ready.call( me ); moduleDeals.initial.call( me );
} }
//command加入命令池子 //command加入命令池子
......
...@@ -72,6 +72,9 @@ KityMinder.registerModule( "RenderModule", function () { ...@@ -72,6 +72,9 @@ KityMinder.registerModule( "RenderModule", function () {
// } ); // } );
return { return {
"initial": function ( config ) {
},
"commands": { "commands": {
//todo:command字典,name-action 键值对模式编写 //todo:command字典,name-action 键值对模式编写
"renderroot": RenderRootCommand "renderroot": RenderRootCommand
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment