Skip to content

Commit

Permalink
[remove] all() getter from Store
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed Mar 19, 2015
1 parent 41632c1 commit 99d5e9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/Microcosm.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class Microcosm {
for (let s in this.stores) {
this.stores[s].send(payload)
}
this._heart.pump()
this.pump()
}

addActions(actions) {
Expand Down
4 changes: 0 additions & 4 deletions src/Store.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ export default class Store {
// noop
}

get all() {
return this.state
}

send({ type, body }) {
if (this._tasks && type in this._tasks) {
this._tasks[type].call(this, body)
Expand Down

0 comments on commit 99d5e9d

Please sign in to comment.