diff options
author | Ben Burwell <ben.burwell@trifecta.com> | 2016-09-14 14:56:14 -0400 |
---|---|---|
committer | Ben Burwell <ben.burwell@trifecta.com> | 2016-09-14 14:56:14 -0400 |
commit | 7ce57c859ab914d65df9c659e1a6ef3fde79c63c (patch) | |
tree | 369333e87089337785b9c1d837eb5681cb4ec476 /lib/util.js | |
parent | 318be9790fa3a3b9cfe36c2e5cc186f0e1666ec3 (diff) |
Consolidate into a single library
Diffstat (limited to 'lib/util.js')
-rw-r--r-- | lib/util.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/util.js b/lib/util.js deleted file mode 100644 index 3c6857c..0000000 --- a/lib/util.js +++ /dev/null @@ -1,13 +0,0 @@ -HTMLCollection.prototype.map = function(fn) { - var results = []; - for (var idx = 0; idx < this.length; idx++) { - results.push(fn(this.item(idx))); - } - return results; -}; - -HTMLCollection.prototype.forEach = function(fn) { - for (var idx = 0; idx < this.length; idx++) { - fn(this.item(idx)); - } -}; |