tiddlywiki
Version:
a non-linear personal web notebook
26 lines (18 loc) • 389 B
JavaScript
/*\
title: $:/core/modules/macros/changecount.js
type: application/javascript
module-type: macro
Macro to return the changecount for the current tiddler
\*/
;
/*
Information about this macro
*/
exports.name = "changecount";
exports.params = [];
/*
Run the macro
*/
exports.run = function() {
return this.wiki.getChangeCount(this.getVariable("currentTiddler")) + "";
};