Skip to content

Commit

Permalink
Update array.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner authored May 5, 2017
1 parent 49b42bc commit a7ab514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember-runtime/lib/mixins/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ EachProxy.prototype = {
let lim = removedCnt > 0 ? idx + removedCnt : -1;
let meta;
for (let key in keys) {
meta = meta || peakMeta(this);
meta = meta || peekMeta(this);
if (lim > 0) {
removeObserverForContentKey(content, key, this, idx, lim);
}
Expand All @@ -668,7 +668,7 @@ EachProxy.prototype = {
let lim = addedCnt > 0 ? idx + addedCnt : -1;
let meta;
for (let key in keys) {
meta = meta || peakMeta(this);
meta = meta || peekMeta(this);
if (lim > 0) {
addObserverForContentKey(content, key, this, idx, lim);
}
Expand Down

0 comments on commit a7ab514

Please sign in to comment.