@endorphinjs/template-runtime
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -7,2 +7,3 @@ 'use strict'; | ||
* Creates fast object | ||
* @param {Object} [proto] | ||
* @returns {Object} | ||
@@ -63,2 +64,3 @@ */ | ||
function changed(next, prev, prefix = '') { | ||
/** @type {Changes} */ | ||
const result = obj(); | ||
@@ -73,3 +75,3 @@ let dirty = false; | ||
prev: prev[p], | ||
next: next[p] | ||
current: next[p] | ||
}; | ||
@@ -76,0 +78,0 @@ } |
/** | ||
* Creates fast object | ||
* @param {Object} [proto] | ||
* @returns {Object} | ||
@@ -58,2 +59,3 @@ */ | ||
function changed(next, prev, prefix = '') { | ||
/** @type {Changes} */ | ||
const result = obj(); | ||
@@ -68,3 +70,3 @@ let dirty = false; | ||
prev: prev[p], | ||
next: next[p] | ||
current: next[p] | ||
}; | ||
@@ -71,0 +73,0 @@ } |
{ | ||
"name": "@endorphinjs/template-runtime", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "EndorphinJS template runtime, embedded with template bundles", | ||
@@ -5,0 +5,0 @@ "main": "./dist/runtime.cjs.js", |
@@ -326,3 +326,3 @@ import { Store } from './lib/store'; | ||
[key: string]: { | ||
next: any, | ||
current: any, | ||
prev: any | ||
@@ -329,0 +329,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
263988
3423