vaidikkp/zamboni — comment on commit b05311895b068382543646bc9732f4ed72240ae5
File: media/js/zamboni/collections.js line 487
By cvan:

you already called `$('#contributor-ac-error')` above. we could store this jQuery object in a `var`, so we don't have to do the function call, selector lookup, etc. again. (I would put it above line 479. also, per the style guide (http://mozilla.github.com/zamboni/topics/style.html#javascript):

variable names for jQuery objects start with $. for example:

var $el = $(el);