From dbf833e062c1365d72c4b1b05ed220e908de6b28 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Thu, 16 Jul 2015 17:50:51 -0700 Subject: [PATCH] Remove key check; int check should guarantee key. --- src/standard/notify-path.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/standard/notify-path.html b/src/standard/notify-path.html index 8ba6d4ac4a..78a098547c 100644 --- a/src/standard/notify-path.html +++ b/src/standard/notify-path.html @@ -161,10 +161,8 @@ var coll = Polymer.Collection.get(array); var old = prop[last]; var key = coll.getKey(old); - if (key) { - parts[i] = key; - coll.setItem(key, value); - } + parts[i] = key; + coll.setItem(key, value); } prop[last] = value; if (!root) {