electron-event-flux
Advanced tools
Comparing version 0.12.5 to 0.12.6
import StoreBase from 'event-flux/lib/StoreBase'; | ||
export default class MultiWinStore extends StoreBase { | ||
stores: any; | ||
init(): void; | ||
@@ -5,0 +4,0 @@ createWin(url: any, parentClientId: any, params: any): any; |
@@ -39,3 +39,3 @@ "use strict"; | ||
var _this = this; | ||
this.stores[winManagerStoreName].observe(function (state) { | ||
this.appStores[winManagerStoreName].observe(function (state) { | ||
_this.setState({ clientIds: state.clientIds }); | ||
@@ -42,0 +42,0 @@ }); |
{ | ||
"name": "electron-event-flux", | ||
"version": "0.12.5", | ||
"version": "0.12.6", | ||
"description": "Redux store which synchronizes between instances in multiple process", | ||
@@ -37,3 +37,3 @@ "main": "lib/index.js", | ||
"electron-store": "^2.0.0", | ||
"event-flux": "^0.9.3", | ||
"event-flux": "^0.9.4", | ||
"immutable": "^3.8.2", | ||
@@ -40,0 +40,0 @@ "json-immutable": "^0.4.0", |
@@ -17,6 +17,4 @@ import StoreBase from 'event-flux/lib/StoreBase'; | ||
export default class MultiWinStore extends StoreBase { | ||
stores: any; | ||
init() { | ||
this.stores[winManagerStoreName].observe((state) => { | ||
this.appStores[winManagerStoreName].observe((state) => { | ||
this.setState({ clientIds: state.clientIds }); | ||
@@ -23,0 +21,0 @@ }); |
165911
4081
Updatedevent-flux@^0.9.4