Skip to content

Commit

Permalink
remove vestigial implementation of chainObject
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott J. Miles committed Sep 25, 2013
1 parent 401e71b commit 7257c7b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/declaration/prototype.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,6 @@
var api = scope.api;
var isBase = scope.isBase;
var extend = scope.extend;

// returns a prototype that chains to <tag> 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

Expand Down

0 comments on commit 7257c7b

Please sign in to comment.