From 7257c7bbb7c79e42e05ecc171686c8977bf2f3d9 Mon Sep 17 00:00:00 2001 From: "Scott J. Miles" Date: Tue, 24 Sep 2013 22:29:23 -0700 Subject: [PATCH] remove vestigial implementation of chainObject --- src/declaration/prototype.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/declaration/prototype.js b/src/declaration/prototype.js index c128a31246..14d52afb5e 100644 --- a/src/declaration/prototype.js +++ b/src/declaration/prototype.js @@ -10,21 +10,6 @@ var api = scope.api; var isBase = scope.isBase; var extend = scope.extend; - - // returns a prototype that chains to or HTMLElement - - // TODO(sjmiles): duplicated in attributes.js - if (Object.__proto__) { - var chainObject = function(object, inherited) { - if (object && inherited && object !== inherited) { - object.__proto__ = inherited; - } - } - } else { - chainObject = function(object, inherited) { - throw "Fix chainObject for IE"; - } - } // prototype api