mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 02:50:08 +00:00 
			
		
		
		
	cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									3c9b06b5df
								
							
						
					
					
						commit
						921b9dce65
					
				| @ -1698,14 +1698,13 @@ module.BaseParser = { | |||||||
| 		var that = this | 		var that = this | ||||||
| 		// XXX should we handle strings as input???
 | 		// XXX should we handle strings as input???
 | ||||||
| 		ast = ast  | 		ast = ast  | ||||||
| 			?? await this.expand(page, null, state) | 			?? this.expand(page, null, state) | ||||||
| 		ast = typeof(ast) == 'string' ? | 		ast = typeof(ast) == 'string' ? | ||||||
| 			await this.expand(page, ast, state) | 			this.expand(page, ast, state) | ||||||
| 			: ast | 			: ast | ||||||
| 
 | 
 | ||||||
| 		//return [...ast]
 | 		//return [...ast]
 | ||||||
| 		return await ast | 		return ast | ||||||
| 			.iter() |  | ||||||
| 			// post handlers...
 | 			// post handlers...
 | ||||||
| 			.map(function(section){ | 			.map(function(section){ | ||||||
| 				return typeof(section) == 'function' ?  | 				return typeof(section) == 'function' ?  | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user