Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
change to explicit registration system since we can't rely on observi…
Browse files Browse the repository at this point in the history
…ng native property changes
  • Loading branch information
sorvell committed Apr 10, 2014
1 parent 340c089 commit 430d655
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions polymer-meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
*/
type: 'default',
ready: function() {
this.idChanged();
this.register(this.id);
},
get metaArray() {
var t = this.type;
Expand All @@ -77,10 +77,10 @@
}
return metaData[t];
},
idChanged: function(old) {
if (this.id && this.id !== SKIP_ID) {
register: function(id, old) {
if (id && id !== SKIP_ID) {
this.unregister(this, old);
this.metaData[this.id] = this;
this.metaData[id] = this;
this.metaArray.push(this);
}
},
Expand Down

0 comments on commit 430d655

Please sign in to comment.