From 5277ff45a959eb661beacb1696d3bee8c8d0cd1c Mon Sep 17 00:00:00 2001 From: Yerko Palma Date: Fri, 23 Mar 2018 09:23:28 -0300 Subject: [PATCH] removed unused 'has' function (#31) --- index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.js b/index.js index cf19752..6347cb8 100644 --- a/index.js +++ b/index.js @@ -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',