MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / define

Function define

static/js/codemirror/mode/shell/shell.js:4–9  ·  view source on GitHub ↗
(style, string)

Source from the content-addressed store, hash-verified

2
3 var words = {};
4 function define(style, string) {
5 var split = string.split(' ');
6 for(var i = 0; i < split.length; i++) {
7 words[split[i]] = style;
8 }
9 };
10
11 // Atoms
12 define('atom', 'true false');

Callers 3

bootstrap.jsFile · 0.85
bootstrap.min.jsFile · 0.85
shell.jsFile · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected