Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[#895] Move hasOwn variable inside scope where it is being used

  • Loading branch information...
commit 7439011ed3e27831761dbf57f48a6e0aea715732 1 parent e18b39b
@jbuck jbuck authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 ie8/popcorn.ie8.js
View
5 ie8/popcorn.ie8.js
@@ -44,11 +44,10 @@
}
};
- var hasOwn = Object.prototype.hasOwnProperty;
-
Array.prototype.forEach = Array.prototype.forEach || function( fn, context ) {
- var obj = this;
+ var obj = this,
+ hasOwn = Object.prototype.hasOwnProperty;
if ( !obj || !fn ) {
return {};
Please sign in to comment.
Something went wrong with that request. Please try again.