mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-12-01 09:36:08 +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,
|
// 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 );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user