aboutsummaryrefslogtreecommitdiff
path: root/lib/html-paths.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-07 20:44:20 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-07 20:44:20 +0100
commitbaf9808eae3441de70a00cd043e10e0ebf06b7c0 (patch)
tree869bcc8376caf7b730f501472d507e816733e565 /lib/html-paths.js
parentb5768bced10c6dafe8bc621c6ef01aa0bd9d975c (diff)
Add HTML path for ignoring elements
Diffstat (limited to 'lib/html-paths.js')
-rw-r--r--lib/html-paths.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/html-paths.js b/lib/html-paths.js
index 4021887..5a00cd8 100644
--- a/lib/html-paths.js
+++ b/lib/html-paths.js
@@ -67,3 +67,8 @@ Element.prototype.wrapNodes = function wrapNodes(nodes) {
};
exports.empty = elements([]);
+exports.ignore = {
+ wrap: function() {
+ return [];
+ }
+};