rstacruz / jquery.transit

Super-smooth CSS3 transformations and transitions for jQuery
http://ricostacruz.com/jquery.transit
7.29k stars 863 forks source link

Why do you use "jQuery" here? #183

Closed szepeviktor closed 10 years ago

szepeviktor commented 10 years ago

https://github.com/rstacruz/jquery.transit/blob/master/jquery.transit.js#L537 Isn't $ suitable?

dalisoft commented 10 years ago

Hi @szepeviktor! The "$" simple for example, but in jQuery.transit uses jQuery.queue, jQuery.speed, jQuery.camelCase and etc., that in other "$" defined Javascript Libraries not have the these methods***!

*\ - If you can add this methods in other js-libraries with addinational script like polyfill, you can use jQuery.transit in other js-libraries.

szepeviktor commented 10 years ago

Thank you! I was talking about this: https://github.com/rstacruz/jquery.transit/commit/686d11dafb0c8c822c93ca58a4ec02b5b83fe391#diff-92dd1256e15db3bc84aeedcfecde5cd8 the closure.