More comments cleanup

This commit is contained in:
Robin North
2018-02-01 09:16:01 +00:00
parent a893dfdc3b
commit d0d308191f
5 changed files with 6 additions and 10 deletions

View File

@@ -4,6 +4,6 @@ module.exports = function(els, fn, context) {
if (els instanceof HTMLCollection || els instanceof NodeList || els instanceof Array) {
return Array.prototype.forEach.call(els, fn, context)
}
// assume simple dom element
// assume simple DOM element
return fn.call(context, els)
}