mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-26 07:06:10 +03:00
Fixed broken assert
This commit is contained in:
parent
64e90b919d
commit
28d49df72f
@ -79,7 +79,7 @@ $.Spring = function( options ) {
|
|||||||
$.console.assert(typeof options.springStiffness === "number" && options.springStiffness !== 0,
|
$.console.assert(typeof options.springStiffness === "number" && options.springStiffness !== 0,
|
||||||
"[OpenSeadragon.Spring] options.springStiffness must be a non-zero number");
|
"[OpenSeadragon.Spring] options.springStiffness must be a non-zero number");
|
||||||
|
|
||||||
$.console.assert(typeof options.animationTime === "number" && options.springStiffness !== 0,
|
$.console.assert(typeof options.animationTime === "number" && options.animationTime !== 0,
|
||||||
"[OpenSeadragon.Spring] options.animationTime must be a non-zero number");
|
"[OpenSeadragon.Spring] options.animationTime must be a non-zero number");
|
||||||
|
|
||||||
if (options.exponential) {
|
if (options.exponential) {
|
||||||
|
Loading…
Reference in New Issue
Block a user