You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When including velocity and velocity.ui and testing with IE7, an error will be thrown because velocity.ui will try to write to the console (which is undefined) complaining about that velocity.js is not loaded ("Velocity UI Pack: Velocity must be loaded first. Aborting.").
Our current fix locally in our project is just to test for if the console is present:
if ((!Container.Velocity || !Container.Velocity.Utilities) && typeof (console) != "undefined") {
console.log("Velocity UI Pack: Velocity must be loaded first. Aborting.");
return;
}
The text was updated successfully, but these errors were encountered:
Fixes CommonJS module loading. Closes#232. Closes#238.
Allow animating with the raw utility function (Velocity) instead of its
property (Velocity.animate), e.g. $.Velocity(element, propertiesMap,
options);
Copy over _cacheValues option for the UI pack. Closes#239.
Reverts Velocity.mock to original (asynchronous) behavior. Closes#237.
Fixes IE7 error throwing in UI pack. Closes#246.
When including velocity and velocity.ui and testing with IE7, an error will be thrown because velocity.ui will try to write to the console (which is undefined) complaining about that velocity.js is not loaded ("Velocity UI Pack: Velocity must be loaded first. Aborting.").
Our current fix locally in our project is just to test for if the console is present:
if ((!Container.Velocity || !Container.Velocity.Utilities) && typeof (console) != "undefined") {
console.log("Velocity UI Pack: Velocity must be loaded first. Aborting.");
}
The text was updated successfully, but these errors were encountered: