Skip to content

Commit

Permalink
Declare Polymer.Templatizer directly, for Closure. (#4870)
Browse files Browse the repository at this point in the history
Closure cannot follow the indirect `@polymerBehavior` annotation, so define Polymer.Templatizer directly.
  • Loading branch information
aomarks authored Oct 6, 2017
1 parent 28e6027 commit 3b15517
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/legacy/templatizer-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@
* between versions 1.x and 2.x.
*
* @polymerBehavior
* @memberof Polymer
*/
let Templatizer = {
Polymer.Templatizer = {

/**
* Generates an anonymous `TemplateInstance` class (stored as `this.ctor`)
Expand Down Expand Up @@ -147,7 +146,5 @@
}
};

Polymer.Templatizer = Templatizer;

})();
</script>

0 comments on commit 3b15517

Please sign in to comment.