From 79dfe1fe3c60a302c0f9774f859ab0f71d85767f Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Thu, 8 Oct 2015 10:17:45 -0700 Subject: [PATCH] Simplify --- src/lib/template/templatizer.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/template/templatizer.html b/src/lib/template/templatizer.html index 549bb8ee12..0d006e9894 100644 --- a/src/lib/template/templatizer.html +++ b/src/lib/template/templatizer.html @@ -246,7 +246,7 @@ template._forwardParentProp = this._forwardParentProp.bind(this); } this._extendTemplate(template, proto); - template._pathEffector = this._pathEffectorImpl.bind(this, template); + template._pathEffector = this._pathEffectorImpl.bind(this); } }, @@ -304,14 +304,14 @@ }, // Overrides Base notify-path module - _pathEffectorImpl: function(template, path, value, fromAbove) { + _pathEffectorImpl: function(path, value, fromAbove) { if (this._forwardParentPath) { if (path.indexOf(this._parentPropPrefix) === 0) { var subPath = path.substring(this._parentPropPrefix.length); this._forwardParentPath(subPath, value); } } - Polymer.Base._pathEffector.call(template, path, value, fromAbove); + Polymer.Base._pathEffector.call(this._templatized, path, value, fromAbove); }, _constructorImpl: function(model, host) {