sunrize 1.0.47 → 1.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -121,13 +121,18 @@ module .exports = new class Library extends Dialog
|
|
|
121
121
|
|
|
122
122
|
const
|
|
123
123
|
HTMLSupport = X3D .require ("x_ite/Parser/HTMLSupport"),
|
|
124
|
-
input = this .input .val () .toUpperCase () .trim ()
|
|
125
|
-
|
|
124
|
+
input = this .input .val () .toUpperCase () .trim ();
|
|
125
|
+
|
|
126
|
+
try
|
|
127
|
+
{
|
|
128
|
+
const ConcreteNode = this .browser .getConcreteNode (HTMLSupport .getNodeTypeName (input))
|
|
126
129
|
|
|
127
|
-
if (ConcreteNode)
|
|
128
130
|
this .createNode (ConcreteNode .typeName, ConcreteNode .componentName)
|
|
129
|
-
|
|
131
|
+
}
|
|
132
|
+
catch
|
|
133
|
+
{
|
|
130
134
|
this .createNode (first .text (), component .attr ("name"))
|
|
135
|
+
}
|
|
131
136
|
}
|
|
132
137
|
|
|
133
138
|
update ()
|