summaryrefslogtreecommitdiff
path: root/resources/src/dom-level2-skip.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/src/dom-level2-skip.js')
-rw-r--r--resources/src/dom-level2-skip.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/src/dom-level2-skip.js b/resources/src/dom-level2-skip.js
new file mode 100644
index 00000000..484c295e
--- /dev/null
+++ b/resources/src/dom-level2-skip.js
@@ -0,0 +1,6 @@
+/*!
+ * Skip function for dom-level2-shim module.
+ *
+ * Tests for window.Node because that's the only thing that this shim is adding.
+ */
+return !!window.Node;