Skip to content

Commit

Permalink
removed unused 'has' function (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
YerkoPalma authored and goto-bus-stop committed Mar 23, 2018
1 parent 4eeda2c commit 5277ff4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.js
Expand Up @@ -272,9 +272,6 @@ function quot (state) {
return state === ATTR_VALUE_SQ || state === ATTR_VALUE_DQ
}

var hasOwn = Object.prototype.hasOwnProperty
function has (obj, key) { return hasOwn.call(obj, key) }

var closeRE = RegExp('^(' + [
'area', 'base', 'basefont', 'bgsound', 'br', 'col', 'command', 'embed',
'frame', 'hr', 'img', 'input', 'isindex', 'keygen', 'link', 'meta', 'param',
Expand Down

0 comments on commit 5277ff4

Please sign in to comment.