Commit c54b4a66 authored by Akikonata's avatar Akikonata

_options

parent 72c028c2
// 模块声明周期维护
kity.extendClass( Minder, {
_initModules: function ( option ) {
this.option = option;
_initModules: function () {
this._commands = {};
this._query = {};
var _modules = KityMinder.getModules();
......@@ -12,7 +11,7 @@ kity.extendClass( Minder, {
}
return _list;
} )();
var _configModules = option.modules || _modulesList;
var _configModules = this._options.modules || _modulesList;
if ( _modules ) {
var me = this;
for ( var i = 0; i < _configModules.length; i++ ) {
......
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