hyperapp-redux-devtools
Advanced tools
Comparing version 1.0.7 to 1.0.8
11
index.js
@@ -43,2 +43,13 @@ var { createStore } = require("redux"); | ||
}, | ||
resolve(state, actions, result) { | ||
if (typeof result === "function") { | ||
const action = firedActions.pop() | ||
return update => { | ||
result(updateResult => { | ||
firedActions.push(action) | ||
update(updateResult) | ||
}) | ||
} | ||
} | ||
}, | ||
update: function(state, actions, data, emit) { | ||
@@ -45,0 +56,0 @@ if (firedActions.length > 0 && store !== undefined) { |
{ | ||
"name": "hyperapp-redux-devtools", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "hyperapp mixin to utilize redux-devtools-extension for time travel debugging capabilities", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5861
59