From 8899e87f1e49cefc1a64698006792b27de53b369 Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Wed, 26 Mar 2014 09:53:14 -0700 Subject: [PATCH] Better warning, fixes issue with https://github.com/Polymer/polymer-dev/issues/20 --- src/instance/base.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/instance/base.js b/src/instance/base.js index a224870..54eaadf 100644 --- a/src/instance/base.js +++ b/src/instance/base.js @@ -25,8 +25,9 @@ }, createdCallback: function() { if (this.templateInstance) { - console.warn(this.localName, 'was bound prior to upgrade and may ' + - 'have incorrect bindings.'); + console.warn('Attributes on ' + this.localName + ' were data bound ' + + 'prior to Polymer upgrading the element. This may result in ' + + 'incorrect binding types.'); } this.created(); this.prepareElement();