Файл: documentation/syntaxhighlighter/tests/cases/005_no_gutter.html
Строк: 30
<?php
<pre id="sh_005_no_gutter" class="brush: java; gutter: false;">
public Image getImage(URL url, String name) {
try {
/*
Regular multiline comment.
*/
return getImage(new URL(url, name));
} catch (MalformedURLException e) {
return null;
}
}
</pre>
<script type="text/javascript">
queue(function()
{
var $sh;
module('005_no_gutter');
test('check that there is no gutter', function()
{
$sh = $('#sh_005_no_gutter');
ok_sh($sh);
ok_toolbar($sh);
ok_code($sh);
ok($sh.find('> .syntaxhighlighter.nogutter').length == 1, '.nogutter present');
ok($sh.find('> .syntaxhighlighter > table > tbody > tr > .gutter').length == 0, 'Gutter not present');
});
});
</script>
?>