From f0ae7b8da99ab94bc92f4a62329c67387da7d4c0 Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Thu, 16 Jan 2014 10:31:30 -0800 Subject: [PATCH] adapt to new mdv api. --- src/instance/mdv.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/instance/mdv.js b/src/instance/mdv.js index b4bf7a5..9e92217 100644 --- a/src/instance/mdv.js +++ b/src/instance/mdv.js @@ -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