From 4a5fc817fbf5c07bf22ba526a2f7f3c65a656b2a Mon Sep 17 00:00:00 2001 From: vitorsemeano Date: Wed, 27 Feb 2019 23:26:11 +0000 Subject: [PATCH] module resolution for viewManager --- src/components/viewmanager/package.json | 3 +++ src/scripts/site.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/components/viewmanager/package.json diff --git a/src/components/viewmanager/package.json b/src/components/viewmanager/package.json new file mode 100644 index 0000000000..819371af71 --- /dev/null +++ b/src/components/viewmanager/package.json @@ -0,0 +1,3 @@ +{ + "main": "viewManager.js" +} \ No newline at end of file diff --git a/src/scripts/site.js b/src/scripts/site.js index ff2e5449e2..cfd2d58f55 100644 --- a/src/scripts/site.js +++ b/src/scripts/site.js @@ -801,7 +801,7 @@ var AppInfo = {}; define("programStyles", ["css!" + componentsPath + "/guide/programs"], returnFirstDependency); define("guide-settings-dialog", [componentsPath + "/guide/guide-settings"], returnFirstDependency); define("loadingDialog", [componentsPath + "/loadingdialog/loadingdialog"], returnFirstDependency); - define("viewManager", [componentsPath + "/viewmanager/viewmanager"], function (viewManager) { + define("viewManager", [componentsPath + "/viewManager/viewManager"], function (viewManager) { window.ViewManager = viewManager; viewManager.dispatchPageEvents(true); return viewManager;