We're switching from MooTools to jQuery at work. I have a coworker that told me never to use $
as the prefix when using a jQuery method (if I understood him correctly). He said that instead, the more appropriate or safer way (I didn't really follow him) was to use jQuery.
.
So instead of $.plugin()
, jQuery.plugin()
should be used, for example.
Why would that be the case? What distinction is he making with $
/jQuery
? Should I forget about the dollar sign as my accessor? Only in certain circumstances?