diff options
author | Jinwei Zhao <[email protected]> | 2015-12-19 22:24:42 +0900 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:45 +0800 |
commit | dbcebe1def5c355120c61b575390d1d9ac355f67 (patch) | |
tree | 70e61cc34a690c63ff80962e9ef883fe69dba6d3 /Code/Blocks/syntax/tests/cases/012_server_side.html | |
parent | 7e473afdca63f0ceed5d895c3be3b43f213ca136 (diff) | |
download | jinwei.me-dbcebe1def5c355120c61b575390d1d9ac355f67.tar.gz |
clear up
Diffstat (limited to 'Code/Blocks/syntax/tests/cases/012_server_side.html')
-rw-r--r-- | Code/Blocks/syntax/tests/cases/012_server_side.html | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/Code/Blocks/syntax/tests/cases/012_server_side.html b/Code/Blocks/syntax/tests/cases/012_server_side.html deleted file mode 100644 index 1bb4217..0000000 --- a/Code/Blocks/syntax/tests/cases/012_server_side.html +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | <script id="sh_012_server_side_input" type="text/plain"> | ||
2 | function helloWorld() | ||
3 | { | ||
4 | // this is great! | ||
5 | for(var i = 0; i <= 1; i++) | ||
6 | alert("yay"); | ||
7 | } | ||
8 | </script> | ||
9 | |||
10 | <div id="sh_012_server_side_output"> | ||
11 | </div> | ||
12 | |||
13 | <script type="text/javascript"> | ||
14 | queue(function() | ||
15 | { | ||
16 | var $sh; | ||
17 | |||
18 | module('012_server_side'); | ||
19 | |||
20 | test('generate markup', function() | ||
21 | { | ||
22 | var brush = new SyntaxHighlighter.brushes.JScript(), | ||
23 | code = $('#sh_012_server_side_input').html() | ||
24 | ; | ||
25 | |||
26 | brush.init({ toolbar: false }); | ||
27 | $sh = $('#sh_012_server_side_output'); | ||
28 | $sh.html(brush.getHtml(code)); | ||
29 | |||
30 | ok_sh($sh); | ||
31 | ok_gutter($sh); | ||
32 | ok_code($sh); | ||
33 | }); | ||
34 | }); | ||
35 | </script> \ No newline at end of file | ||