1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-08 13:04:21 +00:00
TiddlyWiki5/js/macros/echo.js
2012-03-05 12:04:06 +00:00

23 lines
303 B
JavaScript

/*\
title: js/macros/echo.js
\*/
(function(){
/*jslint node: true */
"use strict";
var Renderer = require("../Renderer.js").Renderer;
exports.macro = {
name: "echo",
params: {
text: {byPos: 0, type: "text"}
},
execute: function() {
return [Renderer.TextNode(this.params.text)];
}
};
})();