Merge pull request #730 from LarissaSmith/master

Fix for Chrome (v 45) issue...
This commit is contained in:
Ian Gilman 2015-09-18 09:25:00 -07:00
commit 459044844a

View File

@ -805,10 +805,12 @@ if (typeof define === 'function' && define.amd) {
// Own properties are enumerated firstly, so to speed up, // Own properties are enumerated firstly, so to speed up,
// if last one is own, then all properties are own. // if last one is own, then all properties are own.
var key; var lastKey;
for ( key in obj ) {} for (var key in obj ) {
lastKey = key;
}
return key === undefined || hasOwn.call( obj, key ); return lastKey === undefined || hasOwn.call( obj, lastKey );
}; };