Scope analysis does not provide support for undeclared variables.
0 instances of missing semicolons counted.
0 unnecessary instances of the keyword new counted.
- 1
- 2
- -3
- 4
- -5
- -6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- -15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- -25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- /*prettydiff.com wrap:80 object_sort:true vertical:true brace_line:true*/
- /*global global*/
- (function options_init(): void {
- "use strict";
- const optionDef = {
- // accessibility : {
- // api : "any",
- // mode : "analysis",
- // lexer : "markup",
- // label : "Accessibility Analysis",
- // type : "boolean",
- // definition: "Whether analysis of HTML should include an accessibility report.",
- // default : false
- // },
- brace_line: {
- api : "any",
- default : false,
- definition: "If true a new line character will be inserted after opening curly braces and bef" +
- "ore closing curly braces.",
- label : "Brace Lines",
- lexer : "script",
- mode : "beautify",
- type : "boolean"
- },
- wrap : {
- api : "any",
- default : 0,
- definition: "Character width limit before applying word wrap. A 0 value disables this option." +
- " A negative value concatenates script strings.",
- label : "Wrap",
- lexer : "any",
- mode : "any",
- type : "number"
- }
- };
- global
- .prettydiff
- .api
- .optionDef = optionDef;
- }());