diff --git a/x-meta.html b/x-meta.html
index 62b7202..cb046f9 100644
--- a/x-meta.html
+++ b/x-meta.html
@@ -25,7 +25,7 @@
if (this.id && this.id !== 'meta') {
this.resolveImportPath();
this.resolveCategory();
- this.idChanged();
+ this.register(this.id);
}
this.updateProperties();
},
@@ -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);
}
},