MCPcopy
hub / github.com/pandao/editor.md / define

Function define

lib/codemirror/mode/shell/shell.js:17–22  ·  view source on GitHub ↗
(style, string)

Source from the content-addressed store, hash-verified

15
16 var words = {};
17 function define(style, string) {
18 var split = string.split(' ');
19 for(var i = 0; i < split.length; i++) {
20 words[split[i]] = style;
21 }
22 };
23
24 // Atoms
25 define('atom', 'true false');

Callers 15

shell.jsFile · 0.70
editormd.min.jsFile · 0.50
editormd.amd.jsFile · 0.50
editormd.jsFile · 0.50
en.jsFile · 0.50
zh-tw.jsFile · 0.50
prettify.min.jsFile · 0.50
raphael.min.jsFile · 0.50
underscore.min.jsFile · 0.50
marked.min.jsFile · 0.50
codemirror.min.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…