diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js index 448da0e7..145ea7b1 100644 --- a/static/js/apiDialog.js +++ b/static/js/apiDialog.js @@ -129,11 +129,11 @@ pandora.ui.apiDialog = function() { see: action, action, ... */ var $doc = Ox.SyntaxHighlighter({ - source: string.replace( - /\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n' - ), + source: string.replace( + /\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n' + ) + }) parts, parts_; - }); ['Keyword', 'Method', 'Property'].forEach(function(type) { $doc.find('.Ox' + type).removeClass('Ox' + type); });