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:
parent
2f7715fd08
commit
0cc2a52b56
@ -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;
|
||||
};
|
||||
|
||||
})();
|
@ -1,6 +0,0 @@
|
||||
created: 20240310123422910
|
||||
modified: 20240310123427872
|
||||
module-type: macro
|
||||
tags: $:/deprecated
|
||||
title: $:/editions/tw5.com/if-macro.js
|
||||
type: application/javascript
|
Loading…
x
Reference in New Issue
Block a user