Closed o0x2a closed 10 years ago
Wouldn't the slideEaseFunctionFallback: "easeInOutExpo"
work the same? I suppose I could set that as 'swing' by default instead.
Ok, I see what you mean. Good idea. I'm doing a big update on the slider now. I'll add this in manually.
If a user didn't include
jquery.easing.1.3.js
in their script and use a browser without CSS animation like IE8, a user would receiveObject doesn't support property or method 'easeInOutExpo'
from jQuery and the slider wouldn't run.It happens because the liquid slider use the default animation
easeInOutExpo
and since the user didn't includejquery.easing.1.3.js
the jquery returns an error when trying to use the easing.To fix this we can check if jQuery support the easing, if it doesn't we fallback to
swing
easing which is supported by default.This is not a bug fix, it is more an enhancement to remove the strict requirement of
jquery.easing.1.3.js
script.