From 6467ae11c4d4d89ee60d6cba44499fca7e5702d2 Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Mon, 7 Dec 2015 12:49:45 -0800 Subject: [PATCH] Remove all TODOs --- src/lib/template/dom-if.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/template/dom-if.html b/src/lib/template/dom-if.html index 31b68cfbdc..89a39c0a10 100644 --- a/src/lib/template/dom-if.html +++ b/src/lib/template/dom-if.html @@ -73,7 +73,6 @@ }, detached: function() { - // TODO(kschaaf): add logic to re-stamp in attached? if (!this.parentNode) { this._teardownInstance(); } @@ -81,7 +80,7 @@ attached: function() { if (this.if && this.ctor) { - // TODO(sorvell): should not be async, but node can be attached + // NOTE: ideally should not be async, but node can be attached // when shady dom is in the act of distributing/composing so push it out this.async(this._ensureInstance); } @@ -123,10 +122,8 @@ if (parentNode) { var parent = Polymer.dom(parentNode); if (!this._instance) { - // TODO(sorvell): pickup stamping logic from x-repeat this._instance = this.stamp(); var root = this._instance.root; - // TODO(sorvell): this incantation needs to be simpler. parent.insertBefore(root, this); } else { var c$ = this._instance._children;