diff --git a/editions/tw5.com/tiddlers/system/if-macro.js b/editions/tw5.com/tiddlers/system/if-macro.js deleted file mode 100644 index c1a3ade17..000000000 --- a/editions/tw5.com/tiddlers/system/if-macro.js +++ /dev/null @@ -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; -}; - -})(); diff --git a/editions/tw5.com/tiddlers/system/if-macro.js.meta b/editions/tw5.com/tiddlers/system/if-macro.js.meta deleted file mode 100644 index 012377042..000000000 --- a/editions/tw5.com/tiddlers/system/if-macro.js.meta +++ /dev/null @@ -1,6 +0,0 @@ -created: 20240310123422910 -modified: 20240310123427872 -module-type: macro -tags: $:/deprecated -title: $:/editions/tw5.com/if-macro.js -type: application/javascript \ No newline at end of file