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

Commit

Permalink
fix event bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Apr 8, 2014
1 parent b80caf7 commit dd35960
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions elements/x-design-host/x-design-host.html
Expand Up @@ -69,10 +69,11 @@
// absorb template
var template = this.polymerElement.querySelector('template');
if (template) {
template.bindingDelegate = this.syntax;
// make imports go...
this.loadElementImports(template.content, function() {
this.appendChild(template.createInstance(this.model));
// TODO(sorvell): note, event handlers will work if we use a
// raw PolymerExpressions here.
this.appendChild(template.createInstance(this.model, this.syntax));
this.meta.ensureMeta(this);
this.marshalNodeReferences(this);
callback && callback();
Expand Down

0 comments on commit dd35960

Please sign in to comment.