From d58d58156e18fdc8393d44b64577bb847d0b8a63 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 28 Feb 2014 00:13:46 -0800 Subject: [PATCH] chore: remove unused Document.prototype.contains polyfill --- src/NodeBind.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/NodeBind.js b/src/NodeBind.js index 9691f80..1604050 100644 --- a/src/NodeBind.js +++ b/src/NodeBind.js @@ -26,15 +26,6 @@ } - // IE does not support have Document.prototype.contains. - if (typeof document.contains != 'function') { - Document.prototype.contains = function(node) { - if (node === this || node.parentNode === this) - return true; - return this.documentElement.contains(node); - } - } - Node.prototype.bind = function(name, observable) { console.error('Unhandled binding to Node: ', this, name, observable); };