Skip to content

Commit

Permalink
Remove key check; int check should guarantee key.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Jul 17, 2015
1 parent bc4b142 commit dbf833e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/standard/notify-path.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dbf833e

Please sign in to comment.