forked from 0x2620/pandora
update api docs parser
This commit is contained in:
parent
c97fcab951
commit
c26628bf7f
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ pandora.ui.apiDialog = function() {
|
||||||
see: action, action, ...
|
see: action, action, ...
|
||||||
*/
|
*/
|
||||||
var $doc = Ox.SyntaxHighlighter({
|
var $doc = Ox.SyntaxHighlighter({
|
||||||
source: string.replace(
|
source: '\n' + string.replace(
|
||||||
/\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n'
|
/\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n'
|
||||||
).replace(
|
).replace(
|
||||||
/(takes|returns|notes|see)(?=( \{|: ))/g, 'BOLD$1BOLD'
|
/(takes|returns|notes|see)(?=( \{|: ))/g, 'BOLD$1BOLD'
|
||||||
|
|
Loading…
Reference in a new issue