MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / updateThemeSettings

Function updateThemeSettings

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

Source from the content-addressed store, hash-verified

33
34 // Update theme settings
35 var updateThemeSettings = function() {
36 themeSettings.setField("theme", {
37 'label': "Themes",
38 'type': "select",
39 'options': _.object(_.map(themes, function(theme, themeId) {
40 return [theme.id, theme.title]
41 }))
42 });
43 };
44
45
46 // Define new themes

Callers 1

addThemeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected