mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 11:29:58 +00:00
bf6f5e0254
Now 'this' points to the Renderer.MacroNode
23 lines
303 B
JavaScript
23 lines
303 B
JavaScript
/*\
|
|
title: js/macros/version.js
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true */
|
|
"use strict";
|
|
|
|
var Renderer = require("../Renderer.js").Renderer;
|
|
|
|
exports.macro = {
|
|
name: "version",
|
|
types: ["text/html","text/plain"],
|
|
params: {
|
|
},
|
|
execute: function() {
|
|
return [Renderer.TextNode("5.0.0")];
|
|
}
|
|
};
|
|
|
|
})();
|