mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-30 18:40:08 +00:00 
			
		
		
		
	cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									7505096dda
								
							
						
					
					
						commit
						d3c2832f8f
					
				| @ -360,7 +360,6 @@ module.BaseStore = { | |||||||
| 						// skip metadata paths...
 | 						// skip metadata paths...
 | ||||||
| 						if(p.includes('*')){ | 						if(p.includes('*')){ | ||||||
| 							return res } | 							return res } | ||||||
| 						// XXX HIDE
 |  | ||||||
| 						var m = [...p.matchAll(pattern)] | 						var m = [...p.matchAll(pattern)] | ||||||
| 						m.length > 0 | 						m.length > 0 | ||||||
| 							&& (!all ? | 							&& (!all ? | ||||||
| @ -368,16 +367,10 @@ module.BaseStore = { | |||||||
| 								m.reduce(function(res, m){ | 								m.reduce(function(res, m){ | ||||||
| 									return res === false ? | 									return res === false ? | ||||||
| 										res | 										res | ||||||
| 										// XXX if we are using a partial pattern this is wrong...
 |  | ||||||
| 										// 		i.e. something like 'x*' (TEST)
 |  | ||||||
| 										: !/(^\.|[\\\/]\.)/.test(m[1]) | 										: !/(^\.|[\\\/]\.)/.test(m[1]) | ||||||
| 								}, true) | 								}, true) | ||||||
| 								: true) | 								: true) | ||||||
| 							&& (m = m[0]) | 							&& (m = m[0]) | ||||||
| 						/*/ |  | ||||||
| 						var m = p.match(pattern) |  | ||||||
| 						m |  | ||||||
| 						//*/
 |  | ||||||
| 							&& (!strict  | 							&& (!strict  | ||||||
| 								|| m[0] == p)  | 								|| m[0] == p)  | ||||||
| 							&& res.add( | 							&& res.add( | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user