repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git]
/
server
/
handlers
/
renderers
/
main-frame
/
snapshots.js
blob
96351b9ae1340827f029bc94b704b52cf49f2895
1
'use strict'
;
2
3
/**
4
* Snapshots are data that will be sent to the client on page load
5
*/
6
function
getMainFrameSnapshots
(
options
) {
7
var
rooms
=
options
.
rooms
;
8
var
groups
=
options
.
groups
;
9
10
return
{
11
allRooms
:
rooms
,
12
groups
:
groups
13
};
14
}
15
16
module
.
exports
=
getMainFrameSnapshots
;