Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
Fix undefined hasOwnProperty in IE8
Browse files Browse the repository at this point in the history
IE < 9 does not define `hasOwnProperty` for host objects
(see http://stackoverflow.com/a/8159434). This seems to
have been fixed in systemjs core already (see
systemjs/systemjs@1ee77a).
  • Loading branch information
Rich Towers committed Aug 27, 2015
1 parent 6347cfe commit 6ef7601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/global-helpers.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(function(__global) {
var loader = $__System;
var hasOwnProperty = __global.hasOwnProperty;
var hasOwnProperty = Object.prototype.hasOwnProperty;
var indexOf = Array.prototype.indexOf || function(item) {
for (var i = 0, l = this.length; i < l; i++)
if (this[i] === item)
Expand Down

0 comments on commit 6ef7601

Please sign in to comment.