1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-08 02:49:56 +00:00
TiddlyWiki5/rabbithole/core/modules/macros/version.js
Jeremy Ruston dac06537e5 Added command handling
The idea is that the same commands will work on the server or the
client, and that the client will be able to remotely run commands on
the server.

Also includes abstraction of the version number of TW5.
2012-05-02 11:02:47 +01:00

23 lines
295 B
JavaScript

/*\
title: $:/core/macros/version.js
type: application/javascript
module-type: macro
\*/
(function(){
/*jslint node: true */
"use strict";
exports.info = {
name: "version",
params: {
}
}
exports.executeMacro = function() {
return [$tw.Tree.Text($tw.utils.getVersionString())];
};
})();