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

@ -7,7 +7,8 @@ Ox.ExamplePage = function(options, self) {
.defaults({
html: '',
js: '',
replace: [],
replaceCode: [],
replaceComment: [],
selected: 'source',
title: ''
})
@ -89,7 +90,8 @@ Ox.ExamplePage = function(options, self) {
self.$viewer = Ox.SourceViewer({
file: self.options.js,
replace: self.options.replace
replaceCode: self.options.replaceCode,
replaceComment: self.options.replaceComment
})
.css({
position: 'absolute',