Permalink
Browse files

Merge pull request #29 from arthurakay/v2.3.5

V2.3.5
  • Loading branch information...
2 parents d2660c5 + 409ce35 commit a434e1b27b22b594a438006ef7abac7ad78004d0 @arthurakay committed Dec 5, 2013
Showing with 833 additions and 624 deletions.
  1. +0 −1 docs/app-0b00cb36fe5624b12d5a495c4289e5d9.js
  2. +1 −0 docs/app-0c945a27f43452df695771ddb60b3d14.js
  3. +0 −1 docs/data-848fe00ae319e0afba493fa962b9f548.js
  4. +1 −0 docs/data-affe84440729af1c80515e70a610b54e.js
  5. +9 −7 docs/index.html
  6. BIN docs/member-icons/cfg.png
  7. BIN docs/member-icons/css_mixin.png
  8. BIN docs/member-icons/css_var.png
  9. BIN docs/member-icons/event.png
  10. BIN docs/member-icons/method.png
  11. BIN docs/member-icons/property.png
  12. +1 −1 docs/output/LintRoller.js
  13. +1 −0 docs/output/LintRoller.linters.BOM.js
  14. +1 −1 docs/output/LintRoller.linters.Esprima.js
  15. +1 −1 docs/output/LintRoller.linters.JSHint.js
  16. +1 −1 docs/output/LintRoller.linters.JSLint.js
  17. +1 −0 docs/output/LintRoller.linters.Tabs.js
  18. +1 −1 docs/output/LintRoller.linters.W3C_HTML.js
  19. +0 −1 docs/output/LintRoller.util.js
  20. +1 −0 docs/resources/css/app-4689d2a5522dcd3c9e9923ca59c33f27.css
  21. +0 −1 docs/resources/css/app-c8e1f59f40e720cb5379f7041379119a.css
  22. BIN docs/resources/images/gettingstarted.jpg
  23. BIN docs/resources/images/guide-icon.png
  24. BIN docs/resources/images/guides.png
  25. BIN docs/resources/images/link-arrow-next.png
  26. BIN docs/resources/images/preview.png
  27. BIN docs/resources/images/sencha-stamp.png
  28. BIN docs/resources/images/version-tabs.png
  29. BIN docs/resources/images/x122.png
  30. +30 −28 docs/resources/prettify/prettify.js
  31. +140 −48 docs/source/LintRoller.html
  32. +92 −0 docs/source/bom.html
  33. +4 −2 docs/source/esprima.html
  34. +5 −3 docs/source/jsHint.html
  35. +5 −3 docs/source/jsLint.html
  36. +92 −0 docs/source/tabs.html
  37. +0 −238 docs/source/util.html
  38. +10 −3 docs/source/w3c_html.html
  39. +125 −0 docs/styles-3eba09980fa05ead185cb17d9c0deb0f.css
  40. +12 −8 examples/removeBom.js
  41. +12 −8 examples/replaceTabsWithSpaces.js
  42. +1 −1 examples/stdOut.js
  43. +1 −1 package.json
  44. +127 −37 src/LintRoller.js
  45. +66 −0 src/linters/bom.js
  46. +4 −2 src/linters/esprima.js
  47. +5 −3 src/linters/jshint.js
  48. +4 −2 src/linters/jslint.js
  49. +72 −0 src/linters/tabs.js
  50. +7 −2 src/linters/w3c_html.js
  51. +0 −219 src/util.js
