File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " esp-js-devtools" ,
3- "version" : " 0.0.11 " ,
3+ "version" : " 0.0.12 " ,
44 "description" : " Evented State Processor (ESP) dev tools" ,
55 "main" : " dist/esp-js-devtools.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -26,16 +26,17 @@ class Controller {
2626 this . _model . dispose ( ) ;
2727 this . _view . dispose ( ) ;
2828 }
29- closeView ( ) {
30- this . _view . dispose ( ) ;
31- this . _view = null ;
32- }
3329 _openDevToolsOnKeyboardShortcut ( event ) {
3430 event = event || window . event ;
3531 if ( event . keyCode == 68 && event . ctrlKey && event . altKey ) {
3632 if ( this . _view === null ) {
3733 this . _view = new DevToolsView ( DevToolsModel . modelId , this . _router ) ;
3834 this . _view . start ( ) ;
35+ this . _view . addDisposable (
36+ ( ) => {
37+ this . _view = null ;
38+ }
39+ ) ;
3940 }
4041 }
4142 }
You can’t perform that action at this time.
0 commit comments