remove dead code
This commit is contained in:
parent
48d6e45ca7
commit
41a3eaacd4
1 changed files with 0 additions and 6 deletions
|
@ -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*$/, '');
|
||||
|
|
Loading…
Reference in a new issue