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

Commit

Permalink
adapt to new mdv api.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Jan 16, 2014
1 parent fbb29e1 commit f0ae7b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/instance/mdv.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
var mdv = {
syntax: syntax,
instanceTemplate: function(template) {
template.bindingDelegate = this.syntax;
return template.createInstance(this);
return template.createInstance(this, this.syntax);
},
bind: function(name, observable) {
// note: binding is a prepare signal. This allows us to be sure that any
Expand Down

0 comments on commit f0ae7b8

Please sign in to comment.