mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 18:00:11 +00:00
added html tag support...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ae13de0465
commit
622a27229c
18
actions.js
18
actions.js
@ -1310,7 +1310,7 @@ module.MetaActions = {
|
||||
str += p + p
|
||||
// meta...
|
||||
+ (cur.post.event_tag ?
|
||||
normalizeTabs('// Event tag: ' + cur.post.event_tag) + p : '')
|
||||
normalizeTabs('// Event source tag: ' + cur.post.event_tag) + p : '')
|
||||
+ (cur.post.source_tag ?
|
||||
normalizeTabs('// Source tag: ' + cur.post.source_tag) + p : '')
|
||||
// code...
|
||||
@ -1337,7 +1337,13 @@ module.MetaActions = {
|
||||
|
||||
if(cur.pre){
|
||||
p.append($('<pre>').html(
|
||||
normalizeTabs(cur.pre.toString())
|
||||
// meta...
|
||||
(cur.pre.event_tag ?
|
||||
normalizeTabs('// Event tag: ' + cur.pre.event_tag) + p : '')
|
||||
+ (cur.pre.source_tag ?
|
||||
normalizeTabs('// Source tag: ' + cur.pre.source_tag) + p : '')
|
||||
// code...
|
||||
+ normalizeTabs(cur.pre.toString())
|
||||
.replace(/return/g, '<b>return</b>')))
|
||||
}
|
||||
|
||||
@ -1345,7 +1351,13 @@ module.MetaActions = {
|
||||
|
||||
if(cur.post){
|
||||
p.append($('<pre>').html(
|
||||
normalizeTabs(cur.post.toString())))
|
||||
// meta...
|
||||
(cur.post.event_tag ?
|
||||
normalizeTabs('// Event source tag: ' + cur.post.event_tag) + p : '')
|
||||
+ (cur.post.source_tag ?
|
||||
normalizeTabs('// Source tag: ' + cur.post.source_tag) + p : '')
|
||||
// code...
|
||||
+ normalizeTabs(cur.post.toString())))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "1.6.0",
|
||||
"version": "1.6.1",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user