mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-16 11:33:48 +00:00
move getters before dispatch
This commit is contained in:
parent
2a4c4ead15
commit
c07d6f3fb3
1 changed files with 3 additions and 3 deletions
|
|
@ -22,12 +22,12 @@ function CoreTransport() {
|
|||
this.off = function(name, listener) {
|
||||
events.off(name, listener);
|
||||
};
|
||||
this.dispatch = function(action, model) {
|
||||
return core.dispatch(action, model);
|
||||
};
|
||||
this.getState = function(model) {
|
||||
return core.get_state(model);
|
||||
};
|
||||
this.dispatch = function(action, model) {
|
||||
return core.dispatch(action, model);
|
||||
};
|
||||
this.free = function() {
|
||||
core.free();
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue