update api docs parser

This commit is contained in:
rolux 2014-12-18 15:57:06 +00:00
parent c97fcab951
commit c26628bf7f

View file

@ -129,7 +129,7 @@ pandora.ui.apiDialog = function() {
see: action, action, ...
*/
var $doc = Ox.SyntaxHighlighter({
source: string.replace(
source: '\n' + string.replace(
/\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n'
).replace(
/(takes|returns|notes|see)(?=( \{|: ))/g, 'BOLD$1BOLD'