mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 22:56:11 +03:00
Whitespace nits
This commit is contained in:
parent
1c60f90ee5
commit
8e37633c49
@ -1664,10 +1664,10 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
|
|||||||
if ( requestAnimationFrame && cancelAnimationFrame ) {
|
if ( requestAnimationFrame && cancelAnimationFrame ) {
|
||||||
// We can't assign these window methods directly to $ because they
|
// We can't assign these window methods directly to $ because they
|
||||||
// expect their "this" to be "window", so we call them in wrappers.
|
// expect their "this" to be "window", so we call them in wrappers.
|
||||||
$.requestAnimationFrame = function(){
|
$.requestAnimationFrame = function(){
|
||||||
return requestAnimationFrame.apply( w, arguments );
|
return requestAnimationFrame.apply( w, arguments );
|
||||||
};
|
};
|
||||||
$.cancelAnimationFrame = function(){
|
$.cancelAnimationFrame = function(){
|
||||||
return cancelAnimationFrame.apply( w, arguments );
|
return cancelAnimationFrame.apply( w, arguments );
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user