simple-boot-front
Advanced tools
Comparing version 1.0.72 to 1.0.73
{ | ||
"name": "simple-boot-front", | ||
"version": "1.0.72", | ||
"version": "1.0.73", | ||
"main": "SimpleApplication.js", | ||
@@ -76,3 +76,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"dom-render": "^1.0.33", | ||
"dom-render": "^1.0.34", | ||
"reflect-metadata": "^0.1.13", | ||
@@ -79,0 +79,0 @@ "simple-boot-core": "^1.0.20" |
@@ -86,7 +86,13 @@ "use strict"; | ||
var set = element.getAttribute('dr-set'); | ||
var any; | ||
if (set) { | ||
var comEvalTargetObj = {}; | ||
comEvalTargetObj[name] = componentObj; | ||
var script = "var " + name + " = this['" + name + "']; " + set + " "; | ||
ScriptUtils_1.ScriptUtils.eval(script, Object.assign(comEvalTargetObj, obj)); | ||
var comEvalTargetObj_1 = { '$attribute': any = {} }; | ||
element.getAttributeNames().forEach(function (it) { | ||
comEvalTargetObj_1['$attribute'][it] = element.getAttribute(it); | ||
}); | ||
comEvalTargetObj_1['$innerHTML'] = element.innerHTML; | ||
comEvalTargetObj_1['$element'] = element; | ||
comEvalTargetObj_1[name] = componentObj; | ||
var script = "var " + name + " = this['" + name + "']; var $element = this['$element']; var $innerHTML = this['$innerHTML']; var $attribute = this['$attribute']; " + set + " "; | ||
ScriptUtils_1.ScriptUtils.eval(script, Object.assign(comEvalTargetObj_1, obj)); | ||
} | ||
@@ -93,0 +99,0 @@ var componentOption = (0, Component_1.getComponent)(componentObj); |
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
49507
34
873
Updateddom-render@^1.0.34