Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Refine binding warning so it doesn't incorrectly warn when element is…
Browse files Browse the repository at this point in the history
… stamped from a template without binding.
  • Loading branch information
sorvell committed Apr 1, 2014
1 parent 64ec77b commit 40bde06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instance/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
ready: function() {
},
createdCallback: function() {
if (this.templateInstance) {
if (this.templateInstance && this.templateInstance.model) {
console.warn('Attributes on ' + this.localName + ' were data bound ' +
'prior to Polymer upgrading the element. This may result in ' +
'incorrect binding types.');
Expand Down

0 comments on commit 40bde06

Please sign in to comment.