namibia
df0489e1eeeeab5a9bd44e1d84fce49924fe1bac
namibia / public / js / lib / syntaxhighlighter / tests / cases / 009_class_name.html
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 |
<pre id="sh_009_class_name" class="brush: java; class-name: 'custom class here'"> 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('009_class_name'); test('check custom classes', function() { $sh = $('#sh_009_class_name'); ok_sh($sh); ok_toolbar($sh); ok_gutter($sh); ok_code($sh); ok($sh.find('.syntaxhighlighter').is('.custom.class.here'), 'Check custom classes'); }); }); </script> |
Commits for namibiapublic/js/lib/syntaxhighlighter/tests/cases/009_class_name.html
Revision | Author | Commited | Message |
---|---|---|---|
df0489 ... | Mark | Fri 14 Oct, 2016 10:01:00 +0000 | initial commit |