From 19d4b8cb9c169567c9b67c05ddc4bf3918aa5e3c Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Fri, 22 Sep 2017 16:03:41 -0700 Subject: [PATCH] Rename to StrictBindingParser --- .../{binding-parser.html => strict-binding-parser.html} | 7 ++++--- test/unit/property-effects-elements.html | 8 ++++---- test/unit/property-effects.html | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) rename lib/utils/{binding-parser.html => strict-binding-parser.html} (98%) diff --git a/lib/utils/binding-parser.html b/lib/utils/strict-binding-parser.html similarity index 98% rename from lib/utils/binding-parser.html rename to lib/utils/strict-binding-parser.html index 6bff5f35dd..5b94efe5b9 100644 --- a/lib/utils/binding-parser.html +++ b/lib/utils/strict-binding-parser.html @@ -110,13 +110,14 @@ /** * Mixin that parses binding expressions and generates corresponding metadata. * The implementation is different than in `property-effects`, as it uses a - * state machine instead of a regex. + * state machine instead of a regex. As such, this implementation is able to + * handle more cases, with the potential performance hit. * * @namespace * @memberof Polymer * @summary Mixin that parses binding expressions and generates corresponding metadata. */ - const BindingParser = Polymer.dedupingMixin((base) => { + const StrictBindingParser = Polymer.dedupingMixin((base) => { return class extends base { @@ -399,6 +400,6 @@ }; }); - Polymer.BindingParser = BindingParser; + Polymer.StrictBindingParser = StrictBindingParser; })(); diff --git a/test/unit/property-effects-elements.html b/test/unit/property-effects-elements.html index 8defcc9519..622d128f55 100644 --- a/test/unit/property-effects-elements.html +++ b/test/unit/property-effects-elements.html @@ -7,7 +7,7 @@ Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> - +