This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
zulip
mirror of
https://github.com/zulip/zulip.git
Watch
1
Star
0
Fork
You've already forked zulip
0
Code
Issues
Projects
Releases
Wiki
Activity
c4fe91af74
zulip
/
static
/
js
/
favicon.js
6 lines
98 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Move favicon-related functions to favicon.js util.reset_favicon -> favicon.reset util.set_favicon -> favicon.set (imported from commit 250848ec5dc7ac58649197c8cc4b7b4e7b19f25c)
2014-03-13 17:44:43 +01:00
exports
.
set
=
function
(
url
)
{
js: Normalize strings to double quotes. Prettier would do this anyway, but it’s separated out for a more reviewable diff. Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-07-15 01:29:15 +02:00
$
(
"#favicon"
)
.
attr
(
"href"
,
url
)
;
Move favicon-related functions to favicon.js util.reset_favicon -> favicon.reset util.set_favicon -> favicon.set (imported from commit 250848ec5dc7ac58649197c8cc4b7b4e7b19f25c)
2014-03-13 17:44:43 +01:00
}
;
js: Purge useless IIFEs. With webpack, variables declared in each file are already file-local (Global variables need to be explicitly exported), so these IIFEs are no longer needed. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-10-25 09:45:13 +02:00
window
.
favicon
=
exports
;