From fab0cba8a821f14a35f173e0061d4d9c225599a2 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sat, 6 Sep 2014 09:20:05 +1200 Subject: [PATCH] Add bash syntax brush (Fixes #45) --- code/controllers/DocumentationViewer.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/controllers/DocumentationViewer.php b/code/controllers/DocumentationViewer.php index 99ec925..901e288 100755 --- a/code/controllers/DocumentationViewer.php +++ b/code/controllers/DocumentationViewer.php @@ -14,6 +14,9 @@ class DocumentationViewer extends Controller { + /** + * @var array + */ private static $allowed_actions = array( 'home', 'LanguageForm', @@ -106,6 +109,7 @@ class DocumentationViewer extends Controller { DOCSVIEWER_DIR . '/thirdparty/syntaxhighlighter/scripts/shBrushXml.js', DOCSVIEWER_DIR . '/thirdparty/syntaxhighlighter/scripts/shBrushCss.js', DOCSVIEWER_DIR . '/thirdparty/syntaxhighlighter/scripts/shBrushYaml.js', + DOCSVIEWER_DIR . '/thirdparty/syntaxhighlighter/scripts/shBrushBash.js', DOCSVIEWER_DIR . '/javascript/shBrushSS.js' ) );