From f00f96b52a19bb6841448248e8d45cecc7ffea5e Mon Sep 17 00:00:00 2001 From: "Scott J. Miles" Date: Wed, 19 Feb 2014 18:14:43 -0800 Subject: [PATCH] code format --- src/instance/events.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/instance/events.js b/src/instance/events.js index 7749bc7..351c3db 100644 --- a/src/instance/events.js +++ b/src/instance/events.js @@ -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); } },