Inline small functions

This commit is contained in:
Behind The Math
2018-02-01 13:58:34 -05:00
parent d0d308191f
commit 2ec4c14a46
5 changed files with 13 additions and 20 deletions

View File

@@ -1,3 +0,0 @@
module.exports = function(el) {
return el.querySelectorAll(this.options.elements)
}

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)
}

View File

@@ -1,3 +0,0 @@
module.exports = function(el) {
this.parseDOM(el || document)
}

View File

@@ -1,3 +0,0 @@
module.exports = function() {
window.location.reload()
}