| 4273 | raw:[string, string][] = [], |
| 4274 | formatted:[string, string][] = [], |
| 4275 | reset = function node_apps_validation_reset():void { |
| 4276 | const key:string[] = Object.keys(prettydiff.api.optionDef), |
| 4277 | len:number = key.length; |
| 4278 | let a:number = 0; |
| 4279 | do { |
| 4280 | options[key[a]] = prettydiff.api.optionDef[key[a]].default; |
| 4281 | a = a + 1; |
| 4282 | } while (a < len); |
| 4283 | options.correct = true; |
| 4284 | options.crlf = false; |
| 4285 | options.diff_context = 4; |
| 4286 | options.end_comma = "none"; |
| 4287 | options.lexerOptions = {}; |
| 4288 | options.mode = "diff"; |
| 4289 | options.new_line = true; |
| 4290 | options.object_sort = true; |
| 4291 | options.preserve = 2; |
| 4292 | options.read_method = "screen"; |
| 4293 | options.vertical = true; |
| 4294 | options.wrap = 80; |
| 4295 | }, |
| 4296 | compare = function node_apps_validation_compare():void { |
| 4297 | const len:number = (raw.length > formatted.length) |
| 4298 | ? raw.length |