|
|
@ -28,7 +28,6 @@ |
|
|
import defaults from './config/config'; |
|
|
import defaults from './config/config'; |
|
|
import Panel from './model/Panel'; |
|
|
import Panel from './model/Panel'; |
|
|
import Panels from './model/Panels'; |
|
|
import Panels from './model/Panels'; |
|
|
import PanelView from './view/PanelView'; |
|
|
|
|
|
import PanelsView from './view/PanelsView'; |
|
|
import PanelsView from './view/PanelsView'; |
|
|
|
|
|
|
|
|
export default () => { |
|
|
export default () => { |
|
|
@ -233,6 +232,13 @@ export default () => { |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
destroy() { |
|
|
|
|
|
panels.reset(); |
|
|
|
|
|
panels.stopListening(); |
|
|
|
|
|
PanelsViewObj.remove(); |
|
|
|
|
|
[c, panels, PanelsViewObj].forEach(i => (i = {})); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
Panel |
|
|
Panel |
|
|
}; |
|
|
}; |
|
|
}; |
|
|
}; |
|
|
|