Partial commit for saweb-api migration

This commit is contained in:
Matias authored and Matias committed 2019-05-24 20:09:11 -03:00
1 parent 19044bda86
commit e4fc210f11
12 files changed
+193 -771

No files matched your search

+3 -6
View File
@@ -7,18 +7,15 @@
let storage;
let serverConfig;
let storageData;
return thisObject;
function initialize(pServerConfig, pStorage, callBackFunction) {
function initialize(ecosystem, pStorage, callBackFunction) {
storage = pStorage;
let storageData = new Map(); // For backwards compatibility only. Not used.
storage.initialize(storageData, pServerConfig);
storage.initialize(storageData, ecosystem);
callBackFunction();
}
@@ -76,4 +73,4 @@
return text.replace(new RegExp(search, 'g'), replacement);
}
}
}
}