mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-11-04 09:33:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			403 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			403 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/*\
 | 
						|
title: $:/core/modules/macros/version.js
 | 
						|
type: application/javascript
 | 
						|
module-type: macro
 | 
						|
 | 
						|
Macro to return the TiddlyWiki core version number
 | 
						|
 | 
						|
\*/
 | 
						|
(function(){
 | 
						|
 | 
						|
/*jslint node: true, browser: true */
 | 
						|
/*global $tw: false */
 | 
						|
"use strict";
 | 
						|
 | 
						|
/*
 | 
						|
Information about this macro
 | 
						|
*/
 | 
						|
 | 
						|
exports.name = "version";
 | 
						|
 | 
						|
exports.params = [];
 | 
						|
 | 
						|
/*
 | 
						|
Run the macro
 | 
						|
*/
 | 
						|
exports.run = function() {
 | 
						|
	return $tw.version;
 | 
						|
};
 | 
						|
 | 
						|
})();
 |