mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-11-04 05:10:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Smarty
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Smarty
		
	
	
	
	
	
/**********************************************************************
 | 
						|
* 
 | 
						|
* NOTE: version.js is generated automatically by Makefile from a template
 | 
						|
* 	do not edit directly.
 | 
						|
* 	Edit version.js.tpl instead.
 | 
						|
*
 | 
						|
* Build: $BUILD
 | 
						|
* Commit: $COMMIT
 | 
						|
*
 | 
						|
* NOTE: the build/commit data is of the time the version.js was built 
 | 
						|
* 	but may not be the current/latest...
 | 
						|
*
 | 
						|
**********************************************************************/
 | 
						|
((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 ft=javascript :                 */ return module })
 |