mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 07:44:51 +00:00
Fixed issue #46
This commit is contained in:
parent
46a1dd662c
commit
072c06b412
@ -22,7 +22,12 @@ exports.info = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.getList = function(title) {
|
exports.getList = function(title) {
|
||||||
return this.wiki.getTextReference(title,"").split("\n");
|
var text = this.wiki.getTextReference(title,"");
|
||||||
|
if(text && text.length > 0) {
|
||||||
|
return text.split("\n");
|
||||||
|
} else {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.saveList = function(title,list) {
|
exports.saveList = function(title,list) {
|
||||||
|
Loading…
Reference in New Issue
Block a user