Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrairieLearn/PrairieLearn
/ selectColor
Function
selectColor
public/javascripts/socket.io.js:719–721 ·
view source on GitHub ↗
* Select a color. * * @return {Number} * @api private
()
Source
from the content-addressed store, hash-verified
717
*/
718
719
function
selectColor() {
720
return
exports.colors[prevColor++ % exports.colors.length];
721
}
722
723
/**
724
* Create a debugger with the given `namespace`.
Callers
1
enabled
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected