mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 19:47:20 +00:00
More defensive handling of pluginInfo
This commit is contained in:
parent
c3e24c1228
commit
53ca7f6a2f
@ -964,6 +964,7 @@ $tw.Wiki = function(options) {
|
||||
shadowTiddlers = {};
|
||||
$tw.utils.each(pluginTiddlers,function(tiddler) {
|
||||
// Extract the constituent tiddlers
|
||||
if($tw.utils.hop(pluginInfo,tiddler.fields.title)) {
|
||||
$tw.utils.each(pluginInfo[tiddler.fields.title].tiddlers,function(constituentTiddler,constituentTitle) {
|
||||
// Save the tiddler object
|
||||
if(constituentTitle) {
|
||||
@ -973,6 +974,7 @@ $tw.Wiki = function(options) {
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user