/lib/syntaxhighlighter_3.0.83/tests/cases/005_no_gutter.html
# · HTML · 33 lines · 28 code · 5 blank · 0 comment · 0 complexity · d4fd3a35e443e21ff799a3afc6fefa54 MD5 · raw file
- <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>