Comparing version 0.6.2 to 0.6.3
@@ -37,3 +37,3 @@ var sax = require("sax"); | ||
this.namespaces = []; | ||
this.children = []; | ||
this._children = []; | ||
} | ||
@@ -139,2 +139,5 @@ | ||
// #region Children | ||
get children() { | ||
return this._children; | ||
} | ||
@@ -150,4 +153,3 @@ createChild(ns,name) { | ||
var child = new Node(name, this); | ||
this.addChild(child); | ||
return child; | ||
return this.addChild(child); | ||
} | ||
@@ -157,2 +159,3 @@ | ||
this.children.push(c); | ||
return c; | ||
} | ||
@@ -159,0 +162,0 @@ |
{ | ||
"name": "xmlobject", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "Convert javascript objects to and from xml strings.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
11059
216