diff --git a/polymer-list.html b/polymer-list.html index b4714b2..d1d0af5 100644 --- a/polymer-list.html +++ b/polymer-list.html @@ -108,6 +108,7 @@ this.selectedClass : ''; }, templateChanged: function() { + // TODO: handle template changing if (!this.template) { return; } @@ -128,7 +129,8 @@ } content.appendChild(page); // set template to repeat - this.template.bind('repeat', this, 'listData'); + var observer = new PathObserver(this, 'listData'); + this.template.bind('repeat', observer); }, listDataChanged: function() { /*if (this.template.templateInstance) {