mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-02 09:06:46 +00:00
Revised test data
Testing against the output of cook.rb isn't satisfactory because of the bugs in it; instead we're now going to test against the tiddlywiki.com build products
This commit is contained in:
16
test/tiddlywiki.2.6.5/source/tiddlywiki/deprecated/Wikifier.js
Executable file
16
test/tiddlywiki.2.6.5/source/tiddlywiki/deprecated/Wikifier.js
Executable file
@@ -0,0 +1,16 @@
|
||||
//--
|
||||
//-- Deprecated Wikifier code
|
||||
//--
|
||||
|
||||
//# Wikify a named tiddler to plain text
|
||||
function wikifyPlain(title,theStore,limit)
|
||||
{
|
||||
if(!theStore)
|
||||
theStore = store;
|
||||
if(theStore.tiddlerExists(title) || theStore.isShadowTiddler(title)) {
|
||||
return wikifyPlainText(theStore.getTiddlerText(title),limit,tiddler);
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user