mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
Merge pull request #730 from LarissaSmith/master
Fix for Chrome (v 45) issue...
This commit is contained in:
commit
459044844a
@ -805,10 +805,12 @@ if (typeof define === 'function' && define.amd) {
|
||||
// Own properties are enumerated firstly, so to speed up,
|
||||
// if last one is own, then all properties are own.
|
||||
|
||||
var key;
|
||||
for ( key in obj ) {}
|
||||
var lastKey;
|
||||
for (var key in obj ) {
|
||||
lastKey = key;
|
||||
}
|
||||
|
||||
return key === undefined || hasOwn.call( obj, key );
|
||||
return lastKey === undefined || hasOwn.call( obj, lastKey );
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user