PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/pigeoncms/Plugins/syntaxhighlighter/tests/cases/008_first_line.html

http://pigeoncms.googlecode.com/
HTML | 29 lines | 25 code | 4 blank | 0 comment | 0 complexity | 2d1827c846fb12e57f1d1d79e6a5058a MD5 | raw file
 1<pre id="sh_008_first_line" class="brush: java; first-line: 10">
 2	partial class Foo
 3	{
 4		function test()
 5		{
 6			yield return;
 7		}
 8	}
 9</pre>
10
11<script type="text/javascript">
12queue(function()
13{
14	var $sh;
15	
16	module('008_first_line');
17
18	test('check the first line', function()
19	{
20		$sh = $('#sh_008_first_line');
21		
22		ok_sh($sh);
23		ok_toolbar($sh);
24		ok_gutter($sh);
25		ok_code($sh);
26		equals($sh.find('.gutter .index0').text(), '10', 'First line');
27	});
28});
29</script>