Go to file
Scott Feeney 8703134a23 Replace $.each with _.each
In a few cases the $.each was doing something imperatively that was
terser and easier to understand by using a different Underscore method,
so a few of these I rewrote.

Some code was using the fact that jQuery sets `this` in the callback to
be the item; I rewrote those to use an explicit parameter.

Some code was using $(some selector).each(callback). I converted these
to _.each($(some selector), callback).

One function, ui.process_condensing, was written to be a jQuery $.each
callback despite being in a totally different module from code using it.
I noticed this and updated the function's args.

(imported from commit bf5922a35f257c168cc09ec1d077415d6ef19a03)
2013-07-30 12:12:58 -04:00
api Move API readme to README.md to match GitHub repo 2013-07-29 16:45:06 -04:00
assets Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
bots [manual] Use api.zulip.com to access the Humbug API. 2013-07-25 17:27:46 -04:00
certs Switch api.zulip.com to signed PositiveSSL / Comodo certificate. 2013-07-15 16:49:54 -04:00
confirmation Add metrics variables to the template context via a context processor 2013-06-18 17:07:36 -04:00
humbug Move bot avatar code to avatar.js (from settings.js). 2013-07-30 08:40:49 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
servers Install files to customise postgres for maximum performance. 2013-07-26 17:11:54 -04:00
static Replace $.each with _.each 2013-07-30 12:12:58 -04:00
templates [bugfix] Fix the recent gear hovering regression. 2013-07-26 18:12:06 -04:00
tools rename tests 2013-07-30 09:05:49 -04:00
zephyr rename tests 2013-07-30 09:05:49 -04:00
.gitignore Add new errors/ folder to .gitignore 2013-07-29 16:13:57 -04:00
manage.py Make manage.py spit out tracebacks, without a patched django 2013-05-28 19:05:06 -04:00