service-worker: minor comment fix, referencing #48

merge-requests/12/merge
Michał 'rysiek' Woźniak 2022-03-09 14:16:50 +00:00
rodzic c4b688c34f
commit 9eecbe37e5
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -278,7 +278,7 @@ let initServiceWorker = async () => {
}
do {
// instantiate the plugin
let plugin = LibResilientPluginConstructors.get(pluginConfig.name)(self, pluginConfig)
self.log('service-worker', `${pluginConfig.name}: instantiated`)
@ -347,6 +347,8 @@ let initServiceWorker = async () => {
// go through the plugins in the new config and check if we already have their constructors
// i.e. if the plugin scripts have already been loaded
// FIXME: this does not currently dive into dependencies!
// FIXME: https://gitlab.com/rysiekpl/libresilient/-/issues/48
for (p in cdata.plugins) {
var pname = cdata.plugins[p].name