remove dead code

This commit is contained in:
rolux 2012-05-30 15:22:40 +02:00
parent 48d6e45ca7
commit 41a3eaacd4

View file

@ -79,12 +79,6 @@ Ox.SourceViewer = function(options, self) {
});
});
function expand(str) {
return str.replace(/(\W)`([\s\S]+?)`/g, function(match, outer, inner) {
return outer + '<code>' + Ox.encodeHTMLEntities(inner) + '</code>';
});
}
function trim(str) {
// removes leading or trailing empty line
return str.replace(/^\s*\n/, '').replace(/\n\s*$/, '');