Merge pull request #801 from openseadragon/ian

Fixed broken assert
This commit is contained in:
Ian Gilman 2015-12-15 09:57:40 -08:00
commit 2a430f3335

View File

@ -79,7 +79,7 @@ $.Spring = function( options ) {
$.console.assert(typeof options.springStiffness === "number" && options.springStiffness !== 0,
"[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");
if (options.exponential) {