MCPcopy Create free account
hub / github.com/KDAB/codebrowser / switchStylestyleAndSetCookie

Function switchStylestyleAndSetCookie

data/codebrowser.js:39–43  ·  view source on GitHub ↗
(styleName)

Source from the content-addressed store, hash-verified

37 });
38}
39function switchStylestyleAndSetCookie(styleName)
40{
41 switchStylestyle(styleName);
42 createCookie('style', styleName, 5)
43}
44function createCookie(name,value,days) {
45 if (days) {
46 var date = new Date();

Callers 1

codebrowser.jsFile · 0.85

Calls 2

switchStylestyleFunction · 0.85
createCookieFunction · 0.85

Tested by

no test coverage detected