use new-style (textual, not tokenized) source
This commit is contained in:
parent
ba4588f3fa
commit
e081f5b0ee
1 changed files with 2 additions and 4 deletions
|
@ -184,14 +184,12 @@ Ox.DocPage = function(options, self) {
|
|||
+ '</b>:' + self.options.item.line + '</code>'
|
||||
)
|
||||
);
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue