diff --git a/source/Ox.UI/js/Code/Ox.DocPage.js b/source/Ox.UI/js/Code/Ox.DocPage.js index 934fc99f..b799e633 100644 --- a/source/Ox.UI/js/Code/Ox.DocPage.js +++ b/source/Ox.UI/js/Code/Ox.DocPage.js @@ -184,14 +184,12 @@ Ox.DocPage = function(options, self) { + ':' + self.options.item.line + '' ) ); + Ox.print('IS::', item.source); $elements.push( Ox.SyntaxHighlighter({ replace: self.options.replace, showLineNumbers: true, - // fixme: silly - source: item.source.map(function(token) { - return token.source; - }).join(''), + source: item.source, offset: self.options.item.line }) .addClass(className)