Inline small functions

This commit is contained in:
Behind The Math committed 2018-02-01 13:58:34 -05:00
1 parent d0d308191f
commit 2ec4c14a46
5 files changed
+13 -20

No files matched your search

-3
View File
@@ -1,3 +0,0 @@
module.exports = function(el) {
return el.querySelectorAll(this.options.elements)
}
-7
View File
@@ -1,7 +0,0 @@
var forEachEls = require("../foreach-els")
var parseElement = require("./parse-element")
module.exports = function(el) {
forEachEls(this.getElements(el), parseElement, this)
}
-3
View File
@@ -1,3 +0,0 @@
module.exports = function(el) {
this.parseDOM(el || document)
}
-3
View File
@@ -1,3 +0,0 @@
module.exports = function() {
window.location.reload()
}