Comparing version 0.12.3 to 0.12.4
{ | ||
"name": "alkali", | ||
"author": "Kris Zyp", | ||
"version": "0.12.3", | ||
"version": "0.12.4", | ||
"description": "Reactivity with native JavaScript objects and HTML elements", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause", |
@@ -358,3 +358,3 @@ (function (root, factory) { if (typeof define === 'function' && define.amd) { | ||
var Class = PropertyClass || this.constructor[key] | ||
propertyVariable = new (Class && typeof Class === 'function' && Class.notifies ? Class : this.PropertyClass)() | ||
propertyVariable = new (Class && typeof Class === 'function' && Class.isPropertyClass ? Class : this.PropertyClass)() | ||
propertyVariable.key = key | ||
@@ -1682,9 +1682,2 @@ propertyVariable.parent = this | ||
Variable.noChange = noChange | ||
function addFlag(name) { | ||
Variable[name] = function(functionValue) { | ||
functionValue[name] = true | ||
} | ||
} | ||
addFlag(Variable, 'handlesContext') | ||
addFlag(Variable, 'handlesPromises') | ||
@@ -1953,2 +1946,3 @@ function objectUpdated(object) { | ||
})(key, value) | ||
value.isPropertyClass = true | ||
} else if (isGenerator(value)) { | ||
@@ -1955,0 +1949,0 @@ descriptor = getGeneratorDescriptor(value) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
848918
7922