mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 11:20:09 +00:00 
			
		
		
		
	some minor edits and work on makefile...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									749e8f694a
								
							
						
					
					
						commit
						0cf2a0fafa
					
				
							
								
								
									
										13
									
								
								ui/Makefile
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								ui/Makefile
									
									
									
									
									
								
							| @ -1,13 +1,24 @@ | |||||||
| # TODO: add minification... (???)
 | # TODO: add minification... (???)
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # rule for processing LESS files to CSS...
 | # process LESS files to CSS...
 | ||||||
| %.css: %.less | %.css: %.less | ||||||
| 	lessc $< > $@ | 	lessc $< > $@ | ||||||
| 
 | 
 | ||||||
|  | # minify js...
 | ||||||
|  | %.min.js: %.js | ||||||
|  | 	uglifyjs $< -c -o $@ | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| # get all the .less files to process...
 | # get all the .less files to process...
 | ||||||
| CSS_FILES := $(patsubst %.less,%.css,$(wildcard *.less)) | CSS_FILES := $(patsubst %.less,%.css,$(wildcard *.less)) | ||||||
| 
 | 
 | ||||||
|  | JS_FILES := $(patsubst %.js,%.min.js,$(wildcard *.js)) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | minify: $(JS_FILES) | ||||||
|  | 
 | ||||||
| all: $(CSS_FILES) | all: $(CSS_FILES) | ||||||
| 
 | 
 | ||||||
| clean: | clean: | ||||||
|  | |||||||
| @ -47,7 +47,7 @@ var KEYBOARD_CONFIG = { | |||||||
| 	'.overlay-info:hover': { | 	'.overlay-info:hover': { | ||||||
| 		title: 'Info overlay', | 		title: 'Info overlay', | ||||||
| 		doc: 'Displayed on bottom of the screen if enabled (toggle with '+ | 		doc: 'Displayed on bottom of the screen if enabled (toggle with '+ | ||||||
| 			'<b>I</b>) and/or inline, at bottom of and image when cursor '+ | 			'<b>I</b>) and/or inline, at bottom of an image when cursor '+ | ||||||
| 			'is over it (only in ribbon mode, toggle with <b>alt-I</b>)'+ | 			'is over it (only in ribbon mode, toggle with <b>alt-I</b>)'+ | ||||||
| 
 | 
 | ||||||
| 			'<p>NOTE: when the cursor is over the info overlay one can use '+ | 			'<p>NOTE: when the cursor is over the info overlay one can use '+ | ||||||
| @ -77,7 +77,7 @@ var KEYBOARD_CONFIG = { | |||||||
| 	'.drawer-mode': { | 	'.drawer-mode': { | ||||||
| 		title: 'Drawer modes', | 		title: 'Drawer modes', | ||||||
| 		doc: 'NOTE: In this mode all other key bindings are disabled, '+ | 		doc: 'NOTE: In this mode all other key bindings are disabled, '+ | ||||||
| 			'except the ones explicitly defined here.', | 			'except app defaults and the ones explicitly defined here.', | ||||||
| 
 | 
 | ||||||
| 		ignore: '*', | 		ignore: '*', | ||||||
| 
 | 
 | ||||||
| @ -222,7 +222,7 @@ var KEYBOARD_CONFIG = { | |||||||
| 		title: 'Global', | 		title: 'Global', | ||||||
| 		doc: 'These key bindings work in most other modes.'+ | 		doc: 'These key bindings work in most other modes.'+ | ||||||
| 
 | 
 | ||||||
| 			'<p>NOTE: shifting markid images from different ribbons will '+ | 			'<p>NOTE: shifting all marked images from different ribbons will '+ | ||||||
| 			'perform the operations on ALL marked images but relative '+ | 			'perform the operations on ALL marked images but relative '+ | ||||||
| 			'the the current ribbon. i.e. some images might get promoted, '+ | 			'the the current ribbon. i.e. some images might get promoted, '+ | ||||||
| 			'others demoted while some will not change position. ', | 			'others demoted while some will not change position. ', | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user