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

View file

@ -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);
});