mirror of
				https://github.com/flynx/actions.js.git
				synced 2025-10-30 19:00:10 +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  | 				str += p + p  | ||||||
| 					// meta...
 | 					// meta...
 | ||||||
| 					+ (cur.post.event_tag ?  | 					+ (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 ?  | 					+ (cur.post.source_tag ?  | ||||||
| 						normalizeTabs('// Source tag: ' + cur.post.source_tag) + p : '') | 						normalizeTabs('// Source tag: ' + cur.post.source_tag) + p : '') | ||||||
| 					// code...
 | 					// code...
 | ||||||
| @ -1337,7 +1337,13 @@ module.MetaActions = { | |||||||
| 
 | 
 | ||||||
| 			if(cur.pre){ | 			if(cur.pre){ | ||||||
| 				p.append($('<pre>').html( | 				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>'))) | 						.replace(/return/g, '<b>return</b>'))) | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| @ -1345,7 +1351,13 @@ module.MetaActions = { | |||||||
| 
 | 
 | ||||||
| 			if(cur.post){ | 			if(cur.post){ | ||||||
| 				p.append($('<pre>').html( | 				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", |   "name": "ig-actions", | ||||||
|   "version": "1.6.0", |   "version": "1.6.1", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "main": "actions.js", |   "main": "actions.js", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user