arthur5005 / jquery.motionnotion

A jQuery plugin which allows for CSS3 animations to occur and complete on core jQuery manipulation and visibility functions such as append, remove, show and hide.
MIT License
6 stars 1 forks source link

please add function to disable plugin #2

Closed stevenvachon closed 10 years ago

stevenvachon commented 10 years ago

When generating static HTML files from JavaScript apps on the server with NodeJS, it'd be great if, when detecting the environment, we could disable this plugin so that there are no timed delays in the code.

arthur5005 commented 10 years ago

I'll include a disable function in my next update.

stevenvachon commented 10 years ago

Awesome, thanks!

arthur5005 commented 10 years ago

You can disable the animations with $.motionNotion('suspendAnimationsOnAll', true);