mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-11-03 20:40:10 +00:00 
			
		
		
		
	some more fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									b5e3832394
								
							
						
					
					
						commit
						8bdadacbba
					
				@ -483,11 +483,14 @@ module.MetaStore = {
 | 
				
			|||||||
	__paths__: function(){
 | 
						__paths__: function(){
 | 
				
			||||||
		var that = this
 | 
							var that = this
 | 
				
			||||||
		var data = this.data
 | 
							var data = this.data
 | 
				
			||||||
		Object.keys(data)
 | 
							return Object.keys(data)
 | 
				
			||||||
			.map(function(path){
 | 
								.map(function(path){
 | 
				
			||||||
				return object.childOf(data[path], module.BaseStore) ?
 | 
									return object.childOf(data[path], module.BaseStore) ?
 | 
				
			||||||
					data[path].paths()
 | 
										data[path]
 | 
				
			||||||
					: data[path] })
 | 
											.paths()
 | 
				
			||||||
 | 
											.map(function(s){
 | 
				
			||||||
 | 
												return module.path.join(path, s) })
 | 
				
			||||||
 | 
										: path })
 | 
				
			||||||
			.flat() },
 | 
								.flat() },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// XXX revise...
 | 
						// XXX revise...
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user