1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 03:19:56 +00:00
TiddlyWiki5/js/macros/version.js
Jeremy Ruston e2a0955ced Renamed 'handler' member of macros
Used to be called "code". And associated documentation changes
2012-01-15 12:16:28 +00:00

23 lines
292 B
JavaScript

/*\
title: js/macros/version.js
\*/
(function(){
/*jslint node: true */
"use strict";
var utils = require("../Utils.js");
exports.macro = {
name: "version",
types: ["text/html","text/plain"],
params: {
},
handler: function(type,tiddler,store,params) {
return "5.0.0";
}
};
})();