Skip to content

Commit dbf833e

Browse files
committed
Remove key check; int check should guarantee key.
1 parent bc4b142 commit dbf833e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/standard/notify-path.html‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,8 @@
161161
var coll = Polymer.Collection.get(array);
162162
var old = prop[last];
163163
var key = coll.getKey(old);
164-
if (key) {
165-
parts[i] = key;
166-
coll.setItem(key, value);
167-
}
164+
parts[i] = key;
165+
coll.setItem(key, value);
168166
}
169167
prop[last] = value;
170168
if (!root) {

0 commit comments

Comments
 (0)