From e2674bc3a04663a991802e6fee62bcb9246bb48e Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Mon, 19 Oct 2015 14:42:14 -0700 Subject: [PATCH] Avoid function lookup by string. --- src/lib/bind/accessors.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/bind/accessors.html b/src/lib/bind/accessors.html index 4d82b56e20..3ce381c7c2 100644 --- a/src/lib/bind/accessors.html +++ b/src/lib/bind/accessors.html @@ -79,13 +79,12 @@ }, _effectEffects: function(property, value, effects, old, fromAbove) { - effects.forEach(function(fx) { - //console.log(fx); - var fn = Polymer.Bind['_' + fx.kind + 'Effect']; + for (var i=0, l=effects.length, fx; (i