How does @cfu:changelog work?
|
|
You need to create a function with three parameters that returns the result of the change log.
For example, lets say you have a multiline header named "@versiontext"
// @cfu:changelog (function(o, n, t){return 'Change log:\n'+n['versiontext'].join('\n');})
OR // @cfu:changelog changeLog
// ...
function changeLog(o, n, t)
{
return 'Change log:\n'+n['versiontext'].join('\n');
}
I'll give some other examples later. |