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

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott J. Miles committed Feb 20, 2014
1 parent 1b94222 commit f00f96b
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/instance/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,18 @@
var self = this, bindable, eventName;
for (var n in events) {
eventName = EVENT_PREFIX + n;
bindable = PolymerExpressions.prepareEventBinding(Path.get(events[n]),
eventName, {
resolveEventHandler: function(model, path, node) {
var fn = path.getValueFrom(self);
if (fn) {
return fn.bind(self);
bindable = PolymerExpressions.prepareEventBinding(
Path.get(events[n]),
eventName,
{
resolveEventHandler: function(model, path, node) {
var fn = path.getValueFrom(self);
if (fn) {
return fn.bind(self);
}
}
}
});
);
bindable(this, this, false);
}
},
Expand Down

0 comments on commit f00f96b

Please sign in to comment.