mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-11-04 13:00:10 +00:00 
			
		
		
		
	tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									907222e060
								
							
						
					
					
						commit
						85cf832950
					
				@ -112,8 +112,8 @@ object.Constructor('BasePage', {
 | 
				
			|||||||
			return this.dir },
 | 
								return this.dir },
 | 
				
			||||||
		ARGS: function(){
 | 
							ARGS: function(){
 | 
				
			||||||
			return pwpath.obj2args(this.args) },
 | 
								return pwpath.obj2args(this.args) },
 | 
				
			||||||
		//TITLE: function(){
 | 
							TITLE: function(){
 | 
				
			||||||
		//	return this.title },
 | 
								return this.title },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		/*/ XXX this needs:
 | 
							/*/ XXX this needs:
 | 
				
			||||||
		// 		- macro context...
 | 
							// 		- macro context...
 | 
				
			||||||
@ -233,7 +233,6 @@ object.Constructor('BasePage', {
 | 
				
			|||||||
		return pwpath.decodeElem(this.name) },
 | 
							return pwpath.decodeElem(this.name) },
 | 
				
			||||||
	set title(value){
 | 
						set title(value){
 | 
				
			||||||
		this.name = pwpath.encodeElem(value) },
 | 
							this.name = pwpath.encodeElem(value) },
 | 
				
			||||||
	//*/
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	get isPattern(){
 | 
						get isPattern(){
 | 
				
			||||||
		return this.path.includes('*') },
 | 
							return this.path.includes('*') },
 | 
				
			||||||
@ -314,11 +313,6 @@ object.Constructor('BasePage', {
 | 
				
			|||||||
		// single page...
 | 
							// single page...
 | 
				
			||||||
		// XXX ENERGETIC...
 | 
							// XXX ENERGETIC...
 | 
				
			||||||
		var res = await this.store.get(this.path, !!this.strict, !!await this.energetic)
 | 
							var res = await this.store.get(this.path, !!this.strict, !!await this.energetic)
 | 
				
			||||||
		/*/ XXX TITLE / EXPERIMENTAL...
 | 
					 | 
				
			||||||
		// load the title if set...
 | 
					 | 
				
			||||||
		res.title 
 | 
					 | 
				
			||||||
			&& (this.__title = res.title)
 | 
					 | 
				
			||||||
		//*/
 | 
					 | 
				
			||||||
		return typeof(res) == 'function' ?
 | 
							return typeof(res) == 'function' ?
 | 
				
			||||||
			res.bind(this)
 | 
								res.bind(this)
 | 
				
			||||||
			: res }).call(this) },
 | 
								: res }).call(this) },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user