for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
$(function () {
$('#esa-content-body .code-block pre.plaintext code').addClass('nohighlight');
hljs.initHighlightingOnLoad();
hljs
/** global: hljs */
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.
$('#esa-content-body table')
.addClass('table table-bordered table-striped')
.each(function () {
// decrease font-size when the number of column is 5 or more
var tr = $(this).find('tr').get(0);
if ($(tr).find('td, th').length >= 5) {
$(this).css('font-size', '0.9em');
}
})
;
});
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.