1
0
Fork 0
forked from 0x2620/oxjs

make SyntaxHighlighter and SourceViewer more useful by allowing replacements; remove index.json and source/Ox/png; plus some other small and/or cosmetic changes

This commit is contained in:
rolux 2012-04-06 14:10:21 +02:00
commit 03f4f77ce6
16 changed files with 213 additions and 230 deletions

View file

@ -8,7 +8,8 @@ Ox.ExamplePanel = function(options, self) {
examples: [],
keywords: null,
path: '',
replace: [],
replaceCode: [],
replaceComment: [],
size: 256
})
.options(options || {})
@ -97,7 +98,8 @@ Ox.ExamplePanel = function(options, self) {
html: item.html,
js: item.js,
keywords: item.keywords,
replace: self.options.replace,
replaceCode: self.options.replaceCode,
replaceComment: self.options.replaceComment,
title: item.title,
width: window.innerWidth - self.options.size
})