Comparing version 1.1.2 to 1.1.3
@@ -355,3 +355,3 @@ (function (root, factory) { if (typeof define === 'function' && define.amd) { | ||
_item: function(element, value) { | ||
setForClass(element, value.constructor, value) | ||
//setForClass(element, value.constructor, value) | ||
} | ||
@@ -1557,7 +1557,7 @@ } | ||
function getForClass(element, Target) { | ||
var createInstance | ||
/*var createInstance | ||
while (element && !(createInstance = element.constructor.ownedClasses && element.constructor.ownedClasses.get(Target))) { | ||
element = element.parentNode || presumptiveParentMap.get(element) | ||
} | ||
if (createInstance) { | ||
/*if (createInstance) { | ||
var ownedInstances = element.ownedInstances || (element.ownedInstances = new lang.WeakMap()) | ||
@@ -1570,7 +1570,7 @@ var instance = ownedInstances.get(Target) | ||
return instance | ||
} | ||
}*/ | ||
} | ||
function setForClass(element, Target, instance) { | ||
var From = element.constructor | ||
/* var From = element.constructor | ||
var ownedClasses = From.ownedClasses || (From.ownedClasses = new lang.WeakMap()) | ||
@@ -1583,3 +1583,3 @@ var instanceMap = ownedClasses.get(Target) | ||
ownedInstances.set(Target, instance) | ||
instanceMap.set(element, instance) | ||
instanceMap.set(element, instance)*/ | ||
} | ||
@@ -1586,0 +1586,0 @@ |
{ | ||
"name": "alkali", | ||
"author": "Kris Zyp", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Reactivity with native JavaScript objects and HTML elements", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
970793