Skip to content
Permalink
Browse files

feat(syntagme): add getState method

  • Loading branch information...
rymizuki committed Apr 7, 2016
1 parent 714db01 commit bb705b2427f8b0d4eca1a37a7a0e96e9cf48f4eb
Showing with 8 additions and 0 deletions.
  1. +3 −0 script/syntagme/index.js
  2. +5 −0 syntagme.js
@@ -27,6 +27,9 @@ class Syntagme {
if (cb) cb.call(null)
})
}
getState () {
return this.state.getState()
}
reducer (reducer) {
return this.store.reducer(reducer)
}
@@ -118,6 +118,11 @@ return /******/ (function(modules) { // webpackBootstrap
if (cb) cb.call(null);
});
}
}, {
key: 'getState',
value: function getState() {
return this.state.getState();
}
}, {
key: 'reducer',
value: function reducer(_reducer) {

0 comments on commit bb705b2

Please sign in to comment.
You can’t perform that action at this time.