mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3f72362734
commit
9e6cce7477
@ -605,6 +605,7 @@ var DialogsActions = actions.Actions({
|
||||
.append($('<div>')
|
||||
.text('Features: ' + that.getHandlerSourceTags(action).join(', ')))
|
||||
.append($('<hr>'))
|
||||
// parse the action doc...
|
||||
.append($('<pre>')
|
||||
.html((doc[action][1] || '')
|
||||
// html stuff...
|
||||
@ -625,7 +626,11 @@ var DialogsActions = actions.Actions({
|
||||
|
||||
// action links...
|
||||
.replace(/(\s)(\.([\w_]+[\w\d_]*)\([^)]*\))/g,
|
||||
'$1<a href="#" onclick="ig.showDoc(\'$3\')">$2</a>')
|
||||
function(match, a, b, c){
|
||||
return c == action ?
|
||||
`${a}<i>${b}</i>`
|
||||
: `${a}<a href="#" onclick="ig.showDoc(\'${c}\')">${b}</a>`
|
||||
})
|
||||
)))
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user