j-templates 7.0.11 → 7.0.12

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.
@@ -144,7 +144,7 @@ exports.DOMNodeConfig = {
144
144
  reconcileChildren(target, children) {
145
145
  if (!target.firstChild) {
146
146
  for (let x = 0; x < children.length; x++)
147
- target.insertBefore(children[x], null);
147
+ target.appendChild(children[x]);
148
148
  return;
149
149
  }
150
150
  if (children.length === 0) {
@@ -173,6 +173,6 @@ exports.DOMNodeConfig = {
173
173
  while (target.lastChild !== children[x - 1])
174
174
  target.removeChild(target.lastChild);
175
175
  for (; x < children.length; x++)
176
- target.insertBefore(children[x], null);
176
+ target.appendChild(children[x]);
177
177
  }
178
178
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "j-templates",
3
- "version": "7.0.11",
3
+ "version": "7.0.12",
4
4
  "description": "j-templates",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/TypesInCode/jTemplates",