This commit is contained in:
rolux 2014-12-18 13:43:21 +00:00
parent f38d3441a0
commit 0149b764d2

View file

@ -131,9 +131,9 @@ pandora.ui.apiDialog = function() {
var $doc = Ox.SyntaxHighlighter({ var $doc = Ox.SyntaxHighlighter({
source: string.replace( source: string.replace(
/\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n' /\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n'
), )
})
parts, parts_; parts, parts_;
});
['Keyword', 'Method', 'Property'].forEach(function(type) { ['Keyword', 'Method', 'Property'].forEach(function(type) {
$doc.find('.Ox' + type).removeClass('Ox' + type); $doc.find('.Ox' + type).removeClass('Ox' + type);
}); });