No reply yet and I already did a change...
//{{{
config.macros.unwikified= {};
config.macros.unwikified.handler = function
(place,macroName,params,wikifier,paramString,tiddler){
// this will run when macro is called from a tiddler
params = paramString.parseParams("name",null,true,false,true);
if (!getParam(params,'if',true)) return;
var names = params[0]["name"];
var tiddlerName = names[0];
var className = names[1] || null;
var wrapper = createTiddlyElement(place,"span",null,className);
wrapper.setAttribute("refresh","unwikified");
wrapper.setAttribute("tiddler",tiddlerName);
config.refreshers.unwikified(wrapper,[tiddlerName.replace(/##.*/,'')]);
}
config.refreshers.unwikified= function(e,changeList) {
var title = e.getAttribute("tiddler");
var force = e.getAttribute("force");
var args = e.getAttribute("args");
if(force != null || changeList == null ||
changeList.indexOf(title.replace(/##.*/,'')) != -1) {
removeChildren(e);
var text = store.getTiddlerText(title); if (!text) return;
createTiddlyElement(e, "pre", null, null, text);
return true;
}
else {
return false;
}
};
//}}}
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.