@erickmerchant/framework
Advanced tools
Comparing version 44.4.1 to 44.5.0
export const createApp = (state) => { | ||
let willCallView = false | ||
let view | ||
const views = [] | ||
@@ -13,5 +13,3 @@ const callView = () => { | ||
if (view) { | ||
view(state) | ||
} | ||
views.map((view) => view(state)) | ||
}) | ||
@@ -22,3 +20,3 @@ } | ||
render(v) { | ||
view = v | ||
views.push(v) | ||
@@ -25,0 +23,0 @@ callView() |
{ | ||
"name": "@erickmerchant/framework", | ||
"version": "44.4.1", | ||
"version": "44.5.0", | ||
"description": "A front-end framework.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/erickmerchant/framework#readme", |
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
16958
552