| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | $(function () { |
||
| 2 | $('#esa-content-body .code-block pre.plaintext code').addClass('nohighlight'); |
||
| 3 | hljs.initHighlightingOnLoad(); |
||
|
|
|||
| 4 | |||
| 5 | $('#esa-content-body table') |
||
| 6 | .addClass('table table-bordered table-striped') |
||
| 7 | .each(function () { |
||
| 8 | // decrease font-size when the number of column is 5 or more |
||
| 9 | var tr = $(this).find('tr').get(0); |
||
| 10 | if ($(tr).find('td, th').length >= 5) { |
||
| 11 | $(this).css('font-size', '0.9em'); |
||
| 12 | } |
||
| 13 | }) |
||
| 14 | ; |
||
| 15 | }); |
||
| 16 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.