From a0878fbbb3e43197dba49246339e3e0398e2d94b Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Fri, 19 Aug 2016 14:56:28 -0700 Subject: [PATCH 1/5] Fixes #74. The `finalize` technique used in Polymer.Element is not amenable to subclassing and may need to be rethought. To work around this issue for now, classes generated from Polymer 1 style objects use a separate mechanism to call `registered`. --- src/compat/class.html | 31 +++++----- test/smoke/behaviors-registered.html | 45 +++++++++++++++ test/unit/behaviors.html | 84 ++++++++++++---------------- 3 files changed, 96 insertions(+), 64 deletions(-) create mode 100644 test/smoke/behaviors-registered.html diff --git a/src/compat/class.html b/src/compat/class.html index cf2339d536..bc918a476b 100644 --- a/src/compat/class.html +++ b/src/compat/class.html @@ -38,7 +38,7 @@ for (var i=0; i + + + + Polymer - behaviors + + + + + + + + + + + + + + + + + diff --git a/test/unit/behaviors.html b/test/unit/behaviors.html index 713cb917e4..19ee2d6e47 100644 --- a/test/unit/behaviors.html +++ b/test/unit/behaviors.html @@ -210,7 +210,7 @@
- - - - + +