mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-28 19:08:32 +08:00
renamed code languages, added javascript
This commit is contained in:
parent
a66f79f3e4
commit
04879bfc29
6 changed files with 176 additions and 118 deletions
|
|
@ -1,58 +0,0 @@
|
|||
{
|
||||
"name":"c",
|
||||
"leftToRight": true,
|
||||
"words":[
|
||||
"int",
|
||||
"char",
|
||||
"unsigned",
|
||||
"float",
|
||||
"void",
|
||||
"main",
|
||||
"union",
|
||||
"long",
|
||||
"double",
|
||||
"printf",
|
||||
"sprintf",
|
||||
"if",
|
||||
"else",
|
||||
"struct",
|
||||
"fork",
|
||||
"switch",
|
||||
"for",
|
||||
"define",
|
||||
"return",
|
||||
"include",
|
||||
"case",
|
||||
"&&",
|
||||
"||",
|
||||
"break",
|
||||
"bool",
|
||||
"static",
|
||||
"public",
|
||||
"enum",
|
||||
"typedef",
|
||||
"private",
|
||||
"exit",
|
||||
"<stdio.h>",
|
||||
"scanf",
|
||||
"NULL",
|
||||
"malloc",
|
||||
"calloc",
|
||||
"free",
|
||||
"realloc",
|
||||
"<string.h>",
|
||||
"fgets",
|
||||
"strcmp",
|
||||
"strcpy",
|
||||
"fputs",
|
||||
"stdout",
|
||||
"EOF",
|
||||
"getc",
|
||||
"while",
|
||||
"fclose",
|
||||
"fopen",
|
||||
"do",
|
||||
"fscanf",
|
||||
"extern"
|
||||
]
|
||||
}
|
||||
58
static/languages/code_c.json
Normal file
58
static/languages/code_c.json
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"name": "code_c",
|
||||
"leftToRight": true,
|
||||
"words": [
|
||||
"int",
|
||||
"char",
|
||||
"unsigned",
|
||||
"float",
|
||||
"void",
|
||||
"main",
|
||||
"union",
|
||||
"long",
|
||||
"double",
|
||||
"printf",
|
||||
"sprintf",
|
||||
"if",
|
||||
"else",
|
||||
"struct",
|
||||
"fork",
|
||||
"switch",
|
||||
"for",
|
||||
"define",
|
||||
"return",
|
||||
"include",
|
||||
"case",
|
||||
"&&",
|
||||
"||",
|
||||
"break",
|
||||
"bool",
|
||||
"static",
|
||||
"public",
|
||||
"enum",
|
||||
"typedef",
|
||||
"private",
|
||||
"exit",
|
||||
"<stdio.h>",
|
||||
"scanf",
|
||||
"NULL",
|
||||
"malloc",
|
||||
"calloc",
|
||||
"free",
|
||||
"realloc",
|
||||
"<string.h>",
|
||||
"fgets",
|
||||
"strcmp",
|
||||
"strcpy",
|
||||
"fputs",
|
||||
"stdout",
|
||||
"EOF",
|
||||
"getc",
|
||||
"while",
|
||||
"fclose",
|
||||
"fopen",
|
||||
"do",
|
||||
"fscanf",
|
||||
"extern"
|
||||
]
|
||||
}
|
||||
57
static/languages/code_javascript.json
Normal file
57
static/languages/code_javascript.json
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
"name": "code_javascript",
|
||||
"leftToRight": true,
|
||||
"words": [
|
||||
"this",
|
||||
"function",
|
||||
"if",
|
||||
"var",
|
||||
"return",
|
||||
"the",
|
||||
"to",
|
||||
"value",
|
||||
"else",
|
||||
"for",
|
||||
"true",
|
||||
"length",
|
||||
"false",
|
||||
"null",
|
||||
"of",
|
||||
"in",
|
||||
"element",
|
||||
"event",
|
||||
"and",
|
||||
"object",
|
||||
"console",
|
||||
"object",
|
||||
"jQuery",
|
||||
"node",
|
||||
"while",
|
||||
"do",
|
||||
"if",
|
||||
"break",
|
||||
"continue",
|
||||
"attributes",
|
||||
"childNodes",
|
||||
"firstChild",
|
||||
"nodeName",
|
||||
"nodeType",
|
||||
"onclick",
|
||||
"ondbclick",
|
||||
"onmousedown",
|
||||
"onmouseenter",
|
||||
"onmouseup",
|
||||
"onkeyup",
|
||||
"onkeydown",
|
||||
"onkeypress",
|
||||
"oninput",
|
||||
"oninvalid",
|
||||
"onreset",
|
||||
"onselect",
|
||||
"ondrag",
|
||||
"try",
|
||||
"catch",
|
||||
"throw",
|
||||
"finally"
|
||||
]
|
||||
}
|
||||
58
static/languages/code_python.json
Normal file
58
static/languages/code_python.json
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"name": "code_python",
|
||||
"leftToRight": true,
|
||||
"words": [
|
||||
"and",
|
||||
"as",
|
||||
"assert",
|
||||
"break",
|
||||
"class",
|
||||
"continue",
|
||||
"def",
|
||||
"del",
|
||||
"elif",
|
||||
"else",
|
||||
"except",
|
||||
"False",
|
||||
"finally",
|
||||
"for",
|
||||
"from",
|
||||
"global",
|
||||
"if",
|
||||
"import",
|
||||
"in",
|
||||
"is",
|
||||
"lambda",
|
||||
"None",
|
||||
"not",
|
||||
"or",
|
||||
"pass",
|
||||
"raise",
|
||||
"return",
|
||||
"True",
|
||||
"try",
|
||||
"while",
|
||||
"with",
|
||||
"yield",
|
||||
"print",
|
||||
"len",
|
||||
"str",
|
||||
"int",
|
||||
"float",
|
||||
"list",
|
||||
"tuple",
|
||||
"dict",
|
||||
"set",
|
||||
"range",
|
||||
"sum",
|
||||
"enumerate",
|
||||
"zip",
|
||||
"bool",
|
||||
"reversed",
|
||||
"sorted",
|
||||
"min",
|
||||
"max",
|
||||
"any",
|
||||
"all"
|
||||
]
|
||||
}
|
||||
|
|
@ -36,6 +36,7 @@
|
|||
"vietnamese_5k",
|
||||
"lojban_gismu",
|
||||
"lojban_cmavo",
|
||||
"python",
|
||||
"c"
|
||||
"code_python",
|
||||
"code_c",
|
||||
"code_javascript"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,58 +0,0 @@
|
|||
{
|
||||
"name": "python",
|
||||
"leftToRight": true,
|
||||
"words":[
|
||||
"and",
|
||||
"as",
|
||||
"assert",
|
||||
"break",
|
||||
"class",
|
||||
"continue",
|
||||
"def",
|
||||
"del",
|
||||
"elif",
|
||||
"else",
|
||||
"except",
|
||||
"False",
|
||||
"finally",
|
||||
"for",
|
||||
"from",
|
||||
"global",
|
||||
"if",
|
||||
"import",
|
||||
"in",
|
||||
"is",
|
||||
"lambda",
|
||||
"None",
|
||||
"not",
|
||||
"or",
|
||||
"pass",
|
||||
"raise",
|
||||
"return",
|
||||
"True",
|
||||
"try",
|
||||
"while",
|
||||
"with",
|
||||
"yield",
|
||||
"print",
|
||||
"len",
|
||||
"str",
|
||||
"int",
|
||||
"float",
|
||||
"list",
|
||||
"tuple",
|
||||
"dict",
|
||||
"set",
|
||||
"range",
|
||||
"sum",
|
||||
"enumerate",
|
||||
"zip",
|
||||
"bool",
|
||||
"reversed",
|
||||
"sorted",
|
||||
"min",
|
||||
"max",
|
||||
"any",
|
||||
"all"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue