zulip/static
Steve Howell 9ab07d1038 util.js: Remove util from window.
We now treat util like a leaf module and
use "require" to import it everywhere it's used.

An earlier version of this commit moved
util into our "shared" library, but we
decided to wait on that.  Once we're ready
to do that, we should only need to do a
simple search/replace on various
require/zrequire statements plus a small
tweak to one of the custom linter checks.

It turns out we don't really need util.js
for our most immediate code-sharing goal,
which is to reuse our markdown code on
mobile.  There's a little bit of cleanup
still remaining to break the dependency,
but it's minor.

The util module still calls the global
blueslip module in one place, but that
code is about to be removed in the next
few commits.

I am pretty confident that once we start
sharing things like the typeahead code
more aggressively, we'll start having
dependencies on util.  The module is barely
more than 300 lines long, so we'll probably
just move the whole thing into shared
rather than break it apart.  Also, we
can continue to nibble away at the
cruftier parts of the module.
2020-02-15 12:20:20 -08:00
..
assets styles: Finish removing manual antialiasing configuration. 2019-08-30 14:51:52 -07:00
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html 5xx.html: Build with webpack. 2019-10-28 15:53:15 -07:00
images integrations: Add AlertManager webhook. 2020-02-14 17:43:15 -08:00
js util.js: Remove util from window. 2020-02-15 12:20:20 -08:00
shared js: Use modern spread arguments syntax. 2020-02-11 17:43:35 -08:00
styles topic list: Use vdom techniques. 2020-02-05 13:04:16 -08:00
templates i18n: Add missing translation tags to typing notifications. 2020-02-12 10:54:34 -08:00
third markdown: Fix HTML escaping of &. 2020-02-13 17:50:59 -08:00
.eslintrc.json lint: Delegate console.log check to ESLint. 2020-02-07 14:09:47 -08:00
.gitignore pygments_data: Replace JS module with JSON module. 2020-02-12 10:09:12 -08:00
favicon.ico