mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-31 23:53:00 +00:00
Fixed issue #46
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user