Skip to content

Commit

Permalink
Merge pull request #12334 from acid-srvnn/release-1-13
Browse files Browse the repository at this point in the history
IE8 Fix for host object array filter
  • Loading branch information
rwjblue committed Sep 13, 2015
2 parents a245d30 + e893af9 commit 176ef57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-metal/lib/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ var filter = defineNativeShim(ArrayPrototype.filter, function(fn, context) {
var length = this.length;

for (i = 0; i < length; i++) {
if (this.hasOwnProperty(i)) {
if (Object.prototype.hasOwnProperty.call(this, i)) {
value = this[i];
if (fn.call(context, value, i, this)) {
result.push(value);
Expand Down

0 comments on commit 176ef57

Please sign in to comment.