OLD | NEW |
1 Verifies JavaScript pretty-printing functionality. | 1 Verifies JavaScript pretty-printing functionality. |
2 | 2 |
3 | 3 |
4 Running: semicolonAfterFunctionExpression | 4 Running: semicolonAfterFunctionExpression |
5 ====== 8< ------ | 5 ====== 8< ------ |
6 var onClick = function() { | 6 var onClick = function() { |
7 console.log('click!'); | 7 console.log('click!'); |
8 }; | 8 }; |
9 console.log('done'); | 9 console.log('done'); |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 , delay = 1000 | 37 , delay = 1000 |
38 , belay = document.activeElement; | 38 , belay = document.activeElement; |
39 | 39 |
40 ------ >8 ====== | 40 ------ >8 ====== |
41 Correct mapping for <onStart> | 41 Correct mapping for <onStart> |
42 Correct mapping for <delay> | 42 Correct mapping for <delay> |
43 Correct mapping for <1000> | 43 Correct mapping for <1000> |
44 Correct mapping for <belay> | 44 Correct mapping for <belay> |
45 Correct mapping for <activeElement> | 45 Correct mapping for <activeElement> |
46 | 46 |
| 47 Running: continueStatementFormatting |
| 48 ====== 8< ------ |
| 49 function foo() { |
| 50 while (1) { |
| 51 if (a) |
| 52 continue; |
| 53 test(); |
| 54 } |
| 55 } |
| 56 |
| 57 ------ >8 ====== |
| 58 Correct mapping for <function> |
| 59 Correct mapping for <1> |
| 60 Correct mapping for <continue> |
| 61 Correct mapping for <test> |
| 62 |
OLD | NEW |