SkidX / tweene

JavaScript Animation Proxy
http://tweene.com
Artistic License 2.0
353 stars 29 forks source link

jQuery is not defined #23

Open lluxx opened 8 years ago

lluxx commented 8 years ago

I am getting an error, jQuery is not defined, when I am trying to use velocity version of this library.

It is on the line that says "if (jQuery&&a) var x=jQuery"

Do I need to have jQuery installed? I am not using it, I want this to work without jQuery.

godluck commented 7 years ago

basicly set jQuery as undefined before the Tweene.js file will do the trick: var jQuery = undefined However this bug is really simple to fix as all you need to do is to change jQuery to window.jQuery