Permalink
Browse files

isFragment(el)

  • Loading branch information...
1 parent d35cd85 commit 2d0a1b5d69019f7262e5e3050e7dbabdd20307da @marcuswestin committed Jun 21, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 isFragment.js
View
@@ -0,0 +1,3 @@
+module.exports = function isFragment(node) {
+ return !!(node && node.nodeType === 11)
+}

0 comments on commit 2d0a1b5

Please sign in to comment.