mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-06 02:30:46 -08:00
Minor tweaks to boot kernel for AWS
Part of the upcoming AWS integration work is a custom build of TiddlyWiki that can run as an Amazon Lambda function. These tweaks enable the new build to control the loading of SJCL, the package info, and any preloaded tiddlers.
This commit is contained in:
parent
64b916bb43
commit
ad1793c8f5
2 changed files with 14 additions and 7 deletions
|
|
@ -99,7 +99,14 @@ $tw.preloadTiddler = function(fields) {
|
|||
$tw.preloadTiddlers.push(fields);
|
||||
};
|
||||
|
||||
return $tw
|
||||
/*
|
||||
Convenience function for pushing an array of tiddlers onto the preloading array
|
||||
*/
|
||||
$tw.preloadTiddlerArray = function(fieldsArray) {
|
||||
$tw.preloadTiddlers.push.apply($tw.preloadTiddlers,fieldsArray);
|
||||
};
|
||||
|
||||
return $tw;
|
||||
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue