js.js

来自「简单博客功能实现」· JavaScript 代码 · 共 30 行

JS
30
字号
Lighter.addLanguage({
	language:"js",
	delimiter:",(){}[]-+*%/=\"'~!&|<>?:;.#",
	quotation1:"\'",
	quotation2:"\"",
	continue_quote:"n",
	linecomment:"//",
	commenton:"/*",
	commentoff:"*/",
	escape:"\\",
	objectColor:"#ff0000",
	lineNumberColor:"#006600",
	lineNumberSepColor:"#006600",
	reservedWordColor:"#0000ff",
	normalWordColor:"#000000",
	delimiterColor:"#000000",
	propertyColor:"#008684",
	methodColor:"#a52a2a",
	stringColor:"#ff00ff",
	baseColor:"#000000",
	commentColor:"#006600",
	reservedWords:["escape","eval","$","@if","@set","abstract","boolean","break","byte","case","catch","char","class",
		"const","continue","debugger","default","delete","do","double","else","enum","export","extends","false",
		"final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface",
		"long","native","new","null","package","private","protected","public","return","short","static","super","switch",
		"synchronized","taint","this","throw","throws","transient","true","try","typeof","undefined","untaint","var","void","volatile","while","with"],
	objects:[],
	properties:[],
	methods:[]
});

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?