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 de76012 commit 0f3440d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x-meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
if (this.id && this.id !== 'meta') {
this.resolveImportPath();
this.resolveCategory();
this.idChanged();
this.register(this.id);
}
this.updateProperties();
},
Expand Down Expand Up @@ -57,9 +57,9 @@
this.categories.push(pm);
}
},
idChanged: function(inOld) {
this.unregister(this, inOld);
if (this.id && this.id !== 'meta') {
register: function(id, old) {
this.unregister(this, old);
if (id && id !== 'meta') {
this.register(this);
}
},
Expand Down

0 comments on commit 0f3440d

Please sign in to comment.