Skip to content

Commit

Permalink
Remove unneeded var. Reorder for easier review.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Apr 30, 2015
1 parent ea22c54 commit 1d26d05
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/lib/template/templatizer.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
this.ctor = ctor;
},

_getRootDataHost: function() {
return (this.dataHost && this.dataHost._rootDataHost) || this.dataHost;
},

_templatizerDebounce: function(fn) {
this._templatizerStatic.callbacks[this._templatizerId] = fn.bind(this);
this._templatizerStatic.debouncer =
Expand All @@ -102,10 +106,6 @@
}
},

_getRootDataHost: function() {
return (this.dataHost && this.dataHost._rootDataHost) || this.dataHost;
},

customPrepAnnotations: function(archetype, template) {
if (template) {
archetype._template = template;
Expand Down Expand Up @@ -297,6 +297,4 @@

};

Polymer.Templatizer.count = 0;

</script>

0 comments on commit 1d26d05

Please sign in to comment.