Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
fix element references
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Apr 8, 2014
1 parent 30ed1c6 commit 04112c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion elements/x-design-host/x-design-host.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
this.treeInfo = {name: this.name, id: ''};
},

marshalNodeReferences: function(root) {
this.super(arguments);
this.model = this.model || {};
this.model.$ = this.$;
},

dumpTag: function(serializer, indent, tab) {
var indented = indent + tab, attrs = '';
var attrs = this.dumpAttributes();
Expand Down Expand Up @@ -69,7 +75,6 @@
this.appendChild(template.createInstance(this.model));
this.meta.ensureMeta(this);
this.marshalNodeReferences(this);
this.model.$ = this.$;
callback && callback();
}.bind(this));
} else if (callback) {
Expand Down

0 comments on commit 04112c5

Please sign in to comment.