1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-18 12:00:02 +00:00

remove .if-macro from docs edtion

This commit is contained in:
pmario 2024-03-10 16:29:50 +01:00
parent 2f7715fd08
commit 0cc2a52b56
2 changed files with 0 additions and 37 deletions

View File

@ -1,31 +0,0 @@
/*\
title: $:/editions/tw5.com/if-macro.js
type: application/javascript
tags: $:/deprecated
module-type: macro
DEPRECATED -- Since TW v5.3.x this documentation macro is not needed anymore
Use: https://tiddlywiki.com/#Conditional%20Shortcut%20Syntax instead
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
exports.name = ".if";
exports.params = [
{ name: "cond" },
{ name: "then" },
{ name: "else" }
];
exports.run = function(cond, then, elze) {
then = then || "";
elze = elze || "";
return cond ? then : elze;
};
})();

View File

@ -1,6 +0,0 @@
created: 20240310123422910
modified: 20240310123427872
module-type: macro
tags: $:/deprecated
title: $:/editions/tw5.com/if-macro.js
type: application/javascript