mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
take care of the case when there is no 'attributes'
This commit is contained in:
@@ -107,7 +107,7 @@ license that can be found in the LICENSE file.
|
||||
};
|
||||
|
||||
HTMLElementElement.prototype.component = function(inUber) {
|
||||
var attributes = this.element.getAttribute("attributes").split(",");
|
||||
var attributes = (this.element.getAttribute('attributes') || '').split(',');
|
||||
//var events = this.getAttribute("events");
|
||||
this.lifecycle({
|
||||
shadowRootCreated: function(inRoot) {
|
||||
|
||||
Reference in New Issue
Block a user