Comparing version 0.0.1 to 0.0.2
@@ -8,3 +8,3 @@ let states = [{}]; | ||
export default class Store { | ||
module.exports = class Store { | ||
constructor () { | ||
@@ -42,3 +42,3 @@ Object.assign(this, { | ||
} | ||
} | ||
}; | ||
@@ -48,3 +48,3 @@ function alter (action) { | ||
for (let middleware of this.middlewares) { | ||
alter_chain.then(action => middleware(action)); | ||
alter_chain = alter_chain.then(action => middleware(action)); | ||
} | ||
@@ -88,2 +88,1 @@ return alter_chain; | ||
} | ||
// devide get and post in reducers |
{ | ||
"name": "delux", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Simplified combinition of Flux Redux", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
2444
79