1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-07-01 09:33:03 +00:00
2023-07-07 13:15:03 +02:00

32 lines
433 B
JavaScript

/*\
title: $:/core/modules/macros/qualify.js
type: application/javascript
module-type: macro
Macro to qualify a state tiddler title according
\*/
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
/*
Information about this macro
*/
exports.name = "qualify";
exports.params = [
{name: "title"}
];
/*
Run the macro
*/
exports.run = function(title) {
return title + "-" + this.getStateQualifier();
};