Scope analysis does not provide support for undeclared variables.

0 instances of missing semicolons counted.

0 unnecessary instances of the keyword new counted.

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