mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 02:50:08 +00:00 
			
		
		
		
	notes and tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									9a1324e544
								
							
						
					
					
						commit
						5bfdce6cdf
					
				| @ -2280,12 +2280,11 @@ object.Constructor('Page', BasePage, { | |||||||
| 				return msg } | 				return msg } | ||||||
| 			throw new Error(msg) } | 			throw new Error(msg) } | ||||||
| 		// get the data...
 | 		// get the data...
 | ||||||
| 		return typeof(data) == 'function' ? | 		return ( | ||||||
| 				// XXX FUNC not sure about this...
 | 			// action...
 | ||||||
|  | 			typeof(data) == 'function' ? | ||||||
| 				data.call(this) | 				data.call(this) | ||||||
| 			// multiple matches...
 | 			// multiple matches...
 | ||||||
| 			// XXX should this get one of the pages or all of the pages???
 |  | ||||||
| 			// XXX should we use a special template to render???
 |  | ||||||
| 			: data instanceof Array ? | 			: data instanceof Array ? | ||||||
| 				data | 				data | ||||||
| 					.map(function(d){ | 					.map(function(d){ | ||||||
| @ -2293,7 +2292,7 @@ object.Constructor('Page', BasePage, { | |||||||
| 							d.call(that) | 							d.call(that) | ||||||
| 							: d.text }) | 							: d.text }) | ||||||
| 					.flat() | 					.flat() | ||||||
|    			: data.text }).call(this) }, |    			: data.text )}).call(this) }, | ||||||
| 	set raw(value){ | 	set raw(value){ | ||||||
| 		this.__update__({text: value}) }, | 		this.__update__({text: value}) }, | ||||||
| 		//this.onTextUpdate(value) },
 | 		//this.onTextUpdate(value) },
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user