MCPcopy
hub / github.com/CodeboxIDE/codebox / init

Function init

client/core/themes.js:142–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140
141 // Init theming
142 var init = function() {
143 // Add css container
144 $css.appendTo($("body"));
145
146 // Bind user settings changement
147 userSettings.change(updateCurrentTheme);
148
149 // Update current theme
150 updateCurrentTheme();
151
152 return Q();
153 };
154
155 return {
156 'init': init,

Callers

nothing calls this directly

Calls 3

updateCurrentThemeFunction · 0.85
QFunction · 0.85
$Function · 0.50

Tested by

no test coverage detected