From 41a3eaacd42811598080a512cf9b5fa888eeea64 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 30 May 2012 15:22:40 +0200 Subject: [PATCH] remove dead code --- source/Ox.UI/js/Code/SourceViewer.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/Ox.UI/js/Code/SourceViewer.js b/source/Ox.UI/js/Code/SourceViewer.js index 09b3c882..499bf752 100644 --- a/source/Ox.UI/js/Code/SourceViewer.js +++ b/source/Ox.UI/js/Code/SourceViewer.js @@ -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 + '' + Ox.encodeHTMLEntities(inner) + ''; - }); - } - function trim(str) { // removes leading or trailing empty line return str.replace(/^\s*\n/, '').replace(/\n\s*$/, '');