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, ... see: action, action, ...
*/ */
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);
}); });