MCPcopy Create free account
hub / github.com/codecombat/codecombat / makeEntry

Function makeEntry

app/core/aceUtils.js:103–113  ·  view source on GitHub ↗
(name, content, importance)

Source from the content-addressed store, hash-verified

101 }
102
103 const makeEntry = function (name, content, importance) {
104 content = content != null ? content : name
105 const entry = {
106 meta: $.i18n.t('keyboard_shortcuts.press_enter', { defaultValue: 'press enter' }),
107 importance: importance != null ? importance : 5,
108 content,
109 name,
110 tabTrigger: name,
111 }
112 return entry
113 }
114
115 const allIdentifiers = {}
116 const newIdentifiers = {}

Callers 1

parseUserSnippetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected