Git Repository Public Repository

namibia

URLs

Copy to Clipboard
 
df0489e1eeeeab5a9bd44e1d84fce49924fe1bac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<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>

Commits for namibiapublic/js/lib/syntaxhighlighter/tests/cases/005_no_gutter.html

Diff revisions: vs.
Revision Author Commited Message
df0489 ... Mark Fri 14 Oct, 2016 10:01:00 +0000

initial commit