@erickmerchant/framework
Advanced tools
Comparing version 10.0.2 to 10.0.3
@@ -20,4 +20,10 @@ module.exports = function ({target, store, component, diff, options, raf}) { | ||
function dispatch () { | ||
state = stores.reduce((state, store) => store(state, ...arguments), state) | ||
state = stores.reduce((state, store) => { | ||
const args = (arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments)) | ||
args.unshift(state) | ||
return store.apply(null, args) | ||
}, state) | ||
if (!rafCalled) { | ||
@@ -24,0 +30,0 @@ rafCalled = true |
{ | ||
"name": "@erickmerchant/framework", | ||
"version": "10.0.2", | ||
"version": "10.0.3", | ||
"description": "A simple data down, actions up framework.", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7523
108