From 04e133a49b712f0b2a7aa327c7a2267ba2299f71 Mon Sep 17 00:00:00 2001 From: Yvonne Yip Date: Tue, 29 Oct 2013 12:17:45 -0700 Subject: [PATCH] instance/events: remove 'name' param from prepareBinding callback --- src/instance/events.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/instance/events.js b/src/instance/events.js index 9f1aa09da1..272494797b 100644 --- a/src/instance/events.js +++ b/src/instance/events.js @@ -87,8 +87,8 @@ // if lhs an event prefix, if (events.hasEventPrefix(name)) { // provide an event-binding callback - return function(model, name, node) { - log.events && console.log('event: [%s].%s => [%s].%s()"', node.localName, name, model.localName, path); + return function(model, node) { + log.events && console.log('event: [%s].%s => [%s].%s()"', node.localName, model.localName, path); var listener = function(event) { var ctrlr = findController(node); if (ctrlr && ctrlr.dispatchMethod) {