Skip to content

Commit

Permalink
Merge pull request #44 from reqshark/master
Browse files Browse the repository at this point in the history
remove unused code
  • Loading branch information
dominictarr committed Oct 24, 2015
2 parents f4d37dd + eb6f827 commit 9a84a6f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ function isNode (el) {
return el && el.nodeName && el.nodeType
}

function isText (el) {
return el && el.nodeName === '#text' && el.nodeType == 3
}

function forEach (arr, fn) {
if (arr.forEach) return arr.forEach(fn)
for (var i = 0; i < arr.length; i++) fn(arr[i], i)
Expand Down

0 comments on commit 9a84a6f

Please sign in to comment.