Using appContext in DataSourceWrapper and createRoutes

This commit is contained in:
dannyrb committed 2020-05-17 22:18:25 -04:00
1 parent c2853f719a
commit 70ad940941
6 files changed
+31 -34

No files matched your search

+5
View File
@@ -59,6 +59,11 @@ function appInit(appConfigOrFunc, defaultExtensions) {
// TODO: We no longer init webWorkers at app level
// TODO: We no longer init the user Manager
// TODO: Remove this
if (!appConfig.modes.length) {
appConfig.modes.push(window.exampleMode);
}
return {
appConfig,
commandsManager,