bti-dom-utils
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -11,3 +11,4 @@ /** @module dom-utils */ | ||
*/ | ||
var Cursor = function(node, index) { | ||
var Cursor = | ||
exports.Cursor = function(node, index) { | ||
if (!isNode(node)) throw new Error("Expecting node for cursor."); | ||
@@ -14,0 +15,0 @@ this.node = node; |
{ | ||
"name": "bti-dom-utils", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A semi-random collection of useful DOM tools.", | ||
@@ -5,0 +5,0 @@ "author": "Beneath the Ink <info@beneaththeink.com>", |
@@ -19,4 +19,8 @@ # DOM Utilities | ||
This library is just a plain object with several methods on it. | ||
This library is just a plain object with several methods on it. Here is quick example of usage. | ||
```javascript | ||
DOMUtils.contains(document, document.body); // true | ||
``` | ||
## Documentation | ||
@@ -23,0 +27,0 @@ |
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
108582
947
47