Comparing version 0.2.0 to 0.3.0
@@ -17,2 +17,3 @@ | ||
console.log("Found book with title: '%s'", book.attr.title); | ||
console.log("==> The <book> tag started at position %s and the complete element ended at line %s, column %s, position %s.", book.startTagPosition, book.line, book.column, book.position); | ||
}); | ||
@@ -19,0 +20,0 @@ |
@@ -37,2 +37,3 @@ (function () { | ||
this.position = parser.position; | ||
this.startTagPosition = parser.startTagPosition; | ||
} | ||
@@ -39,0 +40,0 @@ |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"main": "./index", | ||
@@ -12,0 +12,0 @@ "dependencies": { |
@@ -39,2 +39,3 @@ | ||
* `firstChild`, `lastChild` - pretty much what it sounds like; null if no children | ||
* `line`, `column`, `position`, `startTagPosition` - information about the element's original position in the XML string. | ||
@@ -41,0 +42,0 @@ Each member defaults to a sensible "empty" value like `{}` for `attr`, `[]` for `children`, and `""` for `val`. |
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
16372
223
120