mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
trap null prototype in call to HTMLElementElement.component
This commit is contained in:
@@ -237,7 +237,7 @@ license that can be found in the LICENSE file.
|
||||
this.attrObserver = new AttrObserver(this);
|
||||
}
|
||||
});
|
||||
var p = inUber.prototype;
|
||||
var p = inUber.prototype || {};
|
||||
// attach some API
|
||||
// TODO(sjmiles): this is probably not the best way to do this;
|
||||
// probably better to insert another link in the prototype chain
|
||||
|
||||
Reference in New Issue
Block a user