diff options
Diffstat (limited to 'src/features/utils')
-rw-r--r-- | src/features/utils/ActionBinding.js | 4 | ||||
-rw-r--r-- | src/features/utils/FeatureStore.js | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/features/utils/ActionBinding.js b/src/features/utils/ActionBinding.js index 497aa071b..787166d44 100644 --- a/src/features/utils/ActionBinding.js +++ b/src/features/utils/ActionBinding.js | |||
@@ -24,6 +24,6 @@ export default class ActionBinding { | |||
24 | } | 24 | } |
25 | } | 25 | } |
26 | 26 | ||
27 | export const createActionBindings = actions => ( | 27 | export const createActionBindings = (actions) => ( |
28 | actions.map(a => new ActionBinding(a)) | 28 | actions.map((a) => new ActionBinding(a)) |
29 | ); | 29 | ); |
diff --git a/src/features/utils/FeatureStore.js b/src/features/utils/FeatureStore.js index 0bc10e176..4d4e217a9 100644 --- a/src/features/utils/FeatureStore.js +++ b/src/features/utils/FeatureStore.js | |||
@@ -16,11 +16,11 @@ export class FeatureStore { | |||
16 | } | 16 | } |
17 | 17 | ||
18 | _startActions(actions = this._actions) { | 18 | _startActions(actions = this._actions) { |
19 | actions.forEach(a => a.start()); | 19 | actions.forEach((a) => a.start()); |
20 | } | 20 | } |
21 | 21 | ||
22 | _stopActions(actions = this._actions) { | 22 | _stopActions(actions = this._actions) { |
23 | actions.forEach(a => a.stop()); | 23 | actions.forEach((a) => a.stop()); |
24 | } | 24 | } |
25 | 25 | ||
26 | // REACTIONS | 26 | // REACTIONS |
@@ -31,10 +31,10 @@ export class FeatureStore { | |||
31 | } | 31 | } |
32 | 32 | ||
33 | _startReactions(reactions = this._reactions) { | 33 | _startReactions(reactions = this._reactions) { |
34 | reactions.forEach(r => r.start()); | 34 | reactions.forEach((r) => r.start()); |
35 | } | 35 | } |
36 | 36 | ||
37 | _stopReactions(reactions = this._reactions) { | 37 | _stopReactions(reactions = this._reactions) { |
38 | reactions.forEach(r => r.stop()); | 38 | reactions.forEach((r) => r.stop()); |
39 | } | 39 | } |
40 | } | 40 | } |