1
0
Fork 0
forked from 0x2620/oxjs

refactoring

This commit is contained in:
rolux 2012-05-28 18:21:00 +02:00
commit 9ee0742b53
6 changed files with 15 additions and 13 deletions

View file

@ -36,6 +36,7 @@ Ox.SyntaxHighlighter = function(options, self) {
tabSize: 4
})
.options(options || {})
.update(renderSource)
.addClass('OxSyntaxHighlighter');
renderSource();
@ -132,10 +133,6 @@ Ox.SyntaxHighlighter = function(options, self) {
}
}
self.setOption = function(key, value) {
renderSource();
};
return that;
};