Commit 2c1d1e6e authored by Akikonata's avatar Akikonata

changed module

parent 2ea49a63
......@@ -42,5 +42,6 @@
}]
});
minder.execCommand( 'renderroot',minder);
minder.reset();
</script>
</html>
\ No newline at end of file
......@@ -48,10 +48,10 @@ kity.extendClass( Minder, {
destroy: function () {
var me = this;
var _modulesList = this._options.modules;
var _modules = this._modules;
var _modulesList = me._options.modules;
var _modules = me._modules;
//解除事件绑定
this._resetEvents();
me._resetEvents();
for ( var key in _modules ) {
if ( !_modules[ key ].destroy ) continue;
_modules[ key ].destroy.call( me );
......
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