Файл: modules/syntaxhighlighter/tests/cases/003_script_tag.html
Строк: 21
<?php
<div>
<script id="sh_003_script_tag" type="syntaxhighlighter" class="brush: csharp" title="Title/caption should render"><![CDATA[
partial class Foo
{
function test()
{
yield return;
yield break;
}
}
function foo()
{
var vector:Vector.<Vector.<String>> = new Vector<Vector.String>>();
for (var i = 0; i < 10; i++)
{
/* comments */
}
}
]]></script>
</div>
<script type="text/javascript">
queue(function()
{
var $sh;
module('003_script_tag');
test('basic html check of default elements', function()
{
$sh = $('#sh_003_script_tag');
ok_sh($sh);
ok_toolbar($sh);
ok_caption($sh, 'Title/caption should render');
ok_gutter($sh);
ok_code($sh);
});
});
</script>
?>