1
0
Fork 0
forked from 0x2620/oxjs

some more documentation; reimplement Ox.range using Ox.loop

This commit is contained in:
rolux 2011-05-07 00:47:17 +02:00
commit 8c4bc3b415
5 changed files with 305 additions and 243 deletions

View file

@ -35,6 +35,8 @@ Ox.SyntaxHighlighter = function(options, self) {
.replace(/\r\n/g, '\n')
.replace(/\r/g, '\n');
//self.options.source = Ox.minify(self.options.source);
self.cursor = 0;
self.source = '';
self.tokens = Ox.tokenize(self.options.source);