@@ -25,7 +25,7 @@ function getId(port) {
2525function initInstance ( msg , port ) {
2626 const id = getId ( port ) ;
2727 tabConnections [ id ] = port ;
28- store . liftedStore . instances [ id ] = msg . instance ;
28+ store . instances [ id ] = msg . instance ;
2929 store . id = id ;
3030 if ( typeof id === 'number' ) chrome . pageAction . show ( id ) ;
3131 if ( isMonitored ) return { type : 'START' } ;
@@ -39,8 +39,8 @@ function disconnect(port) {
3939 const id = getId ( port ) ;
4040 delete tabConnections [ id ] ;
4141 if ( panelConnections [ id ] ) panelConnections [ id ] . postMessage ( naMessage ) ;
42- if ( window . store . liftedStore . instances [ id ] ) {
43- delete window . store . liftedStore . instances [ id ] ;
42+ if ( window . store . instances [ id ] ) {
43+ delete window . store . instances [ id ] ;
4444 window . store . liftedStore . deleteInstance ( id ) ;
4545 }
4646}
@@ -52,7 +52,7 @@ onConnect(undefined, {
5252} , panelConnections , disconnect ) ;
5353
5454function handleInstancesChanged ( instance , name ) {
55- window . store . liftedStore . instances [ instance ] = name || instance ;
55+ window . store . instances [ instance ] = name || instance ;
5656}
5757
5858// Receive message from content script
@@ -83,7 +83,7 @@ function messaging(request, sender, sendResponse) {
8383 }
8484
8585 request . id = tabId ;
86- const payload = updateState ( store , request , handleInstancesChanged , store . liftedStore . instance ) ;
86+ const payload = updateState ( store , request , handleInstancesChanged , store . instance ) ;
8787 if ( ! payload ) return true ;
8888
8989 // Relay the message to the devTools panel
0 commit comments