mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 00:26:10 +03:00
correcting comment per ventero's review
This commit is contained in:
parent
e56632c96f
commit
b560a06c30
@ -1698,7 +1698,7 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
|
|||||||
|
|
||||||
// polyfill, when necessary
|
// polyfill, when necessary
|
||||||
if ( w.requestAnimationFrame ) {
|
if ( w.requestAnimationFrame ) {
|
||||||
//we cant assign $.requestAnimationFrame directly to $.requestAnimationFrame
|
//we cant assign window.requestAnimationFrame directly to $.requestAnimationFrame
|
||||||
//without getting Illegal Invocation errors in webkit so call in a
|
//without getting Illegal Invocation errors in webkit so call in a
|
||||||
//wrapper
|
//wrapper
|
||||||
$.requestAnimationFrame = function( callback ){
|
$.requestAnimationFrame = function( callback ){
|
||||||
|
Loading…
Reference in New Issue
Block a user