mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 19:30:07 +00:00 
			
		
		
		
	cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									1c9b160e7a
								
							
						
					
					
						commit
						ea842217ab
					
				| @ -700,14 +700,7 @@ var ExampleUIActions = actions.Actions({ | |||||||
| 			this.nested = core.ImageGridFeatures | 			this.nested = core.ImageGridFeatures | ||||||
| 				// setup actions...
 | 				// setup actions...
 | ||||||
| 				.setup([ | 				.setup([ | ||||||
| 					'imagegrid-ui-minimal', | 					'imagegrid-ui-preview', | ||||||
| 
 |  | ||||||
| 					// stuff we do not need...
 |  | ||||||
| 					'-ui-drag-n-drop', |  | ||||||
| 					'-edit', |  | ||||||
| 					'-collections', |  | ||||||
| 					'-metadata', |  | ||||||
| 					'-peer', |  | ||||||
| 				]) | 				]) | ||||||
| 				.run(function(){ | 				.run(function(){ | ||||||
| 					this.close = function(){ widget.close() } | 					this.close = function(){ widget.close() } | ||||||
|  | |||||||
| @ -16,13 +16,6 @@ var core = require('features/core') | |||||||
| 
 | 
 | ||||||
| /*********************************************************************/ | /*********************************************************************/ | ||||||
| // Meta features...
 | // Meta features...
 | ||||||
| //
 |  | ||||||
| // XXX need to make a set of basic configurations:
 |  | ||||||
| // 		- commandline		- everything but no UI
 |  | ||||||
| // 		- imagegrid-minimal	- basic browser compatible viewer
 |  | ||||||
| // 		- viewer			- full viewer
 |  | ||||||
| // 		- editor			- editing capability
 |  | ||||||
| //
 |  | ||||||
| 
 | 
 | ||||||
| core.ImageGridFeatures.Feature('imagegrid-commandline', [ | core.ImageGridFeatures.Feature('imagegrid-commandline', [ | ||||||
| 	'lifecycle', | 	'lifecycle', | ||||||
| @ -76,7 +69,7 @@ core.ImageGridFeatures.Feature('imagegrid-ui-minimal', [ | |||||||
| ]) | ]) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| core.ImageGridFeatures.Feature('imagegrid-ui-chrome', [ | core.ImageGridFeatures.Feature('imagegrid-ui', [ | ||||||
| 	'imagegrid-ui-minimal', | 	'imagegrid-ui-minimal', | ||||||
| 
 | 
 | ||||||
| 	'ui-app-control', | 	'ui-app-control', | ||||||
| @ -94,9 +87,23 @@ core.ImageGridFeatures.Feature('imagegrid-ui-chrome', [ | |||||||
| ]) | ]) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | // simple feature set to do read-only previews...
 | ||||||
|  | // XXX experimental...
 | ||||||
|  | core.ImageGridFeatures.Feature('imagegrid-ui-preview', [ | ||||||
|  | 	'imagegrid-ui-minimal', | ||||||
|  | 
 | ||||||
|  | 	// stuff we do not need...
 | ||||||
|  | 	'-ui-drag-n-drop', | ||||||
|  | 	'-edit', | ||||||
|  | 	'-collections', | ||||||
|  | 	'-metadata', | ||||||
|  | 	'-peer', | ||||||
|  | ]) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| core.ImageGridFeatures.Feature('imagegrid-testing', [ | core.ImageGridFeatures.Feature('imagegrid-testing', [ | ||||||
| 	'imagegrid-commandline', | 	'imagegrid-commandline', | ||||||
| 	'imagegrid-ui-chrome', | 	'imagegrid-ui', | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 	// read-only mode...
 | 	// read-only mode...
 | ||||||
| @ -160,7 +167,7 @@ core.ImageGridFeatures.Feature('imagegrid-testing', [ | |||||||
| 	'-tests', | 	'-tests', | ||||||
| 	'-experiments', | 	'-experiments', | ||||||
| 
 | 
 | ||||||
| 	// missing suggested feature test...
 | 	// missing suggested feature test -- should show up in .features.missing...
 | ||||||
| 	'missing-feature', | 	'missing-feature', | ||||||
| ]) | ]) | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user