native-document 1.0.105 → 1.0.107
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.
|
@@ -3375,6 +3375,7 @@ var NativeDocument = (function (exports) {
|
|
|
3375
3375
|
ElementCreator.bindTextNode(textNode, callbackOrProperty(...data));
|
|
3376
3376
|
}, 'value');
|
|
3377
3377
|
};
|
|
3378
|
+
this.text = this.value;
|
|
3378
3379
|
this.attr = (fn) => {
|
|
3379
3380
|
return createBinding(fn, 'attributes');
|
|
3380
3381
|
};
|
|
@@ -4895,7 +4896,7 @@ var NativeDocument = (function (exports) {
|
|
|
4895
4896
|
|
|
4896
4897
|
let buildItem = createAndCache;
|
|
4897
4898
|
const selectBuildStrategy = (action = null) => {
|
|
4898
|
-
if(CREATE_AND_CACHE_ACTIONS.
|
|
4899
|
+
if(CREATE_AND_CACHE_ACTIONS.has(action)) {
|
|
4899
4900
|
buildItem = isIndexRequired ? createWithIndexAndCache : createAndCache;
|
|
4900
4901
|
return;
|
|
4901
4902
|
}
|