mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 19:30:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Smarty
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Smarty
		
	
	
	
	
	
| /**********************************************************************
 | |
| * 
 | |
| * NOTE: version.js is generated automatically by Makefile from a template
 | |
| * 	do not edit directly.
 | |
| * 	Edit version.js.tpl instead.
 | |
| *
 | |
| *
 | |
| **********************************************************************/
 | |
| ((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define)
 | |
| (function(require){ var module={} // make module AMD/node compatible...
 | |
| /*********************************************************************/
 | |
| 
 | |
| // The version lives in package.json
 | |
| //
 | |
| // We need to be able to read the correct version in the folowing 
 | |
| // contexts:
 | |
| // 	- nodejs/electron	- can load JSON directly
 | |
| // 	- browser (remote)	- can load json via the require('json!package.json')
 | |
| // 	- browser (local)	- can't get access to .json files
 | |
| // Thus the only way around this is to generate this file from a template.
 | |
| 
 | |
| module.version = '$VERSION'
 | |
| 
 | |
| 
 | |
| 
 | |
| /**********************************************************************
 | |
| * vim:set ts=4 sw=4 :                               */ return module })
 |