mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 11:20:09 +00:00 
			
		
		
		
	notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									3491f64c17
								
							
						
					
					
						commit
						b4b34a6969
					
				| @ -964,7 +964,7 @@ module.Dialogs = core.ImageGridFeatures.Feature({ | |||||||
| //	.makeContext(name, func[, obj])
 | //	.makeContext(name, func[, obj])
 | ||||||
| //
 | //
 | ||||||
| //
 | //
 | ||||||
| // XXX context of context will not work...
 | // XXX BUGGY...
 | ||||||
| // XXX move this to browse???
 | // XXX move this to browse???
 | ||||||
| browse.items.makeContext = function(name, obj){ | browse.items.makeContext = function(name, obj){ | ||||||
| 	// parse args...
 | 	// parse args...
 | ||||||
| @ -987,6 +987,13 @@ browse.items.makeContext = function(name, obj){ | |||||||
| 		return f } | 		return f } | ||||||
| 
 | 
 | ||||||
| 	// make the handler...
 | 	// make the handler...
 | ||||||
|  | 	// XXX the idea here is to save the collection to a prop and build a 
 | ||||||
|  | 	// 		custom local context on access, cache it in the make instance 
 | ||||||
|  | 	// 		and it will be used in all the methods...
 | ||||||
|  | 	// 		..the reason for this complexity is that on load time we can 
 | ||||||
|  | 	// 		add stuff to the object while in runtime make(..) is a custom
 | ||||||
|  | 	// 		instance...
 | ||||||
|  | 	// 		...this still does not work correctly...
 | ||||||
| 	var n = '__'+ name | 	var n = '__'+ name | ||||||
| 	Object.defineProperty(this, name, { | 	Object.defineProperty(this, name, { | ||||||
| 		get: function(){ | 		get: function(){ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user