diff --git a/js/app.js b/js/app.js index 0f040880..8c628037 100644 --- a/js/app.js +++ b/js/app.js @@ -240,7 +240,7 @@ class Application { } constructor({ services = {}, ui = {}, helpers = {}, loadView: viewLoader } = {}) { - this.loadView = typeof viewLoader === "function" ? viewLoader : null; + this.loadView = viewLoader || null; const bootstrapServices = { ...services,