Skip to content

Commit

Permalink
instance/events: remove 'name' param from prepareBinding callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Oct 29, 2013
1 parent 78f61f2 commit 04e133a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/instance/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 04e133a

Please sign in to comment.