1require.paths.unshift(__dirname + '/../scripts');
2
3var sys = require('sys'),
4	shSyntaxHighlighter = require('shCore').SyntaxHighlighter,
5	shJScript = require('shBrushJScript').Brush,
6
7	code = '\
8		function helloWorld()\
9		{\
10			// this is great!\
11			for(var i = 0; i <= 1; i++)\
12				alert("yay");\
13		}\
14		',
15	brush = new shJScript()
16	;
17
18brush.init({ toolbar: false });
19sys.puts(brush.getHtml(code));
20