View
1 docs/app-0b00cb36fe5624b12d5a495c4289e5d9.js
0 additions, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
1 docs/app-0c945a27f43452df695771ddb60b3d14.js
1 addition, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
1 docs/data-848fe00ae319e0afba493fa962b9f548.js
@@ -1 +0,0 @@
-Docs = {"data":{"commentsDomain":null,"message":"","showPrintButton":false,"tests":false,"search":[{"url":"#!/api/LintRoller.linters.Esprima","meta":{},"icon":"icon-class","fullName":"LintRoller.linters.Esprima","sort":1,"name":"Esprima"},{"url":"#!/api/LintRoller.linters.Esprima-cfg-options","meta":{},"icon":"icon-cfg","fullName":"LintRoller.linters.Esprima.options","sort":3,"name":"options"},{"url":"#!/api/LintRoller.linters.Esprima-method-applyLintOptions","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.linters.Esprima.applyLintOptions","sort":3,"name":"applyLintOptions"},{"url":"#!/api/LintRoller.linters.Esprima-method-runLinter","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.linters.Esprima.runLinter","sort":3,"name":"runLinter"},{"url":"#!/api/LintRoller.linters.JSHint","meta":{},"icon":"icon-class","fullName":"LintRoller.linters.JSHint","sort":1,"name":"JSHint"},{"url":"#!/api/LintRoller.linters.JSHint-property-lib","meta":{},"icon":"icon-property","fullName":"LintRoller.linters.JSHint.lib","sort":3,"name":"lib"},{"url":"#!/api/LintRoller.linters.JSHint-cfg-options","meta":{},"icon":"icon-cfg","fullName":"LintRoller.linters.JSHint.options","sort":3,"name":"options"},{"url":"#!/api/LintRoller.linters.JSHint-cfg-globals","meta":{},"icon":"icon-cfg","fullName":"LintRoller.linters.JSHint.globals","sort":3,"name":"globals"},{"url":"#!/api/LintRoller.linters.JSHint-method-applyLintOptions","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.linters.JSHint.applyLintOptions","sort":3,"name":"applyLintOptions"},{"url":"#!/api/LintRoller.linters.JSHint-method-runLinter","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.linters.JSHint.runLinter","sort":3,"name":"runLinter"},{"url":"#!/api/LintRoller.linters.JSLint","meta":{},"icon":"icon-class","fullName":"LintRoller.linters.JSLint","sort":1,"name":"JSLint"},{"url":"#!/api/LintRoller.linters.JSLint-property-lib","meta":{},"icon":"icon-property","fullName":"LintRoller.linters.JSLint.lib","sort":3,"name":"lib"},{"url":"#!/api/LintRoller.linters.JSLint-cfg-options","meta":{},"icon":"icon-cfg","fullName":"LintRoller.linters.JSLint.options","sort":3,"name":"options"},{"url":"#!/api/LintRoller.linters.JSLint-method-applyLintOptions","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.linters.JSLint.applyLintOptions","sort":3,"name":"applyLintOptions"},{"url":"#!/api/LintRoller.linters.JSLint-method-runLinter","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.linters.JSLint.runLinter","sort":3,"name":"runLinter"},{"url":"#!/api/LintRoller.linters.W3C_HTML","meta":{},"icon":"icon-class","fullName":"LintRoller.linters.W3C_HTML","sort":1,"name":"W3C_HTML"},{"url":"#!/api/LintRoller.linters.W3C_HTML-cfg-options","meta":{},"icon":"icon-cfg","fullName":"LintRoller.linters.W3C_HTML.options","sort":3,"name":"options"},{"url":"#!/api/LintRoller.linters.W3C_HTML-method-applyLintOptions","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.linters.W3C_HTML.applyLintOptions","sort":3,"name":"applyLintOptions"},{"url":"#!/api/LintRoller.linters.W3C_HTML-method-runLinter","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.linters.W3C_HTML.runLinter","sort":3,"name":"runLinter"},{"url":"#!/api/LintRoller","meta":{"author":["Arthur Kay (http://www.akawebdesign.com)"]},"icon":"icon-singleton","fullName":"LintRoller","sort":1,"name":"LintRoller"},{"url":"#!/api/LintRoller-cfg-filepaths","meta":{},"icon":"icon-cfg","fullName":"LintRoller.filepaths","sort":3,"name":"filepaths"},{"url":"#!/api/LintRoller-cfg-exclusions","meta":{},"icon":"icon-cfg","fullName":"LintRoller.exclusions","sort":3,"name":"exclusions"},{"url":"#!/api/LintRoller-cfg-stdoutErrors","meta":{},"icon":"icon-cfg","fullName":"LintRoller.stdoutErrors","sort":3,"name":"stdoutErrors"},{"url":"#!/api/LintRoller-cfg-verbose","meta":{},"icon":"icon-cfg","fullName":"LintRoller.verbose","sort":3,"name":"verbose"},{"url":"#!/api/LintRoller-cfg-regex","meta":{},"icon":"icon-cfg","fullName":"LintRoller.regex","sort":3,"name":"regex"},{"url":"#!/api/LintRoller-cfg-defaultSuccessMessage","meta":{},"icon":"icon-cfg","fullName":"LintRoller.defaultSuccessMessage","sort":3,"name":"defaultSuccessMessage"},{"url":"#!/api/LintRoller-cfg-stopOnFirstError","meta":{},"icon":"icon-cfg","fullName":"LintRoller.stopOnFirstError","sort":3,"name":"stopOnFirstError"},{"url":"#!/api/LintRoller-cfg-linters","meta":{},"icon":"icon-cfg","fullName":"LintRoller.linters","sort":3,"name":"linters"},{"url":"#!/api/LintRoller-cfg-logFile","meta":{},"icon":"icon-cfg","fullName":"LintRoller.logFile","sort":3,"name":"logFile"},{"url":"#!/api/LintRoller-method-init","meta":{},"icon":"icon-method","fullName":"LintRoller.init","sort":3,"name":"init"},{"url":"#!/api/LintRoller-property-files","meta":{"private":true},"icon":"icon-property","fullName":"LintRoller.files","sort":3,"name":"files"},{"url":"#!/api/LintRoller-method-getVersion","meta":{},"icon":"icon-method","fullName":"LintRoller.getVersion","sort":3,"name":"getVersion"},{"url":"#!/api/LintRoller-method-initConfigs","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.initConfigs","sort":3,"name":"initConfigs"},{"url":"#!/api/LintRoller-method-setLinters","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.setLinters","sort":3,"name":"setLinters"},{"url":"#!/api/LintRoller-method-announceErrors","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.announceErrors","sort":3,"name":"announceErrors"},{"url":"#!/api/LintRoller-method-announceSuccess","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.announceSuccess","sort":3,"name":"announceSuccess"},{"url":"#!/api/LintRoller-method-getFiles","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.getFiles","sort":3,"name":"getFiles"},{"url":"#!/api/LintRoller-method-parseTree","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.parseTree","sort":3,"name":"parseTree"},{"url":"#!/api/LintRoller-method-parseFile","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.parseFile","sort":3,"name":"parseFile"},{"url":"#!/api/LintRoller-method-lintFiles","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.lintFiles","sort":3,"name":"lintFiles"},{"url":"#!/api/LintRoller-method-logToStdOut","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.logToStdOut","sort":3,"name":"logToStdOut"},{"url":"#!/api/LintRoller-method-logToFile","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.logToFile","sort":3,"name":"logToFile"},{"url":"#!/api/LintRoller-method-log","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.log","sort":3,"name":"log"},{"url":"#!/api/LintRoller.util","meta":{},"icon":"icon-singleton","fullName":"LintRoller.util","sort":1,"name":"util"},{"url":"#!/api/LintRoller.util-method-init","meta":{"chainable":true,"private":true},"icon":"icon-method","fullName":"LintRoller.util.init","sort":3,"name":"init"},{"url":"#!/api/LintRoller.util-method-utilInit","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.util.utilInit","sort":3,"name":"utilInit"},{"url":"#!/api/LintRoller.util-method-removeBOM","meta":{},"icon":"icon-method","fullName":"LintRoller.util.removeBOM","sort":3,"name":"removeBOM"},{"url":"#!/api/LintRoller.util-method-replaceTabsWithSpaces","meta":{},"icon":"icon-method","fullName":"LintRoller.util.replaceTabsWithSpaces","sort":3,"name":"replaceTabsWithSpaces"},{"url":"#!/api/LintRoller.util-method-locateOffenders","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.util.locateOffenders","sort":3,"name":"locateOffenders"},{"url":"#!/api/LintRoller.util-method-fixOffendingFiles","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.util.fixOffendingFiles","sort":3,"name":"fixOffendingFiles"},{"url":"#!/api/LintRoller.util-method-fixBomFiles","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.util.fixBomFiles","sort":3,"name":"fixBomFiles"},{"url":"#!/api/LintRoller.util-method-findLintErrors","meta":{"private":true},"icon":"icon-method","fullName":"LintRoller.util.findLintErrors","sort":3,"name":"findLintErrors"}],"guides":[],"source":true,"touchExamplesUi":false,"classes":[{"extends":null,"icon":"icon-class","private":null,"name":"LintRoller.linters.Esprima"},{"extends":null,"icon":"icon-class","private":null,"name":"LintRoller.linters.JSHint"},{"extends":null,"icon":"icon-class","private":null,"name":"LintRoller.linters.JSLint"},{"extends":null,"icon":"icon-class","private":null,"name":"LintRoller.linters.W3C_HTML"},{"extends":null,"icon":"icon-singleton","private":null,"name":"LintRoller"},{"extends":null,"icon":"icon-singleton","private":null,"name":"LintRoller.util"}],"videos":[],"signatures":[{"key":"abstract","long":"abstract","short":"ABS"},{"key":"chainable","long":"chainable","short":">"},{"key":"deprecated","long":"deprecated","short":"DEP"},{"key":"new","long":"★","short":"★"},{"key":"preventable","long":"preventable","short":"PREV"},{"key":"private","long":"private","short":"PRI"},{"key":"protected","long":"protected","short":"PRO"},{"key":"readonly","long":"readonly","short":"R O"},{"key":"removed","long":"removed","short":"REM"},{"key":"required","long":"required","short":"REQ"},{"key":"static","long":"static","short":"STA"},{"key":"template","long":"template","short":"TMP"}],"guideSearch":{},"examples":[],"commentsUrl":null,"localStorageDb":"docs"}};
View
1 docs/data-affe84440729af1c80515e70a610b54e.js
@@ -0,0 +1 @@
+Docs = {"data":{"classes":[{"name":"LintRoller.linters.BOM","extends":null,"private":null,"icon":"icon-class"},{"name":"LintRoller.linters.Esprima","extends":null,"private":null,"icon":"icon-class"},{"name":"LintRoller.linters.JSHint","extends":null,"private":null,"icon":"icon-class"},{"name":"LintRoller.linters.JSLint","extends":null,"private":null,"icon":"icon-class"},{"name":"LintRoller.linters.Tabs","extends":null,"private":null,"icon":"icon-class"},{"name":"LintRoller.linters.W3C_HTML","extends":null,"private":null,"icon":"icon-class"},{"name":"LintRoller","extends":null,"private":null,"icon":"icon-singleton"}],"guides":[],"videos":[],"examples":[],"search":[{"name":"BOM","fullName":"LintRoller.linters.BOM","icon":"icon-class","url":"#!/api/LintRoller.linters.BOM","meta":{},"sort":1},{"name":"options","fullName":"LintRoller.linters.BOM.options","icon":"icon-cfg","url":"#!/api/LintRoller.linters.BOM-cfg-options","meta":{},"sort":3},{"name":"applyLintOptions","fullName":"LintRoller.linters.BOM.applyLintOptions","icon":"icon-method","url":"#!/api/LintRoller.linters.BOM-method-applyLintOptions","meta":{"private":true},"sort":3},{"name":"runLinter","fullName":"LintRoller.linters.BOM.runLinter","icon":"icon-method","url":"#!/api/LintRoller.linters.BOM-method-runLinter","meta":{"private":true},"sort":3},{"name":"Esprima","fullName":"LintRoller.linters.Esprima","icon":"icon-class","url":"#!/api/LintRoller.linters.Esprima","meta":{},"sort":1},{"name":"options","fullName":"LintRoller.linters.Esprima.options","icon":"icon-cfg","url":"#!/api/LintRoller.linters.Esprima-cfg-options","meta":{},"sort":3},{"name":"applyLintOptions","fullName":"LintRoller.linters.Esprima.applyLintOptions","icon":"icon-method","url":"#!/api/LintRoller.linters.Esprima-method-applyLintOptions","meta":{"private":true},"sort":3},{"name":"runLinter","fullName":"LintRoller.linters.Esprima.runLinter","icon":"icon-method","url":"#!/api/LintRoller.linters.Esprima-method-runLinter","meta":{"private":true},"sort":3},{"name":"JSHint","fullName":"LintRoller.linters.JSHint","icon":"icon-class","url":"#!/api/LintRoller.linters.JSHint","meta":{},"sort":1},{"name":"lib","fullName":"LintRoller.linters.JSHint.lib","icon":"icon-property","url":"#!/api/LintRoller.linters.JSHint-property-lib","meta":{},"sort":3},{"name":"options","fullName":"LintRoller.linters.JSHint.options","icon":"icon-cfg","url":"#!/api/LintRoller.linters.JSHint-cfg-options","meta":{},"sort":3},{"name":"globals","fullName":"LintRoller.linters.JSHint.globals","icon":"icon-cfg","url":"#!/api/LintRoller.linters.JSHint-cfg-globals","meta":{},"sort":3},{"name":"applyLintOptions","fullName":"LintRoller.linters.JSHint.applyLintOptions","icon":"icon-method","url":"#!/api/LintRoller.linters.JSHint-method-applyLintOptions","meta":{"private":true},"sort":3},{"name":"runLinter","fullName":"LintRoller.linters.JSHint.runLinter","icon":"icon-method","url":"#!/api/LintRoller.linters.JSHint-method-runLinter","meta":{"private":true},"sort":3},{"name":"JSLint","fullName":"LintRoller.linters.JSLint","icon":"icon-class","url":"#!/api/LintRoller.linters.JSLint","meta":{},"sort":1},{"name":"lib","fullName":"LintRoller.linters.JSLint.lib","icon":"icon-property","url":"#!/api/LintRoller.linters.JSLint-property-lib","meta":{},"sort":3},{"name":"options","fullName":"LintRoller.linters.JSLint.options","icon":"icon-cfg","url":"#!/api/LintRoller.linters.JSLint-cfg-options","meta":{},"sort":3},{"name":"applyLintOptions","fullName":"LintRoller.linters.JSLint.applyLintOptions","icon":"icon-method","url":"#!/api/LintRoller.linters.JSLint-method-applyLintOptions","meta":{"private":true},"sort":3},{"name":"runLinter","fullName":"LintRoller.linters.JSLint.runLinter","icon":"icon-method","url":"#!/api/LintRoller.linters.JSLint-method-runLinter","meta":{"private":true},"sort":3},{"name":"Tabs","fullName":"LintRoller.linters.Tabs","icon":"icon-class","url":"#!/api/LintRoller.linters.Tabs","meta":{},"sort":1},{"name":"options","fullName":"LintRoller.linters.Tabs.options","icon":"icon-cfg","url":"#!/api/LintRoller.linters.Tabs-cfg-options","meta":{},"sort":3},{"name":"applyLintOptions","fullName":"LintRoller.linters.Tabs.applyLintOptions","icon":"icon-method","url":"#!/api/LintRoller.linters.Tabs-method-applyLintOptions","meta":{"private":true},"sort":3},{"name":"runLinter","fullName":"LintRoller.linters.Tabs.runLinter","icon":"icon-method","url":"#!/api/LintRoller.linters.Tabs-method-runLinter","meta":{"private":true},"sort":3},{"name":"W3C_HTML","fullName":"LintRoller.linters.W3C_HTML","icon":"icon-class","url":"#!/api/LintRoller.linters.W3C_HTML","meta":{},"sort":1},{"name":"options","fullName":"LintRoller.linters.W3C_HTML.options","icon":"icon-cfg","url":"#!/api/LintRoller.linters.W3C_HTML-cfg-options","meta":{},"sort":3},{"name":"applyLintOptions","fullName":"LintRoller.linters.W3C_HTML.applyLintOptions","icon":"icon-method","url":"#!/api/LintRoller.linters.W3C_HTML-method-applyLintOptions","meta":{"private":true},"sort":3},{"name":"runLinter","fullName":"LintRoller.linters.W3C_HTML.runLinter","icon":"icon-method","url":"#!/api/LintRoller.linters.W3C_HTML-method-runLinter","meta":{"private":true},"sort":3},{"name":"LintRoller","fullName":"LintRoller","icon":"icon-singleton","url":"#!/api/LintRoller","meta":{},"sort":1},{"name":"filepaths","fullName":"LintRoller.filepaths","icon":"icon-cfg","url":"#!/api/LintRoller-cfg-filepaths","meta":{},"sort":3},{"name":"exclusions","fullName":"LintRoller.exclusions","icon":"icon-cfg","url":"#!/api/LintRoller-cfg-exclusions","meta":{},"sort":3},{"name":"stdoutErrors","fullName":"LintRoller.stdoutErrors","icon":"icon-cfg","url":"#!/api/LintRoller-cfg-stdoutErrors","meta":{},"sort":3},{"name":"verbose","fullName":"LintRoller.verbose","icon":"icon-cfg","url":"#!/api/LintRoller-cfg-verbose","meta":{},"sort":3},{"name":"regex","fullName":"LintRoller.regex","icon":"icon-cfg","url":"#!/api/LintRoller-cfg-regex","meta":{},"sort":3},{"name":"defaultSuccessMessage","fullName":"LintRoller.defaultSuccessMessage","icon":"icon-cfg","url":"#!/api/LintRoller-cfg-defaultSuccessMessage","meta":{},"sort":3},{"name":"stopOnFirstError","fullName":"LintRoller.stopOnFirstError","icon":"icon-cfg","url":"#!/api/LintRoller-cfg-stopOnFirstError","meta":{},"sort":3},{"name":"linters","fullName":"LintRoller.linters","icon":"icon-cfg","url":"#!/api/LintRoller-cfg-linters","meta":{},"sort":3},{"name":"logFile","fullName":"LintRoller.logFile","icon":"icon-cfg","url":"#!/api/LintRoller-cfg-logFile","meta":{},"sort":3},{"name":"init","fullName":"LintRoller.init","icon":"icon-method","url":"#!/api/LintRoller-method-init","meta":{},"sort":3},{"name":"files","fullName":"LintRoller.files","icon":"icon-property","url":"#!/api/LintRoller-property-files","meta":{"private":true},"sort":3},{"name":"getVersion","fullName":"LintRoller.getVersion","icon":"icon-method","url":"#!/api/LintRoller-method-getVersion","meta":{},"sort":3},{"name":"initConfigs","fullName":"LintRoller.initConfigs","icon":"icon-method","url":"#!/api/LintRoller-method-initConfigs","meta":{"private":true},"sort":3},{"name":"setLinters","fullName":"LintRoller.setLinters","icon":"icon-method","url":"#!/api/LintRoller-method-setLinters","meta":{"private":true},"sort":3},{"name":"announceErrors","fullName":"LintRoller.announceErrors","icon":"icon-method","url":"#!/api/LintRoller-method-announceErrors","meta":{"private":true},"sort":3},{"name":"announceSuccess","fullName":"LintRoller.announceSuccess","icon":"icon-method","url":"#!/api/LintRoller-method-announceSuccess","meta":{"private":true},"sort":3},{"name":"getFiles","fullName":"LintRoller.getFiles","icon":"icon-method","url":"#!/api/LintRoller-method-getFiles","meta":{"private":true},"sort":3},{"name":"parseTree","fullName":"LintRoller.parseTree","icon":"icon-method","url":"#!/api/LintRoller-method-parseTree","meta":{"private":true},"sort":3},{"name":"parseFile","fullName":"LintRoller.parseFile","icon":"icon-method","url":"#!/api/LintRoller-method-parseFile","meta":{"private":true},"sort":3},{"name":"lintFiles","fullName":"LintRoller.lintFiles","icon":"icon-method","url":"#!/api/LintRoller-method-lintFiles","meta":{"private":true},"sort":3},{"name":"generateLogTitle","fullName":"LintRoller.generateLogTitle","icon":"icon-method","url":"#!/api/LintRoller-method-generateLogTitle","meta":{"private":true},"sort":3},{"name":"generateTextHeader","fullName":"LintRoller.generateTextHeader","icon":"icon-method","url":"#!/api/LintRoller-method-generateTextHeader","meta":{"private":true},"sort":3},{"name":"logToStdOut","fullName":"LintRoller.logToStdOut","icon":"icon-method","url":"#!/api/LintRoller-method-logToStdOut","meta":{"private":true},"sort":3},{"name":"logToFile","fullName":"LintRoller.logToFile","icon":"icon-method","url":"#!/api/LintRoller-method-logToFile","meta":{"private":true},"sort":3},{"name":"log","fullName":"LintRoller.log","icon":"icon-method","url":"#!/api/LintRoller-method-log","meta":{"private":true},"sort":3}],"guideSearch":{},"tests":false,"signatures":[{"long":"abstract","short":"ABS","tagname":"abstract"},{"long":"chainable","short":">","tagname":"chainable"},{"long":"deprecated","short":"DEP","tagname":"deprecated"},{"long":"experimental","short":"EXP","tagname":"experimental"},{"long":"★","short":"★","tagname":"new"},{"long":"preventable","short":"PREV","tagname":"preventable"},{"long":"private","short":"PRI","tagname":"private"},{"long":"protected","short":"PRO","tagname":"protected"},{"long":"readonly","short":"R O","tagname":"readonly"},{"long":"removed","short":"REM","tagname":"removed"},{"long":"required","short":"REQ","tagname":"required"},{"long":"static","short":"STA","tagname":"static"},{"long":"template","short":"TMP","tagname":"template"}],"memberTypes":[{"title":"Config options","toolbar_title":"Configs","position":1,"icon":"/Users/arthurakay/.rvm/gems/ruby-1.9.3-p448@global/gems/jsduck-5.3.4/lib/jsduck/tag/icons/cfg.png","subsections":[{"title":"Required config options","filter":{"required":true}},{"title":"Optional config options","filter":{"required":false},"default":true}],"name":"cfg"},{"title":"Properties","position":2,"icon":"/Users/arthurakay/.rvm/gems/ruby-1.9.3-p448@global/gems/jsduck-5.3.4/lib/jsduck/tag/icons/property.png","subsections":[{"title":"Instance properties","filter":{"static":false},"default":true},{"title":"Static properties","filter":{"static":true}}],"name":"property"},{"title":"Methods","position":3,"icon":"/Users/arthurakay/.rvm/gems/ruby-1.9.3-p448@global/gems/jsduck-5.3.4/lib/jsduck/tag/icons/method.png","subsections":[{"title":"Instance methods","filter":{"static":false},"default":true},{"title":"Static methods","filter":{"static":true}}],"name":"method"},{"title":"Events","position":4,"icon":"/Users/arthurakay/.rvm/gems/ruby-1.9.3-p448@global/gems/jsduck-5.3.4/lib/jsduck/tag/icons/event.png","name":"event"},{"title":"CSS Variables","toolbar_title":"CSS Vars","position":5,"icon":"/Users/arthurakay/.rvm/gems/ruby-1.9.3-p448@global/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_var.png","name":"css_var"},{"title":"CSS Mixins","position":6,"icon":"/Users/arthurakay/.rvm/gems/ruby-1.9.3-p448@global/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_mixin.png","name":"css_mixin"}],"localStorageDb":"docs","showPrintButton":false,"touchExamplesUi":false,"source":true,"commentsUrl":null,"commentsDomain":null,"message":""}};
View
16 docs/index.html
@@ -9,12 +9,13 @@
<link rel="shortcut icon" type="image/ico" href="favicon.ico" />
- <link rel="stylesheet" href="resources/css/app-c8e1f59f40e720cb5379f7041379119a.css" type="text/css" />
+ <link rel="stylesheet" href="resources/css/app-4689d2a5522dcd3c9e9923ca59c33f27.css" type="text/css" />
+ <link rel="stylesheet" href="styles-3eba09980fa05ead185cb17d9c0deb0f.css" type="text/css" />
<script type="text/javascript" src="extjs/ext-all.js"></script>
- <script type="text/javascript" src="data-848fe00ae319e0afba493fa962b9f548.js"></script>
+ <script type="text/javascript" src="data-affe84440729af1c80515e70a610b54e.js"></script>
- <script type="text/javascript" src="app-0b00cb36fe5624b12d5a495c4289e5d9.js"></script>
+ <script type="text/javascript" src="app-0c945a27f43452df695771ddb60b3d14.js"></script>
@@ -25,34 +26,35 @@
<div id="header-content">LintRoller API Docs</div>
- <div id='categories-content' style='display:none'>
+ <div id='categories-content' style='display:none'>
<div class='section'>
<h1>LintRoller</h1>
<div class='left-column'>
<h3>linters</h3>
<ul class='links'>
+<li><a href="#!/api/LintRoller.linters.BOM" rel="LintRoller.linters.BOM" class="docClass">LintRoller.linters.BOM</a></li>
<li><a href="#!/api/LintRoller.linters.Esprima" rel="LintRoller.linters.Esprima" class="docClass">LintRoller.linters.Esprima</a></li>
<li><a href="#!/api/LintRoller.linters.JSHint" rel="LintRoller.linters.JSHint" class="docClass">LintRoller.linters.JSHint</a></li>
<li><a href="#!/api/LintRoller.linters.JSLint" rel="LintRoller.linters.JSLint" class="docClass">LintRoller.linters.JSLint</a></li>
+<li><a href="#!/api/LintRoller.linters.Tabs" rel="LintRoller.linters.Tabs" class="docClass">LintRoller.linters.Tabs</a></li>
<li><a href="#!/api/LintRoller.linters.W3C_HTML" rel="LintRoller.linters.W3C_HTML" class="docClass">LintRoller.linters.W3C_HTML</a></li>
</ul>
</div>
<div class='middle-column'>
<h3>Others...</h3>
<ul class='links'>
<li><a href="#!/api/LintRoller" rel="LintRoller" class="docClass">LintRoller</a></li>
-<li><a href="#!/api/LintRoller.util" rel="LintRoller.util" class="docClass">LintRoller.util</a></li>
</ul>
</div>
<div class='right-column'>
</div>
<div style='clear:both'></div>
</div>
- </div>
+ </div>
- <div id='footer-content' style='display: none'>Generated on Mon 10 Jun 2013 10:58:41 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 4.10.0.</div>
+ <div id='footer-content' style='display: none'>Generated on Thu 05 Dec 2013 10:42:13 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 5.3.4.</div>
View
BIN docs/member-icons/cfg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN docs/member-icons/css_mixin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN docs/member-icons/css_var.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN docs/member-icons/event.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN docs/member-icons/method.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN docs/member-icons/property.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2 docs/output/LintRoller.js
@@ -1 +1 @@
-Ext.data.JsonP.LintRoller({"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/LintRoller.html#LintRoller' target='_blank'>LintRoller.js</a></div></pre><div class='doc-contents'><p>@version 2.3.3</p>\n\n<p>GitHub Project: http://arthurakay.github.com/LintRoller/</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-defaultSuccessMessage' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-defaultSuccessMessage' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-defaultSuccessMessage' class='name expandable'>defaultSuccessMessage</a><span> : String</span></div><div class='description'><div class='short'>Output message when no lint errors are found ...</div><div class='long'><p>Output message when no lint errors are found</p>\n<p>Defaults to: <code>'\\nSuccessfully linted your code!\\n\\n'</code></p></div></div></div><div id='cfg-exclusions' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-exclusions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-exclusions' class='name expandable'>exclusions</a><span> : Array</span></div><div class='description'><div class='short'>REQUIRED. ...</div><div class='long'><p>REQUIRED. An array of relative filepaths to the folders containing JS files that should NOT be linted</p>\n</div></div></div><div id='cfg-filepaths' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-filepaths' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-filepaths' class='name expandable'>filepaths</a><span> : Array</span></div><div class='description'><div class='short'>REQUIRED. ...</div><div class='long'><p>REQUIRED. An array of relative filepaths to the folders containing JS files</p>\n</div></div></div><div id='cfg-linters' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-linters' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-linters' class='name expandable'>linters</a><span> : Array</span></div><div class='description'><div class='short'>An array of lint module config objects. ...</div><div class='long'><p>An array of lint module config objects. See the classes under <a href=\"#!/api/LintRoller-cfg-linters\" rel=\"LintRoller-cfg-linters\" class=\"docClass\">LintRoller.linters</a> for more information.</p>\n<p>Defaults to: <code>[]</code></p></div></div></div><div id='cfg-logFile' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-logFile' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-logFile' class='name expandable'>logFile</a><span> : Object</span></div><div class='description'><div class='short'>An object containing:\n\n\n\"name\": the relative filepath to where error messages will be logged\n\"type\": the type of outp...</div><div class='long'><p>An object containing:</p>\n\n<ul>\n<li>\"name\": the relative filepath to where error messages will be logged</li>\n<li>\"type\": the type of output (\"text\", \"json\", or \"xml\")</li>\n</ul>\n\n\n<p> Set to null to disable logging errors to a file.</p>\n\n<p> You can optionally just provide a string as the filepath to a log file - the \"type\" will simply default to \"text\".</p>\n<p>Defaults to: <code>{name: 'error_log.txt', type: 'text'}</code></p></div></div></div><div id='cfg-regex' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-regex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-regex' class='name expandable'>regex</a><span> : RegExp</span></div><div class='description'><div class='short'>Regular Expression for matching files to lint ...</div><div class='long'><p>Regular Expression for matching files to lint</p>\n<p>Defaults to: <code>/\\.(js|html)$/i</code></p></div></div></div><div id='cfg-stdoutErrors' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-stdoutErrors' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-stdoutErrors' class='name expandable'>stdoutErrors</a><span> : Boolean</span></div><div class='description'><div class='short'>True to log errors directly into stdout ...</div><div class='long'><p>True to log errors directly into stdout</p>\n<p>Defaults to: <code>false</code></p></div></div></div><div id='cfg-stopOnFirstError' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-stopOnFirstError' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-stopOnFirstError' class='name expandable'>stopOnFirstError</a><span> : Boolean</span></div><div class='description'><div class='short'>True to stop linting your code when the first error is encountered. ...</div><div class='long'><p>True to stop linting your code when the first error is encountered.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-verbose' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-verbose' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-verbose' class='name expandable'>verbose</a><span> : Boolean</span></div><div class='description'><div class='short'>True to show verbose ouput in the terminal. ...</div><div class='long'><p>True to show verbose ouput in the terminal.</p>\n<p>Defaults to: <code>true</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-files' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-property-files' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-property-files' class='name expandable'>files</a><span> : Array</span><strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>[]</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-announceErrors' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-announceErrors' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-announceErrors' class='name expandable'>announceErrors</a>( <span class='pre'>errorList</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>errorList</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-announceSuccess' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-announceSuccess' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-announceSuccess' class='name expandable'>announceSuccess</a>( <span class='pre'></span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n</div></div></div><div id='method-getFiles' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-getFiles' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-getFiles' class='name expandable'>getFiles</a>( <span class='pre'>path</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>path</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getVersion' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-getVersion' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-getVersion' class='name expandable'>getVersion</a>( <span class='pre'></span> )</div><div class='description'><div class='short'> ...</div><div class='long'>\n</div></div></div><div id='method-init' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-init' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-init' class='name expandable'>init</a>( <span class='pre'>config</span> )</div><div class='description'><div class='short'>Call this method to de-lint your JavaScript codebase. ...</div><div class='long'><p>Call this method to de-lint your JavaScript codebase.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>config</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-initConfigs' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-initConfigs' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-initConfigs' class='name expandable'>initConfigs</a>( <span class='pre'>config</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>config</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-lintFiles' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-lintFiles' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-lintFiles' class='name expandable'>lintFiles</a>( <span class='pre'></span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n</div></div></div><div id='method-log' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-log' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-log' class='name expandable'>log</a>( <span class='pre'>msg, override</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>msg</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>override</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-logToFile' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-logToFile' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-logToFile' class='name expandable'>logToFile</a>( <span class='pre'>errorList</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>errorList</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-logToStdOut' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-logToStdOut' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-logToStdOut' class='name expandable'>logToStdOut</a>( <span class='pre'>errorList</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>errorList</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-parseFile' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-parseFile' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-parseFile' class='name expandable'>parseFile</a>( <span class='pre'>currPath, fileName</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>currPath</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>fileName</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-parseTree' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-parseTree' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-parseTree' class='name expandable'>parseTree</a>( <span class='pre'>pathConfig</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>pathConfig</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-setLinters' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-setLinters' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-setLinters' class='name expandable'>setLinters</a>( <span class='pre'>linters</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>linters</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","singleton":true,"override":null,"mixins":[],"html_meta":{"author":null},"alternateClassNames":[],"tagname":"class","component":false,"extends":null,"aliases":{},"uses":[],"inheritdoc":null,"subclasses":[],"statics":{"event":[],"css_var":[],"css_mixin":[],"cfg":[],"property":[],"method":[]},"members":{"event":[],"css_var":[],"css_mixin":[],"cfg":[{"owner":"LintRoller","tagname":"cfg","meta":{},"name":"defaultSuccessMessage","id":"cfg-defaultSuccessMessage"},{"owner":"LintRoller","tagname":"cfg","meta":{},"name":"exclusions","id":"cfg-exclusions"},{"owner":"LintRoller","tagname":"cfg","meta":{},"name":"filepaths","id":"cfg-filepaths"},{"owner":"LintRoller","tagname":"cfg","meta":{},"name":"linters","id":"cfg-linters"},{"owner":"LintRoller","tagname":"cfg","meta":{},"name":"logFile","id":"cfg-logFile"},{"owner":"LintRoller","tagname":"cfg","meta":{},"name":"regex","id":"cfg-regex"},{"owner":"LintRoller","tagname":"cfg","meta":{},"name":"stdoutErrors","id":"cfg-stdoutErrors"},{"owner":"LintRoller","tagname":"cfg","meta":{},"name":"stopOnFirstError","id":"cfg-stopOnFirstError"},{"owner":"LintRoller","tagname":"cfg","meta":{},"name":"verbose","id":"cfg-verbose"}],"property":[{"owner":"LintRoller","tagname":"property","meta":{"private":true},"name":"files","id":"property-files"}],"method":[{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"announceErrors","id":"method-announceErrors"},{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"announceSuccess","id":"method-announceSuccess"},{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"getFiles","id":"method-getFiles"},{"owner":"LintRoller","tagname":"method","meta":{},"name":"getVersion","id":"method-getVersion"},{"owner":"LintRoller","tagname":"method","meta":{},"name":"init","id":"method-init"},{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"initConfigs","id":"method-initConfigs"},{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"lintFiles","id":"method-lintFiles"},{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"log","id":"method-log"},{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"logToFile","id":"method-logToFile"},{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"logToStdOut","id":"method-logToStdOut"},{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"parseFile","id":"method-parseFile"},{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"parseTree","id":"method-parseTree"},{"owner":"LintRoller","tagname":"method","meta":{"private":true},"name":"setLinters","id":"method-setLinters"}]},"meta":{"author":["Arthur Kay (http://www.akawebdesign.com)"]},"mixedInto":[],"requires":[],"private":null,"superclasses":[],"linenr":23,"name":"LintRoller","enum":null,"parentMixins":[],"id":"class-LintRoller","files":[{"href":"LintRoller.html#LintRoller","filename":"LintRoller.js"}],"inheritable":null});
+Ext.data.JsonP.LintRoller({"tagname":"class","name":"LintRoller","autodetected":{},"files":[{"filename":"LintRoller.js","href":"LintRoller.html#LintRoller"}],"author":[{"tagname":"author","name":"Arthur Kay (http://www.akawebdesign.com)","email":null}],"singleton":true,"members":[{"name":"defaultSuccessMessage","tagname":"cfg","owner":"LintRoller","id":"cfg-defaultSuccessMessage","meta":{}},{"name":"exclusions","tagname":"cfg","owner":"LintRoller","id":"cfg-exclusions","meta":{}},{"name":"filepaths","tagname":"cfg","owner":"LintRoller","id":"cfg-filepaths","meta":{}},{"name":"linters","tagname":"cfg","owner":"LintRoller","id":"cfg-linters","meta":{}},{"name":"logFile","tagname":"cfg","owner":"LintRoller","id":"cfg-logFile","meta":{}},{"name":"regex","tagname":"cfg","owner":"LintRoller","id":"cfg-regex","meta":{}},{"name":"stdoutErrors","tagname":"cfg","owner":"LintRoller","id":"cfg-stdoutErrors","meta":{}},{"name":"stopOnFirstError","tagname":"cfg","owner":"LintRoller","id":"cfg-stopOnFirstError","meta":{}},{"name":"verbose","tagname":"cfg","owner":"LintRoller","id":"cfg-verbose","meta":{}},{"name":"files","tagname":"property","owner":"LintRoller","id":"property-files","meta":{"private":true}},{"name":"announceErrors","tagname":"method","owner":"LintRoller","id":"method-announceErrors","meta":{"private":true}},{"name":"announceSuccess","tagname":"method","owner":"LintRoller","id":"method-announceSuccess","meta":{"private":true}},{"name":"generateLogTitle","tagname":"method","owner":"LintRoller","id":"method-generateLogTitle","meta":{"private":true}},{"name":"generateTextHeader","tagname":"method","owner":"LintRoller","id":"method-generateTextHeader","meta":{"private":true}},{"name":"getFiles","tagname":"method","owner":"LintRoller","id":"method-getFiles","meta":{"private":true}},{"name":"getVersion","tagname":"method","owner":"LintRoller","id":"method-getVersion","meta":{}},{"name":"init","tagname":"method","owner":"LintRoller","id":"method-init","meta":{}},{"name":"initConfigs","tagname":"method","owner":"LintRoller","id":"method-initConfigs","meta":{"private":true}},{"name":"lintFiles","tagname":"method","owner":"LintRoller","id":"method-lintFiles","meta":{"private":true}},{"name":"log","tagname":"method","owner":"LintRoller","id":"method-log","meta":{"private":true}},{"name":"logToFile","tagname":"method","owner":"LintRoller","id":"method-logToFile","meta":{"private":true}},{"name":"logToStdOut","tagname":"method","owner":"LintRoller","id":"method-logToStdOut","meta":{"private":true}},{"name":"parseFile","tagname":"method","owner":"LintRoller","id":"method-parseFile","meta":{"private":true}},{"name":"parseTree","tagname":"method","owner":"LintRoller","id":"method-parseTree","meta":{"private":true}},{"name":"setLinters","tagname":"method","owner":"LintRoller","id":"method-setLinters","meta":{"private":true}}],"alternateClassNames":[],"aliases":{},"id":"class-LintRoller","short_doc":"@version 2.3.5\n\nGitHub Pages: http://arthurakay.github.io/LintRoller/\n\nGitHub Repo: https://github.com/arthurakay/Lin...","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/LintRoller.html#LintRoller' target='_blank'>LintRoller.js</a></div></pre><div class='doc-contents'><p>@version 2.3.5</p>\n\n<p>GitHub Pages: <a href=\"http://arthurakay.github.io/LintRoller/\">http://arthurakay.github.io/LintRoller/</a></p>\n\n<p>GitHub Repo: <a href=\"https://github.com/arthurakay/LintRoller\">https://github.com/arthurakay/LintRoller</a></p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-defaultSuccessMessage' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-defaultSuccessMessage' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-defaultSuccessMessage' class='name expandable'>defaultSuccessMessage</a> : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Output message when no lint errors are found ...</div><div class='long'><p>Output message when no lint errors are found</p>\n<p>Defaults to: <code>'\\nSuccessfully linted your code!\\n\\n'</code></p></div></div></div><div id='cfg-exclusions' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-exclusions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-exclusions' class='name expandable'>exclusions</a> : Array<span class=\"signature\"></span></div><div class='description'><div class='short'>REQUIRED. ...</div><div class='long'><p>REQUIRED. An array of relative filepaths to the folders containing JS files that should NOT be linted</p>\n</div></div></div><div id='cfg-filepaths' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-filepaths' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-filepaths' class='name expandable'>filepaths</a> : Array<span class=\"signature\"></span></div><div class='description'><div class='short'>REQUIRED. ...</div><div class='long'><p>REQUIRED. An array of relative filepaths to the folders containing JS files</p>\n</div></div></div><div id='cfg-linters' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-linters' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-linters' class='name expandable'>linters</a> : Array<span class=\"signature\"></span></div><div class='description'><div class='short'>An array of lint module config objects. ...</div><div class='long'><p>An array of lint module config objects. See the classes under <a href=\"#!/api/LintRoller-cfg-linters\" rel=\"LintRoller-cfg-linters\" class=\"docClass\">LintRoller.linters</a> for more information.</p>\n<p>Defaults to: <code>[]</code></p></div></div></div><div id='cfg-logFile' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-logFile' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-logFile' class='name expandable'>logFile</a> : Object/String<span class=\"signature\"></span></div><div class='description'><div class='short'>An object containing:\n\n\n\"name\": the relative filepath to where error messages will be logged\n\"type\": the type of outp...</div><div class='long'><p>An object containing:</p>\n\n<ul>\n<li>\"name\": the relative filepath to where error messages will be logged</li>\n<li>\"type\": the type of output (\"text\" or \"json\")</li>\n</ul>\n\n\n<p> Set to null to disable logging errors to a file.</p>\n\n<p> You can optionally just provide a string as the filepath to a log file - the \"type\" will simply default to \"text\".</p>\n\n<p> For JSON output, errors returned in following format:</p>\n\n<pre><code> errorList = {\n totalErrors : 1,\n totalFiles : 1,\n\n lineCounts : {\n jslint : 35\n },\n\n //one array per configured linter\n jslint : [\n {\n file : 'file.js',\n line : 0,\n character : 0,\n reason : 'Just because!'\n }\n ]\n }\n</code></pre>\n<p>Defaults to: <code>{name: 'error_log.txt', type: 'text'}</code></p></div></div></div><div id='cfg-regex' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-regex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-regex' class='name expandable'>regex</a> : RegularExpression<span class=\"signature\"></span></div><div class='description'><div class='short'>Regular Expression for matching files to lint ...</div><div class='long'><p>Regular Expression for matching files to lint</p>\n<p>Defaults to: <code>/\\.(js|html)$/i</code></p></div></div></div><div id='cfg-stdoutErrors' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-stdoutErrors' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-stdoutErrors' class='name expandable'>stdoutErrors</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>True to log errors directly into stdout ...</div><div class='long'><p>True to log errors directly into stdout</p>\n<p>Defaults to: <code>false</code></p></div></div></div><div id='cfg-stopOnFirstError' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-stopOnFirstError' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-stopOnFirstError' class='name expandable'>stopOnFirstError</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>True to stop linting your code when the first error is encountered. ...</div><div class='long'><p>True to stop linting your code when the first error is encountered.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-verbose' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-cfg-verbose' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-cfg-verbose' class='name expandable'>verbose</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>True to show verbose ouput in the terminal. ...</div><div class='long'><p>True to show verbose ouput in the terminal.</p>\n<p>Defaults to: <code>true</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-files' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-property-files' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-property-files' class='name expandable'>files</a> : Array<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<p>Defaults to: <code>[]</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-announceErrors' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-announceErrors' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-announceErrors' class='name expandable'>announceErrors</a>( <span class='pre'>errorList</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>errorList</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-announceSuccess' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-announceSuccess' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-announceSuccess' class='name expandable'>announceSuccess</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n</div></div></div><div id='method-generateLogTitle' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-generateLogTitle' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-generateLogTitle' class='name expandable'>generateLogTitle</a>( <span class='pre'>errorList</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>errorList</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-generateTextHeader' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-generateTextHeader' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-generateTextHeader' class='name expandable'>generateTextHeader</a>( <span class='pre'>linter, lintErrors</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>linter</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>lintErrors</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-getFiles' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-getFiles' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-getFiles' class='name expandable'>getFiles</a>( <span class='pre'>path</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>path</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-getVersion' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-getVersion' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-getVersion' class='name expandable'>getVersion</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the current version number. ...</div><div class='long'><p>Returns the current version number.</p>\n</div></div></div><div id='method-init' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-init' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-init' class='name expandable'>init</a>( <span class='pre'>config</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Call this method to de-lint your JavaScript codebase. ...</div><div class='long'><p>Call this method to de-lint your JavaScript codebase.</p>\n\n<p>See the examples for specific usage, but the basic idea:</p>\n\n<pre><code>var LintRoller = require('LintRoller');\n\nvar config = {\n\n //recursively include JS files in these folders\n filepaths : [\n './'\n ],\n\n //but ignore anything in these folders\n exclusions : [\n './node_modules/',\n ],\n\n linters : [\n { type : 'jsLint' }\n ]\n};\n\n<a href=\"#!/api/LintRoller-method-init\" rel=\"LintRoller-method-init\" class=\"docClass\">LintRoller.init</a>(config);\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>config</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-initConfigs' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-initConfigs' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-initConfigs' class='name expandable'>initConfigs</a>( <span class='pre'>config</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>config</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-lintFiles' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-lintFiles' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-lintFiles' class='name expandable'>lintFiles</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n</div></div></div><div id='method-log' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-log' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-log' class='name expandable'>log</a>( <span class='pre'>msg, override</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>msg</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>override</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-logToFile' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-logToFile' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-logToFile' class='name expandable'>logToFile</a>( <span class='pre'>errorList</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>errorList</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-logToStdOut' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-logToStdOut' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-logToStdOut' class='name expandable'>logToStdOut</a>( <span class='pre'>errorList</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>errorList</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-parseFile' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-parseFile' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-parseFile' class='name expandable'>parseFile</a>( <span class='pre'>currPath, fileName</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>currPath</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>fileName</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-parseTree' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-parseTree' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-parseTree' class='name expandable'>parseTree</a>( <span class='pre'>pathConfig</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>pathConfig</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-setLinters' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller'>LintRoller</span><br/><a href='source/LintRoller.html#LintRoller-method-setLinters' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller-method-setLinters' class='name expandable'>setLinters</a>( <span class='pre'>linters</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>linters</span> : Object<div class='sub-desc'></div></li></ul></div></div></div></div></div></div></div>","meta":{}});
View
1 docs/output/LintRoller.linters.BOM.js
@@ -0,0 +1 @@
+Ext.data.JsonP.LintRoller_linters_BOM({"tagname":"class","name":"LintRoller.linters.BOM","autodetected":{},"files":[{"filename":"bom.js","href":"bom.html#LintRoller-linters-BOM"}],"members":[{"name":"options","tagname":"cfg","owner":"LintRoller.linters.BOM","id":"cfg-options","meta":{}},{"name":"applyLintOptions","tagname":"method","owner":"LintRoller.linters.BOM","id":"method-applyLintOptions","meta":{"private":true}},{"name":"runLinter","tagname":"method","owner":"LintRoller.linters.BOM","id":"method-runLinter","meta":{"private":true}}],"alternateClassNames":[],"aliases":{},"id":"class-LintRoller.linters.BOM","short_doc":"A utility that will remove all Byte-Order-Marks (BOM - \\uFEFF) from a file\n\nCreated automatically if a { type : 'bom'...","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/bom.html#LintRoller-linters-BOM' target='_blank'>bom.js</a></div></pre><div class='doc-contents'><p>A utility that will remove all Byte-Order-Marks (BOM - \\uFEFF) from a file</p>\n\n<p>Created automatically if a { type : 'bom' } config is passed to the linters array.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-options' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.BOM'>LintRoller.linters.BOM</span><br/><a href='source/bom.html#LintRoller-linters-BOM-cfg-options' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.BOM-cfg-options' class='name expandable'>options</a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>An object containing lint validation options ...</div><div class='long'><p>An object containing lint validation options</p>\n<p>Defaults to: <code>{}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-applyLintOptions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.BOM'>LintRoller.linters.BOM</span><br/><a href='source/bom.html#LintRoller-linters-BOM-method-applyLintOptions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.BOM-method-applyLintOptions' class='name expandable'>applyLintOptions</a>( <span class='pre'>options</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-runLinter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.BOM'>LintRoller.linters.BOM</span><br/><a href='source/bom.html#LintRoller-linters-BOM-method-runLinter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.BOM-method-runLinter' class='name expandable'>runLinter</a>( <span class='pre'>parentModule, callback</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parentModule</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>callback</span> : Object<div class='sub-desc'></div></li></ul></div></div></div></div></div></div></div>","meta":{}});
View
2 docs/output/LintRoller.linters.Esprima.js
@@ -1 +1 @@
-Ext.data.JsonP.LintRoller_linters_Esprima({"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/esprima.html#LintRoller-linters-Esprima' target='_blank'>esprima.js</a></div></pre><div class='doc-contents'><p>Created automatically if a { type : 'esprima' } config is passed to the linters array.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-options' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.Esprima'>LintRoller.linters.Esprima</span><br/><a href='source/esprima.html#LintRoller-linters-Esprima-cfg-options' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.Esprima-cfg-options' class='name expandable'>options</a><span> : Object</span></div><div class='description'><div class='short'>An object containing lint validation options ...</div><div class='long'><p>An object containing lint validation options</p>\n<p>Defaults to: <code>{tolerant: true}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-applyLintOptions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.Esprima'>LintRoller.linters.Esprima</span><br/><a href='source/esprima.html#LintRoller-linters-Esprima-method-applyLintOptions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.Esprima-method-applyLintOptions' class='name expandable'>applyLintOptions</a>( <span class='pre'>options</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-runLinter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.Esprima'>LintRoller.linters.Esprima</span><br/><a href='source/esprima.html#LintRoller-linters-Esprima-method-runLinter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.Esprima-method-runLinter' class='name expandable'>runLinter</a>( <span class='pre'>parentModule, callback</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parentModule</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>callback</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","singleton":false,"override":null,"mixins":[],"html_meta":{},"alternateClassNames":[],"tagname":"class","component":false,"extends":null,"aliases":{},"uses":[],"inheritdoc":null,"subclasses":[],"statics":{"event":[],"css_var":[],"css_mixin":[],"cfg":[],"property":[],"method":[]},"members":{"event":[],"css_var":[],"css_mixin":[],"cfg":[{"owner":"LintRoller.linters.Esprima","tagname":"cfg","meta":{},"name":"options","id":"cfg-options"}],"property":[],"method":[{"owner":"LintRoller.linters.Esprima","tagname":"method","meta":{"private":true},"name":"applyLintOptions","id":"method-applyLintOptions"},{"owner":"LintRoller.linters.Esprima","tagname":"method","meta":{"private":true},"name":"runLinter","id":"method-runLinter"}]},"meta":{},"mixedInto":[],"requires":[],"private":null,"superclasses":[],"linenr":4,"name":"LintRoller.linters.Esprima","enum":null,"parentMixins":[],"id":"class-LintRoller.linters.Esprima","files":[{"href":"esprima.html#LintRoller-linters-Esprima","filename":"esprima.js"}],"inheritable":null});
+Ext.data.JsonP.LintRoller_linters_Esprima({"tagname":"class","name":"LintRoller.linters.Esprima","autodetected":{},"files":[{"filename":"esprima.js","href":"esprima.html#LintRoller-linters-Esprima"}],"members":[{"name":"options","tagname":"cfg","owner":"LintRoller.linters.Esprima","id":"cfg-options","meta":{}},{"name":"applyLintOptions","tagname":"method","owner":"LintRoller.linters.Esprima","id":"method-applyLintOptions","meta":{"private":true}},{"name":"runLinter","tagname":"method","owner":"LintRoller.linters.Esprima","id":"method-runLinter","meta":{"private":true}}],"alternateClassNames":[],"aliases":{},"id":"class-LintRoller.linters.Esprima","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/esprima.html#LintRoller-linters-Esprima' target='_blank'>esprima.js</a></div></pre><div class='doc-contents'><p>Created automatically if a { type : 'esprima' } config is passed to the linters array.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-options' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.Esprima'>LintRoller.linters.Esprima</span><br/><a href='source/esprima.html#LintRoller-linters-Esprima-cfg-options' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.Esprima-cfg-options' class='name expandable'>options</a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>An object containing lint validation options ...</div><div class='long'><p>An object containing lint validation options</p>\n<p>Defaults to: <code>{tolerant: true}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-applyLintOptions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.Esprima'>LintRoller.linters.Esprima</span><br/><a href='source/esprima.html#LintRoller-linters-Esprima-method-applyLintOptions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.Esprima-method-applyLintOptions' class='name expandable'>applyLintOptions</a>( <span class='pre'>options</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-runLinter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.Esprima'>LintRoller.linters.Esprima</span><br/><a href='source/esprima.html#LintRoller-linters-Esprima-method-runLinter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.Esprima-method-runLinter' class='name expandable'>runLinter</a>( <span class='pre'>parentModule, callback</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parentModule</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>callback</span> : Object<div class='sub-desc'></div></li></ul></div></div></div></div></div></div></div>","meta":{}});
View
2 docs/output/LintRoller.linters.JSHint.js
@@ -1 +1 @@
-Ext.data.JsonP.LintRoller_linters_JSHint({"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/jshint.html#LintRoller-linters-JSHint' target='_blank'>jshint.js</a></div></pre><div class='doc-contents'><p>Created automatically if a { type : 'jsHint' } config is passed to the linters array.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-globals' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSHint'>LintRoller.linters.JSHint</span><br/><a href='source/jshint.html#LintRoller-linters-JSHint-cfg-globals' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSHint-cfg-globals' class='name expandable'>globals</a><span> : Object</span></div><div class='description'><div class='short'>An object containing the pre-defined globals of the lint validation options ...</div><div class='long'><p>An object containing the pre-defined globals of the lint validation options</p>\n<p>Defaults to: <code>{}</code></p></div></div></div><div id='cfg-options' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSHint'>LintRoller.linters.JSHint</span><br/><a href='source/jshint.html#LintRoller-linters-JSHint-cfg-options' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSHint-cfg-options' class='name expandable'>options</a><span> : Object</span></div><div class='description'><div class='short'>An object containing lint validation options ...</div><div class='long'><p>An object containing lint validation options</p>\n<p>Defaults to: <code>{}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-lib' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSHint'>LintRoller.linters.JSHint</span><br/><a href='source/jshint.html#LintRoller-linters-JSHint-property-lib' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSHint-property-lib' class='name not-expandable'>lib</a><span> : Object</span></div><div class='description'><div class='short'><p>JSHint</p>\n</div><div class='long'><p>JSHint</p>\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-applyLintOptions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSHint'>LintRoller.linters.JSHint</span><br/><a href='source/jshint.html#LintRoller-linters-JSHint-method-applyLintOptions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSHint-method-applyLintOptions' class='name expandable'>applyLintOptions</a>( <span class='pre'>options</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-runLinter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSHint'>LintRoller.linters.JSHint</span><br/><a href='source/jshint.html#LintRoller-linters-JSHint-method-runLinter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSHint-method-runLinter' class='name expandable'>runLinter</a>( <span class='pre'>parentModule, callback</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parentModule</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>callback</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","singleton":false,"override":null,"mixins":[],"html_meta":{},"alternateClassNames":[],"tagname":"class","component":false,"extends":null,"aliases":{},"uses":[],"inheritdoc":null,"subclasses":[],"statics":{"event":[],"css_var":[],"css_mixin":[],"cfg":[],"property":[],"method":[]},"members":{"event":[],"css_var":[],"css_mixin":[],"cfg":[{"owner":"LintRoller.linters.JSHint","tagname":"cfg","meta":{},"name":"globals","id":"cfg-globals"},{"owner":"LintRoller.linters.JSHint","tagname":"cfg","meta":{},"name":"options","id":"cfg-options"}],"property":[{"owner":"LintRoller.linters.JSHint","tagname":"property","meta":{},"name":"lib","id":"property-lib"}],"method":[{"owner":"LintRoller.linters.JSHint","tagname":"method","meta":{"private":true},"name":"applyLintOptions","id":"method-applyLintOptions"},{"owner":"LintRoller.linters.JSHint","tagname":"method","meta":{"private":true},"name":"runLinter","id":"method-runLinter"}]},"meta":{},"mixedInto":[],"requires":[],"private":null,"superclasses":[],"linenr":4,"name":"LintRoller.linters.JSHint","enum":null,"parentMixins":[],"id":"class-LintRoller.linters.JSHint","files":[{"href":"jshint.html#LintRoller-linters-JSHint","filename":"jshint.js"}],"inheritable":null});
+Ext.data.JsonP.LintRoller_linters_JSHint({"tagname":"class","name":"LintRoller.linters.JSHint","autodetected":{},"files":[{"filename":"jshint.js","href":"jshint.html#LintRoller-linters-JSHint"}],"members":[{"name":"globals","tagname":"cfg","owner":"LintRoller.linters.JSHint","id":"cfg-globals","meta":{}},{"name":"options","tagname":"cfg","owner":"LintRoller.linters.JSHint","id":"cfg-options","meta":{}},{"name":"lib","tagname":"property","owner":"LintRoller.linters.JSHint","id":"property-lib","meta":{}},{"name":"applyLintOptions","tagname":"method","owner":"LintRoller.linters.JSHint","id":"method-applyLintOptions","meta":{"private":true}},{"name":"runLinter","tagname":"method","owner":"LintRoller.linters.JSHint","id":"method-runLinter","meta":{"private":true}}],"alternateClassNames":[],"aliases":{},"id":"class-LintRoller.linters.JSHint","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/jshint.html#LintRoller-linters-JSHint' target='_blank'>jshint.js</a></div></pre><div class='doc-contents'><p>Created automatically if a { type : 'jsHint' } config is passed to the linters array.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-globals' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSHint'>LintRoller.linters.JSHint</span><br/><a href='source/jshint.html#LintRoller-linters-JSHint-cfg-globals' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSHint-cfg-globals' class='name expandable'>globals</a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>An object containing the pre-defined globals of the lint validation options ...</div><div class='long'><p>An object containing the pre-defined globals of the lint validation options</p>\n<p>Defaults to: <code>{}</code></p></div></div></div><div id='cfg-options' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSHint'>LintRoller.linters.JSHint</span><br/><a href='source/jshint.html#LintRoller-linters-JSHint-cfg-options' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSHint-cfg-options' class='name expandable'>options</a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>An object containing lint validation options ...</div><div class='long'><p>An object containing lint validation options</p>\n<p>Defaults to: <code>{}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-lib' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSHint'>LintRoller.linters.JSHint</span><br/><a href='source/jshint.html#LintRoller-linters-JSHint-property-lib' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSHint-property-lib' class='name expandable'>lib</a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'><p>JSHint</p>\n</div><div class='long'><p>JSHint</p>\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-applyLintOptions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSHint'>LintRoller.linters.JSHint</span><br/><a href='source/jshint.html#LintRoller-linters-JSHint-method-applyLintOptions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSHint-method-applyLintOptions' class='name expandable'>applyLintOptions</a>( <span class='pre'>options</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-runLinter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSHint'>LintRoller.linters.JSHint</span><br/><a href='source/jshint.html#LintRoller-linters-JSHint-method-runLinter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSHint-method-runLinter' class='name expandable'>runLinter</a>( <span class='pre'>parentModule, callback</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parentModule</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>callback</span> : Object<div class='sub-desc'></div></li></ul></div></div></div></div></div></div></div>","meta":{}});
View
2 docs/output/LintRoller.linters.JSLint.js
@@ -1 +1 @@
-Ext.data.JsonP.LintRoller_linters_JSLint({"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/jslint.html#LintRoller-linters-JSLint' target='_blank'>jslint.js</a></div></pre><div class='doc-contents'><p>Created automatically if a { type : 'jsLint' } config is passed to the linters array.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-options' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSLint'>LintRoller.linters.JSLint</span><br/><a href='source/jslint.html#LintRoller-linters-JSLint-cfg-options' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSLint-cfg-options' class='name expandable'>options</a><span> : Object</span></div><div class='description'><div class='short'>An object containing lint validation options ...</div><div class='long'><p>An object containing lint validation options</p>\n<p>Defaults to: <code>{nomen: true, plusplus: true, sloppy: true, vars: true, white: true, undef: true, node: true, browser: true, stupid: true, fragement: true}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-lib' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSLint'>LintRoller.linters.JSLint</span><br/><a href='source/jslint.html#LintRoller-linters-JSLint-property-lib' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSLint-property-lib' class='name not-expandable'>lib</a><span> : Object</span></div><div class='description'><div class='short'><p>JSLint</p>\n</div><div class='long'><p>JSLint</p>\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-applyLintOptions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSLint'>LintRoller.linters.JSLint</span><br/><a href='source/jslint.html#LintRoller-linters-JSLint-method-applyLintOptions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSLint-method-applyLintOptions' class='name expandable'>applyLintOptions</a>( <span class='pre'>options</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-runLinter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSLint'>LintRoller.linters.JSLint</span><br/><a href='source/jslint.html#LintRoller-linters-JSLint-method-runLinter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSLint-method-runLinter' class='name expandable'>runLinter</a>( <span class='pre'>parentModule, callback</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parentModule</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>callback</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","singleton":false,"override":null,"mixins":[],"html_meta":{},"alternateClassNames":[],"tagname":"class","component":false,"extends":null,"aliases":{},"uses":[],"inheritdoc":null,"subclasses":[],"statics":{"event":[],"css_var":[],"css_mixin":[],"cfg":[],"property":[],"method":[]},"members":{"event":[],"css_var":[],"css_mixin":[],"cfg":[{"owner":"LintRoller.linters.JSLint","tagname":"cfg","meta":{},"name":"options","id":"cfg-options"}],"property":[{"owner":"LintRoller.linters.JSLint","tagname":"property","meta":{},"name":"lib","id":"property-lib"}],"method":[{"owner":"LintRoller.linters.JSLint","tagname":"method","meta":{"private":true},"name":"applyLintOptions","id":"method-applyLintOptions"},{"owner":"LintRoller.linters.JSLint","tagname":"method","meta":{"private":true},"name":"runLinter","id":"method-runLinter"}]},"meta":{},"mixedInto":[],"requires":[],"private":null,"superclasses":[],"linenr":4,"name":"LintRoller.linters.JSLint","enum":null,"parentMixins":[],"id":"class-LintRoller.linters.JSLint","files":[{"href":"jslint.html#LintRoller-linters-JSLint","filename":"jslint.js"}],"inheritable":null});
+Ext.data.JsonP.LintRoller_linters_JSLint({"tagname":"class","name":"LintRoller.linters.JSLint","autodetected":{},"files":[{"filename":"jslint.js","href":"jslint.html#LintRoller-linters-JSLint"}],"members":[{"name":"options","tagname":"cfg","owner":"LintRoller.linters.JSLint","id":"cfg-options","meta":{}},{"name":"lib","tagname":"property","owner":"LintRoller.linters.JSLint","id":"property-lib","meta":{}},{"name":"applyLintOptions","tagname":"method","owner":"LintRoller.linters.JSLint","id":"method-applyLintOptions","meta":{"private":true}},{"name":"runLinter","tagname":"method","owner":"LintRoller.linters.JSLint","id":"method-runLinter","meta":{"private":true}}],"alternateClassNames":[],"aliases":{},"id":"class-LintRoller.linters.JSLint","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/jslint.html#LintRoller-linters-JSLint' target='_blank'>jslint.js</a></div></pre><div class='doc-contents'><p>Created automatically if a { type : 'jsLint' } config is passed to the linters array.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-options' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSLint'>LintRoller.linters.JSLint</span><br/><a href='source/jslint.html#LintRoller-linters-JSLint-cfg-options' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSLint-cfg-options' class='name expandable'>options</a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>An object containing lint validation options ...</div><div class='long'><p>An object containing lint validation options</p>\n<p>Defaults to: <code>{nomen: true, plusplus: true, sloppy: true, vars: true, white: true, undef: true, node: true, browser: true, stupid: true, fragement: true}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-lib' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSLint'>LintRoller.linters.JSLint</span><br/><a href='source/jslint.html#LintRoller-linters-JSLint-property-lib' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSLint-property-lib' class='name expandable'>lib</a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'><p>JSLint</p>\n</div><div class='long'><p>JSLint</p>\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-applyLintOptions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSLint'>LintRoller.linters.JSLint</span><br/><a href='source/jslint.html#LintRoller-linters-JSLint-method-applyLintOptions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSLint-method-applyLintOptions' class='name expandable'>applyLintOptions</a>( <span class='pre'>options</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-runLinter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.JSLint'>LintRoller.linters.JSLint</span><br/><a href='source/jslint.html#LintRoller-linters-JSLint-method-runLinter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.JSLint-method-runLinter' class='name expandable'>runLinter</a>( <span class='pre'>parentModule, callback</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parentModule</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>callback</span> : Object<div class='sub-desc'></div></li></ul></div></div></div></div></div></div></div>","meta":{}});
View
1 docs/output/LintRoller.linters.Tabs.js
@@ -0,0 +1 @@
+Ext.data.JsonP.LintRoller_linters_Tabs({"tagname":"class","name":"LintRoller.linters.Tabs","autodetected":{},"files":[{"filename":"tabs.js","href":"tabs.html#LintRoller-linters-Tabs"}],"members":[{"name":"options","tagname":"cfg","owner":"LintRoller.linters.Tabs","id":"cfg-options","meta":{}},{"name":"applyLintOptions","tagname":"method","owner":"LintRoller.linters.Tabs","id":"method-applyLintOptions","meta":{"private":true}},{"name":"runLinter","tagname":"method","owner":"LintRoller.linters.Tabs","id":"method-runLinter","meta":{"private":true}}],"alternateClassNames":[],"aliases":{},"id":"class-LintRoller.linters.Tabs","short_doc":"A utility for replacing all tabs found in your source files with spaces. ...","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/tabs.html#LintRoller-linters-Tabs' target='_blank'>tabs.js</a></div></pre><div class='doc-contents'><p>A utility for replacing all tabs found in your source files with spaces.</p>\n\n<p>Created automatically if a { type : 'tabs' } config is passed to the linters array.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-options' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.Tabs'>LintRoller.linters.Tabs</span><br/><a href='source/tabs.html#LintRoller-linters-Tabs-cfg-options' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.Tabs-cfg-options' class='name expandable'>options</a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>An object containing lint validation options ...</div><div class='long'><p>An object containing lint validation options</p>\n<p>Defaults to: <code>{spaces: 4}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-applyLintOptions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.Tabs'>LintRoller.linters.Tabs</span><br/><a href='source/tabs.html#LintRoller-linters-Tabs-method-applyLintOptions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.Tabs-method-applyLintOptions' class='name expandable'>applyLintOptions</a>( <span class='pre'>options</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-runLinter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.Tabs'>LintRoller.linters.Tabs</span><br/><a href='source/tabs.html#LintRoller-linters-Tabs-method-runLinter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.Tabs-method-runLinter' class='name expandable'>runLinter</a>( <span class='pre'>parentModule, callback</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parentModule</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>callback</span> : Object<div class='sub-desc'></div></li></ul></div></div></div></div></div></div></div>","meta":{}});
View
2 docs/output/LintRoller.linters.W3C_HTML.js
@@ -1 +1 @@
-Ext.data.JsonP.LintRoller_linters_W3C_HTML({"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/w3c_html.html#LintRoller-linters-W3C_HTML' target='_blank'>w3c_html.js</a></div></pre><div class='doc-contents'><p>Created automatically if a { type : 'w3c_html' } config is passed to the linters array.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-options' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.W3C_HTML'>LintRoller.linters.W3C_HTML</span><br/><a href='source/w3c_html.html#LintRoller-linters-W3C_HTML-cfg-options' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.W3C_HTML-cfg-options' class='name expandable'>options</a><span> : Object</span></div><div class='description'><div class='short'>An object containing lint validation options:\n\n\nfileTypes {Array} An array of matching file types (defaults to [ 'htm...</div><div class='long'><p>An object containing lint validation options:</p>\n\n<ul>\n<li>fileTypes {Array} An array of matching file types (defaults to [ 'html' ] )</li>\n</ul>\n\n<p>Defaults to: <code>{fileTypes: ['html']}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-applyLintOptions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.W3C_HTML'>LintRoller.linters.W3C_HTML</span><br/><a href='source/w3c_html.html#LintRoller-linters-W3C_HTML-method-applyLintOptions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.W3C_HTML-method-applyLintOptions' class='name expandable'>applyLintOptions</a>( <span class='pre'>options</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-runLinter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.W3C_HTML'>LintRoller.linters.W3C_HTML</span><br/><a href='source/w3c_html.html#LintRoller-linters-W3C_HTML-method-runLinter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.W3C_HTML-method-runLinter' class='name expandable'>runLinter</a>( <span class='pre'>parentModule, callback</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parentModule</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>callback</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","singleton":false,"override":null,"mixins":[],"html_meta":{},"alternateClassNames":[],"tagname":"class","component":false,"extends":null,"aliases":{},"uses":[],"inheritdoc":null,"subclasses":[],"statics":{"event":[],"css_var":[],"css_mixin":[],"cfg":[],"property":[],"method":[]},"members":{"event":[],"css_var":[],"css_mixin":[],"cfg":[{"owner":"LintRoller.linters.W3C_HTML","tagname":"cfg","meta":{},"name":"options","id":"cfg-options"}],"property":[],"method":[{"owner":"LintRoller.linters.W3C_HTML","tagname":"method","meta":{"private":true},"name":"applyLintOptions","id":"method-applyLintOptions"},{"owner":"LintRoller.linters.W3C_HTML","tagname":"method","meta":{"private":true},"name":"runLinter","id":"method-runLinter"}]},"meta":{},"mixedInto":[],"requires":[],"private":null,"superclasses":[],"linenr":4,"name":"LintRoller.linters.W3C_HTML","enum":null,"parentMixins":[],"id":"class-LintRoller.linters.W3C_HTML","files":[{"href":"w3c_html.html#LintRoller-linters-W3C_HTML","filename":"w3c_html.js"}],"inheritable":null});
+Ext.data.JsonP.LintRoller_linters_W3C_HTML({"tagname":"class","name":"LintRoller.linters.W3C_HTML","autodetected":{},"files":[{"filename":"w3c_html.js","href":"w3c_html.html#LintRoller-linters-W3C_HTML"}],"members":[{"name":"options","tagname":"cfg","owner":"LintRoller.linters.W3C_HTML","id":"cfg-options","meta":{}},{"name":"applyLintOptions","tagname":"method","owner":"LintRoller.linters.W3C_HTML","id":"method-applyLintOptions","meta":{"private":true}},{"name":"runLinter","tagname":"method","owner":"LintRoller.linters.W3C_HTML","id":"method-runLinter","meta":{"private":true}}],"alternateClassNames":[],"aliases":{},"id":"class-LintRoller.linters.W3C_HTML","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/w3c_html.html#LintRoller-linters-W3C_HTML' target='_blank'>w3c_html.js</a></div></pre><div class='doc-contents'><p>Created automatically if a { type : 'w3c_html' } config is passed to the linters array.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-options' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.W3C_HTML'>LintRoller.linters.W3C_HTML</span><br/><a href='source/w3c_html.html#LintRoller-linters-W3C_HTML-cfg-options' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.W3C_HTML-cfg-options' class='name expandable'>options</a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>An object containing lint validation options:\n\n\nfileTypes {Array} An array of matching file types (defaults to [ 'htm...</div><div class='long'><p>An object containing lint validation options:</p>\n\n<ul>\n<li>fileTypes {Array} An array of matching file types (defaults to [ 'html' ] )</li>\n</ul>\n\n<p>Defaults to: <code>{fileTypes: ['html']}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-applyLintOptions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.W3C_HTML'>LintRoller.linters.W3C_HTML</span><br/><a href='source/w3c_html.html#LintRoller-linters-W3C_HTML-method-applyLintOptions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.W3C_HTML-method-applyLintOptions' class='name expandable'>applyLintOptions</a>( <span class='pre'>options</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>options</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-runLinter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.linters.W3C_HTML'>LintRoller.linters.W3C_HTML</span><br/><a href='source/w3c_html.html#LintRoller-linters-W3C_HTML-method-runLinter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.linters.W3C_HTML-method-runLinter' class='name expandable'>runLinter</a>( <span class='pre'>parentModule, callback</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parentModule</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>callback</span> : Object<div class='sub-desc'></div></li></ul></div></div></div></div></div></div></div>","meta":{}});
View
1 docs/output/LintRoller.util.js
@@ -1 +0,0 @@
-Ext.data.JsonP.LintRoller_util({"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/util.html#LintRoller-util' target='_blank'>util.js</a></div></pre><div class='doc-contents'><p>Some additional utilities for cleaning up JavaScript lint.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-findLintErrors' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.util'>LintRoller.util</span><br/><a href='source/util.html#LintRoller-util-method-findLintErrors' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.util-method-findLintErrors' class='name expandable'>findLintErrors</a>( <span class='pre'>linter, options, msg</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>linter</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>options</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>msg</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-fixBomFiles' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.util'>LintRoller.util</span><br/><a href='source/util.html#LintRoller-util-method-fixBomFiles' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.util-method-fixBomFiles' class='name expandable'>fixBomFiles</a>( <span class='pre'>offendingFiles</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>offendingFiles</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-fixOffendingFiles' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.util'>LintRoller.util</span><br/><a href='source/util.html#LintRoller-util-method-fixOffendingFiles' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.util-method-fixOffendingFiles' class='name expandable'>fixOffendingFiles</a>( <span class='pre'>offendingFiles, spacingChars</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>offendingFiles</span> : Object<div class='sub-desc'>\n</div></li><li><span class='pre'>spacingChars</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-init' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.util'>LintRoller.util</span><br/><a href='source/util.html#LintRoller-util-method-init' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.util-method-init' class='name expandable'>init</a>( <span class='pre'>parent</span> ) : <a href=\"#!/api/LintRoller.util\" rel=\"LintRoller.util\" class=\"docClass\">LintRoller.util</a><strong class='chainable signature' >chainable</strong><strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parent</span> : Object<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/LintRoller.util\" rel=\"LintRoller.util\" class=\"docClass\">LintRoller.util</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-locateOffenders' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.util'>LintRoller.util</span><br/><a href='source/util.html#LintRoller-util-method-locateOffenders' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.util-method-locateOffenders' class='name expandable'>locateOffenders</a>( <span class='pre'>msg</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>msg</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-removeBOM' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.util'>LintRoller.util</span><br/><a href='source/util.html#LintRoller-util-method-removeBOM' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.util-method-removeBOM' class='name expandable'>removeBOM</a>( <span class='pre'>config</span> )</div><div class='description'><div class='short'>A utility that will remove all Byte-Order-Marks (BOM - \\uFEFF) from a file ...</div><div class='long'><p>A utility that will remove all Byte-Order-Marks (BOM - \\uFEFF) from a file</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>config</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-replaceTabsWithSpaces' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.util'>LintRoller.util</span><br/><a href='source/util.html#LintRoller-util-method-replaceTabsWithSpaces' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.util-method-replaceTabsWithSpaces' class='name expandable'>replaceTabsWithSpaces</a>( <span class='pre'>config, spacingChars</span> )</div><div class='description'><div class='short'>A utility that will eliminate all \"Mixed spaces with tabs.\" warnings by replacing tab characters with spaces. ...</div><div class='long'><p>A utility that will eliminate all \"Mixed spaces with tabs.\" warnings by replacing tab characters with spaces.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>config</span> : Object<div class='sub-desc'><p>A configuration object</p>\n</div></li><li><span class='pre'>spacingChars</span> : Number<div class='sub-desc'><p>The number of spaces to replace a tab</p>\n</div></li></ul></div></div></div><div id='method-utilInit' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='LintRoller.util'>LintRoller.util</span><br/><a href='source/util.html#LintRoller-util-method-utilInit' target='_blank' class='view-source'>view source</a></div><a href='#!/api/LintRoller.util-method-utilInit' class='name expandable'>utilInit</a>( <span class='pre'>config</span> )<strong class='private signature' >private</strong></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>config</span> : Object<div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","singleton":true,"override":null,"mixins":[],"html_meta":{},"alternateClassNames":[],"tagname":"class","component":false,"extends":null,"aliases":{},"uses":[],"inheritdoc":null,"subclasses":[],"statics":{"event":[],"css_var":[],"css_mixin":[],"cfg":[],"property":[],"method":[]},"members":{"event":[],"css_var":[],"css_mixin":[],"cfg":[],"property":[],"method":[{"owner":"LintRoller.util","tagname":"method","meta":{"private":true},"name":"findLintErrors","id":"method-findLintErrors"},{"owner":"LintRoller.util","tagname":"method","meta":{"private":true},"name":"fixBomFiles","id":"method-fixBomFiles"},{"owner":"LintRoller.util","tagname":"method","meta":{"private":true},"name":"fixOffendingFiles","id":"method-fixOffendingFiles"},{"owner":"LintRoller.util","tagname":"method","meta":{"chainable":true,"private":true},"name":"init","id":"method-init"},{"owner":"LintRoller.util","tagname":"method","meta":{"private":true},"name":"locateOffenders","id":"method-locateOffenders"},{"owner":"LintRoller.util","tagname":"method","meta":{},"name":"removeBOM","id":"method-removeBOM"},{"owner":"LintRoller.util","tagname":"method","meta":{},"name":"replaceTabsWithSpaces","id":"method-replaceTabsWithSpaces"},{"owner":"LintRoller.util","tagname":"method","meta":{"private":true},"name":"utilInit","id":"method-utilInit"}]},"meta":{},"mixedInto":[],"requires":[],"private":null,"superclasses":[],"linenr":1,"name":"LintRoller.util","enum":null,"parentMixins":[],"id":"class-LintRoller.util","files":[{"href":"util.html#LintRoller-util","filename":"util.js"}],"inheritable":null});
View
1 docs/resources/css/app-4689d2a5522dcd3c9e9923ca59c33f27.css
1 addition, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
1 docs/resources/css/app-c8e1f59f40e720cb5379f7041379119a.css
0 additions, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
BIN docs/resources/images/gettingstarted.jpg
Deleted file not rendered
View
BIN docs/resources/images/guide-icon.png
Deleted file not rendered
View
BIN docs/resources/images/guides.png
Deleted file not rendered
View
BIN docs/resources/images/link-arrow-next.png
Deleted file not rendered
View
BIN docs/resources/images/preview.png
Deleted file not rendered
View
BIN docs/resources/images/sencha-stamp.png
Deleted file not rendered
View
BIN docs/resources/images/version-tabs.png
Deleted file not rendered
View
BIN docs/resources/images/x122.png
Deleted file not rendered
View
58 docs/resources/prettify/prettify.js
@@ -1,28 +1,30 @@
-var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
-(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=
-[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?(d=m(f[c+2]),c+=2):d=j;b.push([j,d]);d<65||j>122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;c<b.length;++c)i=b[c],i[0]<=j[1]+1?j[1]=Math.max(j[1],i[1]):f.push(j=i);b=["["];o&&b.push("^");b.push.apply(b,a);for(c=0;c<
-f.length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c<b;++c){var j=f[c];j==="("?++i:"\\"===j.charAt(0)&&(j=+j.substring(1))&&j<=i&&(d[j]=-1)}for(c=1;c<d.length;++c)-1===d[c]&&(d[c]=++t);for(i=c=0;c<b;++c)j=f[c],j==="("?(++i,d[i]===void 0&&(f[c]="(?:")):"\\"===j.charAt(0)&&
-(j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){s=!0;l=!1;break}}for(var r=
-{b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M(a){function m(a){switch(a.nodeType){case 1:if(e.test(a.className))break;for(var g=a.firstChild;g;g=g.nextSibling)m(g);g=a.nodeName;if("BR"===g||"LI"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\n\r ]+/g," "),h[s]=g,t[s<<1]=y,y+=g.length,
-t[s++<<1|1]=a)}}var e=/(?:^|\s)nocode(?:\s|$)/,h=[],y=0,t=[],s=0,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=document.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b===
-"string")c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),
-l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
-q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,
-q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
-"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),
-a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}
-for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g<d.length;++g)e(d[g]);m===(m|0)&&d[0].setAttribute("value",
-m);var r=s.createElement("OL");r.className="linenums";for(var n=Math.max(0,m-1|0)||0,g=0,z=d.length;g<z;++g)l=d[g],l.className="L"+(g+n)%10,l.firstChild||l.appendChild(s.createTextNode("\xa0")),r.appendChild(l);a.appendChild(r)}function k(a,m){for(var e=m.length;--e>=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*</.test(m)?"default-markup":"default-code";return A[a]}function E(a){var m=
-a.g;try{var e=M(a.h),h=e.a;a.a=h;a.c=e.c;a.d=0;C(m,h)(a);var k=/\bMSIE\b/.test(navigator.userAgent),m=/\n/g,t=a.a,s=t.length,e=0,l=a.c,p=l.length,h=0,d=a.e,g=d.length,a=0;d[g]=s;var r,n;for(n=r=0;n<g;)d[n]!==d[n+2]?(d[r++]=d[n++],d[r++]=d[n++]):n+=2;g=r;for(n=r=0;n<g;){for(var z=d[n],f=d[n+1],b=n+2;b+2<=g&&d[b+1]===f;)b+=2;d[r++]=z;d[r++]=f;n=b}for(d.length=r;h<p;){var o=l[h+2]||s,c=d[a+2]||s,b=Math.min(o,c),i=l[h+1],j;if(i.nodeType!==1&&(j=t.substring(e,b))){k&&(j=j.replace(m,"\r"));i.nodeValue=
-j;var u=i.ownerDocument,v=u.createElement("SPAN");v.className=d[a+1];var x=i.parentNode;x.replaceChild(v,i);v.appendChild(i);e<o&&(l[h+1]=i=u.createTextNode(t.substring(b,o)),x.insertBefore(i,v.nextSibling))}e=b;e>=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
-"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],
-H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
-J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+
-I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),
-["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
-/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),
-["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",
-hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p<h.length&&l.now()<e;p++){var n=h[p],k=n.className;if(k.indexOf("prettyprint")>=0){var k=k.match(g),f,b;if(b=
-!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p<h.length?setTimeout(m,
-250):a&&a()}for(var e=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],h=[],k=0;k<e.length;++k)for(var t=0,s=e[k].length;t<s;++t)h.push(e[k][t]);var e=q,l=Date;l.now||(l={now:function(){return+new Date}});var p=0,d,g=/\blang(?:uage)?-([\w.]+)(?!\S)/;m()};window.PR={createSimpleLexer:x,registerLangHandler:k,sourceDecorator:u,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",
-PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}})();
+!function(){var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
+(function(){function S(a){function d(e){var b=e.charCodeAt(0);if(b!==92)return b;var a=e.charAt(1);return(b=r[a])?b:"0"<=a&&a<="7"?parseInt(e.substring(1),8):a==="u"||a==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function g(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return e==="\\"||e==="-"||e==="]"||e==="^"?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),e=[],a=
+b[0]==="^",c=["["];a&&c.push("^");for(var a=a?1:0,f=b.length;a<f;++a){var h=b[a];if(/\\[bdsw]/i.test(h))c.push(h);else{var h=d(h),l;a+2<f&&"-"===b[a+1]?(l=d(b[a+2]),a+=2):l=h;e.push([h,l]);l<65||h>122||(l<65||h>90||e.push([Math.max(65,h)|32,Math.min(l,90)|32]),l<97||h>122||e.push([Math.max(97,h)&-33,Math.min(l,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];f=[];for(a=0;a<e.length;++a)h=e[a],h[0]<=f[1]+1?f[1]=Math.max(f[1],h[1]):b.push(f=h);for(a=0;a<b.length;++a)h=b[a],c.push(g(h[0])),
+h[1]>h[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(g(h[1])));c.push("]");return c.join("")}function s(e){for(var a=e.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),c=a.length,d=[],f=0,h=0;f<c;++f){var l=a[f];l==="("?++h:"\\"===l.charAt(0)&&(l=+l.substring(1))&&(l<=h?d[l]=-1:a[f]=g(l))}for(f=1;f<d.length;++f)-1===d[f]&&(d[f]=++x);for(h=f=0;f<c;++f)l=a[f],l==="("?(++h,d[h]||(a[f]="(?:")):"\\"===l.charAt(0)&&(l=+l.substring(1))&&l<=h&&
+(a[f]="\\"+d[l]);for(f=0;f<c;++f)"^"===a[f]&&"^"!==a[f+1]&&(a[f]="");if(e.ignoreCase&&m)for(f=0;f<c;++f)l=a[f],e=l.charAt(0),l.length>=2&&e==="["?a[f]=b(l):e!=="\\"&&(a[f]=l.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var x=0,m=!1,j=!1,k=0,c=a.length;k<c;++k){var i=a[k];if(i.ignoreCase)j=!0;else if(/[a-z]/i.test(i.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){m=!0;j=!1;break}}for(var r={b:8,t:9,n:10,v:11,
+f:12,r:13},n=[],k=0,c=a.length;k<c;++k){i=a[k];if(i.global||i.multiline)throw Error(""+i);n.push("(?:"+s(i)+")")}return RegExp(n.join("|"),j?"gi":"g")}function T(a,d){function g(a){var c=a.nodeType;if(c==1){if(!b.test(a.className)){for(c=a.firstChild;c;c=c.nextSibling)g(c);c=a.nodeName.toLowerCase();if("br"===c||"li"===c)s[j]="\n",m[j<<1]=x++,m[j++<<1|1]=a}}else if(c==3||c==4)c=a.nodeValue,c.length&&(c=d?c.replace(/\r\n?/g,"\n"):c.replace(/[\t\n\r ]+/g," "),s[j]=c,m[j<<1]=x,x+=c.length,m[j++<<1|1]=
+a)}var b=/(?:^|\s)nocode(?:\s|$)/,s=[],x=0,m=[],j=0;g(a);return{a:s.join("").replace(/\n$/,""),d:m}}function H(a,d,g,b){d&&(a={a:d,e:a},g(a),b.push.apply(b,a.g))}function U(a){for(var d=void 0,g=a.firstChild;g;g=g.nextSibling)var b=g.nodeType,d=b===1?d?a:g:b===3?V.test(g.nodeValue)?a:d:d;return d===a?void 0:d}function C(a,d){function g(a){for(var j=a.e,k=[j,"pln"],c=0,i=a.a.match(s)||[],r={},n=0,e=i.length;n<e;++n){var z=i[n],w=r[z],t=void 0,f;if(typeof w==="string")f=!1;else{var h=b[z.charAt(0)];
+if(h)t=z.match(h[1]),w=h[0];else{for(f=0;f<x;++f)if(h=d[f],t=z.match(h[1])){w=h[0];break}t||(w="pln")}if((f=w.length>=5&&"lang-"===w.substring(0,5))&&!(t&&typeof t[1]==="string"))f=!1,w="src";f||(r[z]=w)}h=c;c+=z.length;if(f){f=t[1];var l=z.indexOf(f),B=l+f.length;t[2]&&(B=z.length-t[2].length,l=B-f.length);w=w.substring(5);H(j+h,z.substring(0,l),g,k);H(j+h+l,f,I(w,f),k);H(j+h+B,z.substring(B),g,k)}else k.push(j+h,w)}a.g=k}var b={},s;(function(){for(var g=a.concat(d),j=[],k={},c=0,i=g.length;c<i;++c){var r=
+g[c],n=r[3];if(n)for(var e=n.length;--e>=0;)b[n.charAt(e)]=r;r=r[1];n=""+r;k.hasOwnProperty(n)||(j.push(r),k[n]=q)}j.push(/[\S\s]/);s=S(j)})();var x=d.length;return g}function v(a){var d=[],g=[];a.tripleQuotedStrings?d.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?d.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
+q,"'\"`"]):d.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&g.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var b=a.hashComments;b&&(a.cStyleComments?(b>1?d.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):d.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),g.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,q])):d.push(["com",
+/^#[^\n\r]*/,q,"#"]));a.cStyleComments&&(g.push(["com",/^\/\/[^\n\r]*/,q]),g.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));if(b=a.regexLiterals){var s=(b=b>1?"":"\n\r")?".":"[\\S\\s]";g.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+
+s+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&g.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&g.push(["kwd",RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),q]);d.push(["pln",/^\s+/,q," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");g.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,
+q],["pun",RegExp(b),q]);return C(d,g)}function J(a,d,g){function b(a){var c=a.nodeType;if(c==1&&!x.test(a.className))if("br"===a.nodeName)s(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((c==3||c==4)&&g){var d=a.nodeValue,i=d.match(m);if(i)c=d.substring(0,i.index),a.nodeValue=c,(d=d.substring(i.index+i[0].length))&&a.parentNode.insertBefore(j.createTextNode(d),a.nextSibling),s(a),c||a.parentNode.removeChild(a)}}function s(a){function b(a,c){var d=
+c?a.cloneNode(!1):a,e=a.parentNode;if(e){var e=b(e,1),g=a.nextSibling;e.appendChild(d);for(var i=g;i;i=g)g=i.nextSibling,e.appendChild(i)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),d;(d=a.parentNode)&&d.nodeType===1;)a=d;c.push(a)}for(var x=/(?:^|\s)nocode(?:\s|$)/,m=/\r\n?|\n/,j=a.ownerDocument,k=j.createElement("li");a.firstChild;)k.appendChild(a.firstChild);for(var c=[k],i=0;i<c.length;++i)b(c[i]);d===(d|0)&&c[0].setAttribute("value",d);var r=j.createElement("ol");
+r.className="linenums";for(var d=Math.max(0,d-1|0)||0,i=0,n=c.length;i<n;++i)k=c[i],k.className="L"+(i+d)%10,k.firstChild||k.appendChild(j.createTextNode("\u00a0")),r.appendChild(k);a.appendChild(r)}function p(a,d){for(var g=d.length;--g>=0;){var b=d[g];F.hasOwnProperty(b)?D.console&&console.warn("cannot override language handler %s",b):F[b]=a}}function I(a,d){if(!a||!F.hasOwnProperty(a))a=/^\s*</.test(d)?"default-markup":"default-code";return F[a]}function K(a){var d=a.h;try{var g=T(a.c,a.i),b=g.a;
+a.a=b;a.d=g.d;a.e=0;I(d,b)(a);var s=/\bMSIE\s(\d+)/.exec(navigator.userAgent),s=s&&+s[1]<=8,d=/\n/g,x=a.a,m=x.length,g=0,j=a.d,k=j.length,b=0,c=a.g,i=c.length,r=0;c[i]=m;var n,e;for(e=n=0;e<i;)c[e]!==c[e+2]?(c[n++]=c[e++],c[n++]=c[e++]):e+=2;i=n;for(e=n=0;e<i;){for(var p=c[e],w=c[e+1],t=e+2;t+2<=i&&c[t+1]===w;)t+=2;c[n++]=p;c[n++]=w;e=t}c.length=n;var f=a.c,h;if(f)h=f.style.display,f.style.display="none";try{for(;b<k;){var l=j[b+2]||m,B=c[r+2]||m,t=Math.min(l,B),A=j[b+1],G;if(A.nodeType!==1&&(G=x.substring(g,
+t))){s&&(G=G.replace(d,"\r"));A.nodeValue=G;var L=A.ownerDocument,o=L.createElement("span");o.className=c[r+1];var v=A.parentNode;v.replaceChild(o,A);o.appendChild(A);g<l&&(j[b+1]=A=L.createTextNode(x.substring(t,l)),v.insertBefore(A,o.nextSibling))}g=t;g>=l&&(b+=2);g>=B&&(r+=2)}}finally{if(f)f.style.display=h}}catch(u){D.console&&console.log(u&&u.stack||u)}}var D=window,y=["break,continue,do,else,for,if,return,while"],E=[[y,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
+"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],M=[E,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],N=[E,"abstract,assert,boolean,byte,extends,final,finally,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],
+O=[N,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],E=[E,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],P=[y,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
+Q=[y,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],W=[y,"as,assert,const,copy,drop,enum,extern,fail,false,fn,impl,let,log,loop,match,mod,move,mut,priv,pub,pure,ref,self,static,struct,true,trait,type,unsafe,use"],y=[y,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],R=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,
+V=/\S/,X=v({keywords:[M,O,E,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",P,Q,y],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),F={};p(X,["default-code"]);p(C([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",
+/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);p(C([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],
+["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);p(C([],[["atv",/^[\S\s]+/]]),["uq.val"]);p(v({keywords:M,hashComments:!0,cStyleComments:!0,types:R}),["c","cc","cpp","cxx","cyc","m"]);p(v({keywords:"null,true,false"}),["json"]);p(v({keywords:O,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:R}),
+["cs"]);p(v({keywords:N,cStyleComments:!0}),["java"]);p(v({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);p(v({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);p(v({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);p(v({keywords:Q,
+hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);p(v({keywords:E,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]);p(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);p(v({keywords:W,cStyleComments:!0,multilineStrings:!0}),["rc","rs","rust"]);
+p(C([],[["str",/^[\S\s]+/]]),["regex"]);var Y=D.PR={createSimpleLexer:C,registerLangHandler:p,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:D.prettyPrintOne=function(a,d,g){var b=document.createElement("div");b.innerHTML="<pre>"+a+"</pre>";b=b.firstChild;g&&J(b,g,!0);K({h:d,j:g,c:b,i:1});
+return b.innerHTML},prettyPrint:D.prettyPrint=function(a,d){function g(){for(var b=D.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;i<p.length&&c.now()<b;i++){for(var d=p[i],j=h,k=d;k=k.previousSibling;){var m=k.nodeType,o=(m===7||m===8)&&k.nodeValue;if(o?!/^\??prettify\b/.test(o):m!==3||/\S/.test(k.nodeValue))break;if(o){j={};o.replace(/\b(\w+)=([\w%+\-.:]+)/g,function(a,b,c){j[b]=c});break}}k=d.className;if((j!==h||e.test(k))&&!v.test(k)){m=!1;for(o=d.parentNode;o;o=o.parentNode)if(f.test(o.tagName)&&
+o.className&&e.test(o.className)){m=!0;break}if(!m){d.className+=" prettyprinted";m=j.lang;if(!m){var m=k.match(n),y;if(!m&&(y=U(d))&&t.test(y.tagName))m=y.className.match(n);m&&(m=m[1])}if(w.test(d.tagName))o=1;else var o=d.currentStyle,u=s.defaultView,o=(o=o?o.whiteSpace:u&&u.getComputedStyle?u.getComputedStyle(d,q).getPropertyValue("white-space"):0)&&"pre"===o.substring(0,3);u=j.linenums;if(!(u=u==="true"||+u))u=(u=k.match(/\blinenums\b(?::(\d+))?/))?u[1]&&u[1].length?+u[1]:!0:!1;u&&J(d,u,o);r=
+{h:m,c:d,j:u,i:o};K(r)}}}i<p.length?setTimeout(g,250):"function"===typeof a&&a()}for(var b=d||document.body,s=b.ownerDocument||document,b=[b.getElementsByTagName("pre"),b.getElementsByTagName("code"),b.getElementsByTagName("xmp")],p=[],m=0;m<b.length;++m)for(var j=0,k=b[m].length;j<k;++j)p.push(b[m][j]);var b=q,c=Date;c.now||(c={now:function(){return+new Date}});var i=0,r,n=/\blang(?:uage)?-([\w.]+)(?!\S)/,e=/\bprettyprint\b/,v=/\bprettyprinted\b/,w=/pre|xmp/i,t=/^code$/i,f=/^(?:pre|code|xmp)$/i,
+h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify",[],function(){return Y})})();}()
View
188 docs/source/LintRoller.html
@@ -41,13 +41,15 @@
</span> * @class LintRoller
* @author Arthur Kay (http://www.akawebdesign.com)
* @singleton
- * @version 2.3.3
+ * @version 2.3.5
*
- * GitHub Project: http://arthurakay.github.com/LintRoller/
+ * GitHub Pages: [http://arthurakay.github.io/LintRoller/](http://arthurakay.github.io/LintRoller/)
+ *
+ * GitHub Repo: [https://github.com/arthurakay/LintRoller](https://github.com/arthurakay/LintRoller)
*/
&quot;use strict&quot;;
-var version = '2.3.3';
+var version = '2.3.5';
var LintRoller = {
<span id='LintRoller-cfg-filepaths'> /**
@@ -61,51 +63,72 @@
*/
<span id='LintRoller-cfg-stdoutErrors'> /**
-</span> * @cfg
+</span> * @cfg {Boolean}
* True to log errors directly into stdout
*/
stdoutErrors : false,
<span id='LintRoller-cfg-verbose'> /**
-</span> * @cfg
+</span> * @cfg {Boolean}
* True to show verbose ouput in the terminal.
*/
verbose : true,
<span id='LintRoller-cfg-regex'> /**
-</span> * @cfg
+</span> * @cfg {RegularExpression}
* Regular Expression for matching files to lint
*/
regex : /\.(js|html)$/i,
<span id='LintRoller-cfg-defaultSuccessMessage'> /**
-</span> * @cfg
+</span> * @cfg {String}
* Output message when no lint errors are found
*/
defaultSuccessMessage : '\nSuccessfully linted your code!\n\n',
<span id='LintRoller-cfg-stopOnFirstError'> /**
-</span> * @cfg
+</span> * @cfg {Boolean}
* True to stop linting your code when the first error is encountered.
*/
stopOnFirstError : true,
<span id='LintRoller-cfg-linters'> /**
-</span> * @cfg
+</span> * @cfg {Array}
* An array of lint module config objects. See the classes under LintRoller.linters for more information.
*/
linters : [],
<span id='LintRoller-cfg-logFile'> /**
-</span> * @cfg
+</span> * @cfg {Object/String}
* An object containing:
*
* - &quot;name&quot;: the relative filepath to where error messages will be logged
- * - &quot;type&quot;: the type of output (&quot;text&quot;, &quot;json&quot;, or &quot;xml&quot;)
+ * - &quot;type&quot;: the type of output (&quot;text&quot; or &quot;json&quot;)
*
* Set to null to disable logging errors to a file.
*
* You can optionally just provide a string as the filepath to a log file - the &quot;type&quot; will simply default to &quot;text&quot;.
+ *
+ * For JSON output, errors returned in following format:
+ *
+ * errorList = {
+ * totalErrors : 1,
+ * totalFiles : 1,
+ *
+ * lineCounts : {
+ * jslint : 35
+ * },
+ *
+ * //one array per configured linter
+ * jslint : [
+ * {
+ * file : 'file.js',
+ * line : 0,
+ * character : 0,
+ * reason : 'Just because!'
+ * }
+ * ]
+ * }
*/
logFile : {
name : 'error_log.txt',
@@ -114,6 +137,30 @@
<span id='LintRoller-method-init'> /**
</span> * Call this method to de-lint your JavaScript codebase.
+ *
+ * See the examples for specific usage, but the basic idea:
+ *
+ * var LintRoller = require('LintRoller');
+ *
+ * var config = {
+ *
+ * //recursively include JS files in these folders
+ * filepaths : [
+ * './'
+ * ],
+ *
+ * //but ignore anything in these folders
+ * exclusions : [
+ * './node_modules/',
+ * ],
+ *
+ * linters : [
+ * { type : 'jsLint' }
+ * ]
+ * };
+ *
+ * LintRoller.init(config);
+ *
*/
init : function (config) {
this.log('*** LintRoller v' + this.getVersion() + ' ***\n', true);
@@ -135,6 +182,8 @@
<span id='LintRoller-method-getVersion'> /**
</span> * @method
+ *
+ * Returns the current version number.
*/
getVersion : function () {
return version;
@@ -144,7 +193,8 @@
</span> * @private
*/
initConfigs : function (config) {
- var i;
+ var i,
+ logFile;
if (!config) {
return false;
@@ -156,7 +206,7 @@
this.setLinters(config[i]);
}
else if (i === 'logFile') {
- var logFile = config[i];
+ logFile = config[i];
if (logFile === null) {
delete this.logFile;
@@ -255,17 +305,19 @@
path = pathConfig; //should be an array of strings
}
+ var currPath, exclude, j,
+ list, x;
+
for (i; i &lt; path.length; i++) {
- var currPath = path[i];
- var exclude = false;
+ currPath = path[i];
+ exclude = false;
this.log('\n*** currPath: ' + currPath);
if (this.exclusions) {
this.log('Checking exclusion paths...');
- var j = 0;
- for (j; j &lt; this.exclusions.length; j++) {
+ for (j = 0; j &lt; this.exclusions.length; j++) {
if (currPath === this.exclusions[j]) {
exclude = true;
}
@@ -285,10 +337,9 @@
else {
this.log(currPath + ' is a directory. Running parseFile() on all contained files...');
- var list = this.getFiles(currPath);
- var x = 0;
+ list = this.getFiles(currPath);
- for (x; x &lt; list.length; x++) {
+ for (x = 0; x &lt; list.length; x++) {
this.parseFile(currPath, list[x]);
}
}
@@ -341,10 +392,14 @@
*/
lintFiles : function () {
var me = this,
- errorList = {},
+ errorList = {
+ totalFiles : this.files.length,
+
+ lineCounts : {}
+ },
errors = 0;
- this.log('\n' + this.files.length + ' matching files found.', true);
+ this.log('\n' + errorList.totalFiles + ' matching files found.', true);
/*
* Loop through all files with each linter
@@ -355,17 +410,25 @@
function (linter, callback) {
linter.runLinter(
me,
- function (newErrors) {
- errors += newErrors.length; //ignore the first record, which is a title
+ function (newErrors, lineCount) {
+ if (newErrors) {
+ errors += newErrors.length;
+ errorList[linter.name] = newErrors;
+ }
- errorList[linter.name] = newErrors;
+ if (lineCount) {
+ errorList.lineCounts[linter.name] = lineCount;
+ }
callback(null);
}
);
},
- function (e) {
+ /*
+ * When all linting is complete...
+ */
+ function () {
errorList.totalErrors = errors;
if (errors &gt; 0) {
@@ -378,24 +441,56 @@
);
},
-<span id='LintRoller-method-logToStdOut'> /**
+<span id='LintRoller-method-generateLogTitle'> /**
</span> * @private
*/
- logToStdOut : function (errorList) {
- errorList.title = 'LintRoller : Output for ' + new Date();
- this.log('\nFound ' + errorList.totalErrors + ' errors.', true);
+ generateLogTitle : function(errorList) {
+ var output, key,
+ lineCounts = errorList.lineCounts;
+
+ output = [
+ 'LintRoller v' + this.getVersion() + '\n',
+ ' Output for ' + new Date() + '\n',
+ ' Total files found : ' + errorList.totalFiles,
+ ' All errors reported : ' + errorList.totalErrors,
+ '\n'
+ ];
+
+ for (key in lineCounts) {
+ if (lineCounts.hasOwnProperty(key)) {
+ output.push(' ' + lineCounts[key] + ' lines checked via ' + key.toUpperCase());
+ }
+ }
+
+ output.push('\n');
+
+ return output.join('\n');
+ },
- var output = errorList.title + '\n\n';
- output += this.formatTextOutput(errorList);
+<span id='LintRoller-method-generateTextHeader'> /**
+</span> * @private
+ */
+ generateTextHeader : function(linter, lintErrors) {
+ return [
+ '=============== ',
+ 'Running ' + linter.toUpperCase(),
+ ' [ Total errors: ' + lintErrors.length + ' ] ',
+ '===============',
+ '\n\n'
+ ].join('');
+ },
- this.log(output, true);
+<span id='LintRoller-method-logToStdOut'> /**
+</span> * @private
+ */
+ logToStdOut : function (errorList) {
+ this.log(this.formatTextOutput(errorList), true);
},
<span id='LintRoller-method-logToFile'> /**
</span> * @private
*/
logToFile : function (errorList) {
- errorList.title = 'LintRoller : Output for ' + new Date();
this.log('\nWriting ' + errorList.totalErrors + ' errors to new log file.', true);
var output;
@@ -407,12 +502,10 @@
case 'XML':
this.log('\nNot currently supporting XML output...');
- //break;
return;
default:
- output = errorList.title + '\n\n';
- output += this.formatTextOutput(errorList);
+ output = this.formatTextOutput(errorList);
break;
}
@@ -425,19 +518,22 @@
},
formatTextOutput : function (errorList) {
- var output = '',
+ var output = this.generateLogTitle(errorList),
+ lintErrors,
i, x, error;
for (i in errorList) {
if (errorList.hasOwnProperty(i)) {
+ lintErrors = errorList[i];
+
switch (i) {
case 'jslint':
case 'jshint':
case 'esprima':
- output += '=============== Running ' + i.toUpperCase() + ' ===============' + '\n\n';
+ output += this.generateTextHeader(i, lintErrors);
- for (x = 0; x &lt; errorList[i].length; x++) {
- error = errorList[i][x];
+ for (x = 0; x &lt; lintErrors.length; x++) {
+ error = lintErrors[x];
output += error.file + '\n' +
' Line #: ' + error.line + '\n' +
' Char #: ' + error.character + '\n' +
@@ -446,10 +542,10 @@
break;
case 'w3c_html':
- output += '=============== Running ' + i.toUpperCase() + ' ===============' + '\n\n';
+ output += this.generateTextHeader(i, lintErrors);
- for (x = 0; x &lt; errorList[i].length; x++) {
- error = errorList[i][x];
+ for (x = 0; x &lt; lintErrors.length; x++) {
+ error = lintErrors[x];
output += error.file + '\n' +
' Line #: ' + error.line + '\n' +
' Char #: ' + error.character + '\n' +
@@ -498,10 +594,6 @@
//async lib
me.async = require('async');
-
- //other utilities
- var util = require('./util');
- me.util = util.init(me);
};
initModules(LintRoller);
View
92 docs/source/bom.html
@@ -0,0 +1,92 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>The source code</title>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+ <style type="text/css">
+ .highlight { display: block; background-color: #ddd; }
+ </style>
+ <script type="text/javascript">
+ function highlight() {
+ document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+ }
+ </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+ <pre class="prettyprint lang-js">&quot;use strict&quot;;
+
+<span id='LintRoller-linters-BOM'>/**
+</span> * @class LintRoller.linters.BOM
+ *
+ * A utility that will remove all Byte-Order-Marks (BOM - \uFEFF) from a file
+ *
+ * Created automatically if a { type : 'bom' } config is passed to the linters array.
+ */
+var linter = {
+
+<span id='LintRoller-linters-BOM-cfg-options'> /**
+</span> * @cfg {Object}
+ * An object containing lint validation options
+ */
+ options : {
+
+ },
+
+<span id='LintRoller-linters-BOM-method-applyLintOptions'> /**
+</span> * @private
+ */
+ applyLintOptions : function (options) {
+ var i;
+
+ if (!options) {
+ return false;
+ }
+
+ for (i in options) {
+ if (options.hasOwnProperty(i)) {
+ this.options[i] = options[i];
+ }
+ }
+ },
+
+<span id='LintRoller-linters-BOM-method-runLinter'> /**
+</span> * @private
+ */
+ runLinter : function (parentModule, callback) {
+ var me = this,
+ i = 0,
+ spaces = '',
+ js;
+
+ for (i; i &lt; this.options.spaces; i++) {
+ spaces += ' ';
+ }
+
+ parentModule.log('Replaces tabs with spaces...', false);
+
+ parentModule.async.each(
+ parentModule.files,
+
+ function (file, next) {
+ js = parentModule.fs.readFileSync(file, 'utf8');
+ js = js.replace(/\uFEFF/g, '');
+
+ parentModule.fs.writeFileSync(file, js, 'utf8');
+
+ next(null);
+ },
+
+ function (e) {
+ callback();
+ }
+ );
+
+ }
+
+};
+
+module.exports = linter;</pre>
+</body>
+</html>
View
6 docs/source/esprima.html
@@ -28,7 +28,7 @@
lib : ESPRIMA,
<span id='LintRoller-linters-Esprima-cfg-options'> /**
-</span> * @cfg
+</span> * @cfg {Object}
* An object containing lint validation options
*/
options : {
@@ -59,6 +59,7 @@
var me = this,
errorList = [],
fileMatch = /\.js$/i,
+ lineCount = 0,
js;
parentModule.log('Running Esprima against code...', false);
@@ -76,6 +77,7 @@
}
else {
js = parentModule.fs.readFileSync(file, 'utf8');
+ lineCount += js.toString().split('\n').length;
var i = 0,
result, totalErrors, error;
@@ -126,7 +128,7 @@
parentModule.announceErrors(errorList);
}
- callback(errorList);
+ callback(errorList, lineCount);
}
);
}
View
8 docs/source/jsHint.html
@@ -32,15 +32,15 @@
lib : JSHINT,
<span id='LintRoller-linters-JSHint-cfg-options'> /**
-</span> * @cfg
+</span> * @cfg {Object}
* An object containing lint validation options
*/
options : {
},
<span id='LintRoller-linters-JSHint-cfg-globals'> /**
-</span> * @cfg
+</span> * @cfg {Object}
* An object containing the pre-defined globals of the lint validation options
*/
globals : {
@@ -76,6 +76,7 @@
var me = this,
errorList = [],
fileMatch = /\.js$/i,
+ lineCount = 0,
js;
parentModule.log('Running JSHint against code...', false);
@@ -93,6 +94,7 @@
}
else {
js = parentModule.fs.readFileSync(file, 'utf8');
+ lineCount += js.toString().split('\n').length;
var i = 0,
result = me.lib(js, me.options, me.globals),
@@ -131,7 +133,7 @@
parentModule.announceErrors(errorList);
}
- callback(errorList);
+ callback(errorList, lineCount);
}
);
}
View
8 docs/source/jsLint.html
@@ -16,7 +16,7 @@
</head>
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
-var JSLINT = require('jslint');
+var JSLINT = require('jslint')();
<span id='LintRoller-linters-JSLint'>/**
</span> * @class LintRoller.linters.JSLint
@@ -32,7 +32,7 @@
lib : JSLINT,
<span id='LintRoller-linters-JSLint-cfg-options'> /**
-</span> * @cfg
+</span> * @cfg {Object}
* An object containing lint validation options
*/
options : {
@@ -71,6 +71,7 @@
runLinter : function (parentModule, callback) {
var me = this,
errorList = [],
+ lineCount = 0,
js;
parentModule.log('Running JSLint against code...', false);
@@ -80,6 +81,7 @@
function (file, next) {
js = parentModule.fs.readFileSync(file, 'utf8');
+ lineCount += js.toString().split('\n').length;
var i = 0,
result = me.lib(js, me.options),
@@ -117,7 +119,7 @@
parentModule.announceErrors(errorList);
}
- callback(errorList);
+ callback(errorList, lineCount);
}
);
View
92 docs/source/tabs.html
@@ -0,0 +1,92 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>The source code</title>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+ <style type="text/css">
+ .highlight { display: block; background-color: #ddd; }
+ </style>
+ <script type="text/javascript">
+ function highlight() {
+ document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+ }
+ </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+ <pre class="prettyprint lang-js">&quot;use strict&quot;;
+
+<span id='LintRoller-linters-Tabs'>/**
+</span> * @class LintRoller.linters.Tabs
+ *
+ * A utility for replacing all tabs found in your source files with spaces.
+ *
+ * Created automatically if a { type : 'tabs' } config is passed to the linters array.
+ */
+var linter = {
+
+<span id='LintRoller-linters-Tabs-cfg-options'> /**
+</span> * @cfg {Object}
+ * An object containing lint validation options
+ */
+ options : {
+ spaces : 4
+ },
+
+<span id='LintRoller-linters-Tabs-method-applyLintOptions'> /**
+</span> * @private
+ */
+ applyLintOptions : function (options) {
+ var i;
+
+ if (!options) {
+ return false;
+ }
+
+ for (i in options) {
+ if (options.hasOwnProperty(i)) {
+ this.options[i] = options[i];
+ }
+ }
+ },
+
+<span id='LintRoller-linters-Tabs-method-runLinter'> /**
+</span> * @private
+ */
+ runLinter : function (parentModule, callback) {
+ var me = this,
+ i = 0,
+ spaces = '',
+ js;
+
+ for (i; i &lt; this.options.spaces; i++) {
+ spaces += ' ';
+ }
+
+ parentModule.log('Replaces tabs with spaces...', false);
+
+ parentModule.async.each(
+ parentModule.files,
+
+ function (file, next) {
+ js = parentModule.fs.readFileSync(file, 'utf8');
+ js = js.replace(/\t/g, spaces);
+
+ parentModule.fs.writeFileSync(file, js, 'utf8');
+
+ next(null);
+ },
+
+ function (e) {
+ callback();
+ }
+ );
+
+ }
+
+};
+
+module.exports = linter;</pre>
+</body>
+</html>
View
238 docs/source/util.html
@@ -1,238 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The source code</title>
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
- <style type="text/css">
- .highlight { display: block; background-color: #ddd; }
- </style>
- <script type="text/javascript">
- function highlight() {
- document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
- }
- </script>
-</head>
-<body onload="prettyPrint(); highlight();">
- <pre class="prettyprint lang-js"><span id='LintRoller-util'>/**
-</span> * @class LintRoller.util
- * @singleton
- *
- * Some additional utilities for cleaning up JavaScript lint.
- */
-&quot;use strict&quot;;
-var util = {
-
-<span id='LintRoller-util-method-init'> /**
-</span> * @private
- */
- init : function (parent) {
- this.parent = parent;
- return this;
- },
-
-<span id='LintRoller-util-method-utilInit'> /**
-</span> * @private
- */
- utilInit : function(config) {
- this.parent.initConfigs(config);
- this.parent.parseTree(config.filepaths);
-
- this.parent.log('\nFilesystem has been parsed. Looping through available files...', true);
- },
-
-<span id='LintRoller-util-method-removeBOM'> /**
-</span> * A utility that will remove all Byte-Order-Marks (BOM - \uFEFF) from a file
- */
- removeBOM : function(config) {
- this.utilInit(config);
-
- var msg = 'Unsafe character.';
- var offendingFiles = this.locateOffenders(msg);
-
- //HOW MANY ERRORS?!?
- this.parent.log(
- 'Found ' + offendingFiles.length +
- ' files matching the error &quot;' + msg +
- '&quot; between ' + this.parent.linters.length + ' linters.\n',
- true
- );
-
- if (offendingFiles.length === 0) {
- this.parent.log(
- 'LintRoller has found 0 offending files. Your usage of tabs/spaces is acceptable!\n',
- true
- );
-
- process.exit(0);
- }
-
- try {
- this.fixBomFiles(offendingFiles);
- }
- catch (e) {
- this.parent.log(
- 'An error has occurred: ' + e,
- true
- );
-
- process.exit(1);
- }
-
- this.parent.log(
- 'LintRoller has attempted to remove all BOM.\n',
- true
- );
-
- process.exit(0);
- },
-
-<span id='LintRoller-util-method-replaceTabsWithSpaces'> /**
-</span> * A utility that will eliminate all &quot;Mixed spaces with tabs.&quot; warnings by replacing tab characters with spaces.
- *
- * @param {Object} config A configuration object
- * @param {Number} spacingChars The number of spaces to replace a tab
- */
- replaceTabsWithSpaces : function (config, spacingChars) {
- this.utilInit(config);
-
- var msg = 'Mixed spaces and tabs.';
- var offendingFiles = this.locateOffenders(msg);
-
- //HOW MANY ERRORS?!?
- this.parent.log(
- 'Found ' + offendingFiles.length +
- ' files matching the error &quot;' + msg +
- '&quot; between ' + this.parent.linters.length + ' linters.\n',
- true
- );
-
- if (offendingFiles.length === 0) {
- this.parent.log(
- 'LintRoller has found 0 offending files. Your usage of tabs/spaces is acceptable!\n',
- true
- );
-
- process.exit(0);
- }
-
- try {
- this.fixOffendingFiles(offendingFiles, spacingChars);
- }
- catch (e) {
- this.parent.log(
- 'An error has occurred: ' + e,
- true
- );
-
- process.exit(1);
- }
-
- this.parent.log(
- 'LintRoller has attempted to replace all tabs with ' + spacingChars + ' spaces.\n',
- true
- );
-
- process.exit(0);
- },
-
-
-<span id='LintRoller-util-method-locateOffenders'> /**
-</span> * @private
- */
- locateOffenders : function (msg) {
- var offendingFiles = [],
- linter, newFiles, i;
-
- //find offending files
- for (i = 0; i &lt; this.parent.linters.length; i++) {
- linter = this.parent.linters[i];
-
- newFiles = this.findLintErrors(linter.lib, linter.options, msg);
- offendingFiles = offendingFiles.concat(newFiles);
- }
-
- return offendingFiles;
- },
-
-
-<span id='LintRoller-util-method-fixOffendingFiles'> /**
-</span> * @private
- */
- fixOffendingFiles : function(offendingFiles, spacingChars) {
- var i = 0,
- spaces = '',
- file, js;
-
- for (i; i&lt;spacingChars; i++) {
- spaces += ' ';
- }
-
- for (i=0; i &lt; offendingFiles.length; i++) {
- file = offendingFiles[i];
- js = this.parent.fs.readFileSync(file, 'utf8');
-
- js = js.replace(/\t/g, spaces);
-
- this.parent.fs.writeFileSync(file, js, 'utf8');
- }
- },
-
-
-<span id='LintRoller-util-method-fixBomFiles'> /**
-</span> * @private
- */
- fixBomFiles : function(offendingFiles) {
- var i = 0,
- file, js;
-
- for (i=0; i &lt; offendingFiles.length; i++) {
- file = offendingFiles[i];
- js = this.parent.fs.readFileSync(file, 'utf8');
-
- js = js.replace(/\uFEFF/g, '');
-
- this.parent.fs.writeFileSync(file, js, 'utf8');
- }
- },
-
-
-<span id='LintRoller-util-method-findLintErrors'> /**
-</span> * @private
- */
- findLintErrors : function (linter, options, msg) {
- var j = 0,
- offendingFiles = [],
- file, js;
-
- for (j; j &lt; this.parent.files.length; j++) {
-
- file = this.parent.files[j];
- js = this.parent.fs.readFileSync(file, 'utf8');
-
- var i = 0,
- result = linter(js, options),
- totalErrors = linter.errors.length,
- error;
-
- if (!result) {
- for (i; i &lt; totalErrors; i++) {
- error = linter.errors[i];
-
- if (error &amp;&amp; error.reason === msg) {
- offendingFiles.push(file);
- break;
- }
- }
- }
- }
-
- return offendingFiles;
- }
-
-};
-
-module.exports = util;</pre>
-</body>
-</html>
View
13 docs/source/w3c_html.html
@@ -28,7 +28,7 @@
lib : w3c,
<span id='LintRoller-linters-W3C_HTML-cfg-options'> /**
-</span> * @cfg
+</span> * @cfg {Object}
* An object containing lint validation options:
*
* - fileTypes {Array} An array of matching file types (defaults to [ 'html' ] )
@@ -61,6 +61,8 @@
var errorList = [],
fileTypes = this.options.fileTypes.toString().replace(',', '|'),
fileMatch = new RegExp('\\.(' + fileTypes + ')$', 'i'),
+ lineCount = 0,
+ html,
i;
parentModule.log('Running W3C_HTML against code...', false);
@@ -74,13 +76,18 @@
next();
}
else {
+ html = parentModule.fs.readFileSync(file, 'utf8');
+ lineCount += html.toString().split('\n').length;
+
w3c.validate({
file : file,
output : 'json',
callback : function (error) {
+ var err;
+
if (error) {
for (i = 0; i &lt; error.messages.length; i++) {
- var err = error.messages[i];
+ err = error.messages[i];
if (err.type === 'error') {
errorList.push({
@@ -109,7 +116,7 @@
parentModule.announceErrors(errorList);
}
- callback(errorList);
+ callback(errorList, lineCount);
}
);
}
View
125 docs/styles-3eba09980fa05ead185cb17d9c0deb0f.css
@@ -0,0 +1,125 @@
+.signature .chainable { background-color: #00aa00 }
+ .signature .deprecated {
+ background-color: #aa0000;
+ }
+ .deprecated-box {
+ border: 2px solid #aa0000;
+ }
+ .deprecated-box strong {
+ color: white;
+ background-color: #aa0000;
+ }
+ .deprecated-tag-box {
+ text-align: center;
+ color: #600;
+ background-color: #fee;
+ }
+ .deprecated-tag-box strong {
+ text-transform: uppercase;
+ border-radius: 2px;
+ padding: 0 3px;
+ }
+
+ .enum-box {
+ color: #060;
+ background-color: #efe;
+ text-align: center;
+ }
+
+ .signature .experimental {
+ color: #a00;
+ border: 1px dashed #a00;
+ background-color: #fee;
+ }
+ .experimental-box {
+ border: 2px dashed #ccc;
+ }
+ .experimental-box strong {
+ margin: 0 3px;
+ border: 2px dashed #a00;
+ color: #a00;
+ }
+ .deprecated-tag-box {
+ text-align: center;
+ color: #600;
+ background-color: #fee;
+ }
+ .deprecated-tag-box strong {
+ text-transform: uppercase;
+ border-radius: 2px;
+ padding: 0 3px;
+ }
+
+ .signature .new {
+ color: #484848;
+ background-color: #F5D833;
+ }
+
+.preventable-box { text-align: center }
+ .signature .private {
+ background-color: #FD6B1B; /* orange */
+ }
+ .private-box {
+ background-color: #fee;
+ text-align: center;
+ color: #600;
+ margin-bottom: 1em;
+ }
+
+.signature .protected { background-color: #9B86FC }
+ .signature .removed {
+ color: #aa0000;
+ background-color: transparent;
+ border: 1px solid #aa0000;
+ text-decoration: line-through;
+ }
+ .removed-box {
+ border: 2px solid #aa0000;
+ }
+ .removed-box strong {
+ color: #aa0000;
+ border: 2px solid #aa0000;
+ background-color: transparent;
+ text-decoration: line-through;
+ }
+ .deprecated-tag-box {
+ text-align: center;
+ color: #600;
+ background-color: #fee;
+ }
+ .deprecated-tag-box strong {
+ text-transform: uppercase;
+ border-radius: 2px;
+ padding: 0 3px;
+ }
+
+.signature .required { background-color: #484848 }
+.signature .static { background-color: #484848 }
+ .template-box {
+ text-align: center;
+ background-color: #eee;
+ }
+#search-dropdown .icon-cfg { background-image: url(member-icons/cfg.png); background-repeat: no-repeat; }
+.members .members-section .icon-cfg { background-image: url(member-icons/cfg.png); background-repeat: no-repeat; }
+