j-templates 7.0.21 → 7.0.23

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.
@@ -68,7 +68,7 @@ function CreatePropertyAssignment(target) {
68
68
  return function AssignProperty(next) {
69
69
  if (next === null) {
70
70
  for (let x = 0; x < last.length; x++)
71
- last[x][2](target, null);
71
+ last[x][2] !== null && last[x][2](target, null);
72
72
  if (last.length > 0)
73
73
  last.splice(0);
74
74
  return;
package/Node/vNode.js CHANGED
@@ -109,6 +109,7 @@ function InitNode(vnode) {
109
109
  }
110
110
  if (componentConstructor) {
111
111
  vnode.component = new componentConstructor(vnode);
112
+ vnode.component.Bound();
112
113
  const componentScope = Store_1.ObservableScope.Create(function () {
113
114
  let nodes = injector_1.Injector.Scope(vnode.injector, function () { return vnode.component.Template(); });
114
115
  if (!Array.isArray(nodes))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "j-templates",
3
- "version": "7.0.21",
3
+ "version": "7.0.23",
4
4
  "description": "j-templates",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/TypesInCode/jTemplates",