davatron5000 / FitText.js

A jQuery plugin for inflating web type
http://fittextjs.com
6.76k stars 1.39k forks source link

Using $this or any $ variable prefix is just wrong #3

Closed FinalAngel closed 13 years ago

FinalAngel commented 13 years ago

jquery community...

davatron5000 commented 13 years ago

Using $this as an alias for $(this) is a common practice. It doesn't matter to the JS interpreter, and in this case, the $ is being used to hint that we're actually using a jQuery object.

FinalAngel commented 13 years ago

Yes that is true, but it is not best practice