dom-render
Advanced tools
Comparing version 1.0.23 to 1.0.24
@@ -291,2 +291,8 @@ 'use strict'; | ||
}); | ||
this.changeVar(obj, childNodes, undefined); | ||
var elements = Array.from(childNodes).filter(function (it) { return it.nodeType === 1; }).map(function (it) { return it; }); | ||
elements.forEach(function (it) { | ||
var _a; | ||
(_a = config === null || config === void 0 ? void 0 : config.applyEvents) === null || _a === void 0 ? void 0 : _a.filter(function (ta) { return it.getAttribute(ta.attrName); }).forEach(function (ta) { return ta.callBack(it, it.getAttribute(ta.attrName), obj); }); | ||
}); | ||
}; | ||
@@ -293,0 +299,0 @@ class_1.prototype.changeVar = function (obj, elements, varName) { |
@@ -91,2 +91,8 @@ "use strict"; | ||
}); | ||
this.changeVar(obj, childNodes, undefined); | ||
var elements = Array.from(childNodes).filter(function (it) { return it.nodeType === 1; }).map(function (it) { return it; }); | ||
elements.forEach(function (it) { | ||
var _a; | ||
(_a = config === null || config === void 0 ? void 0 : config.applyEvents) === null || _a === void 0 ? void 0 : _a.filter(function (ta) { return it.getAttribute(ta.attrName); }).forEach(function (ta) { return ta.callBack(it, it.getAttribute(ta.attrName), obj); }); | ||
}); | ||
}; | ||
@@ -93,0 +99,0 @@ class_1.prototype.changeVar = function (obj, elements, varName) { |
{ | ||
"name": "dom-render", | ||
"version": "1.0.23", | ||
"version": "1.0.24", | ||
"main": "DomRender.js", | ||
@@ -5,0 +5,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
113938
2307