Commit 2c1d1e6e authored by Akikonata's avatar Akikonata

changed module

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