diff --git a/main.js b/main.js index 739cf056cd..8f0dfd2f3e 100644 --- a/main.js +++ b/main.js @@ -44,6 +44,9 @@ requirejs.config({ }, "moment-duration-format": { "deps": [ "moment" ] + }, + "screenfull": { + "exports": "screenfull" } } }); diff --git a/platform/commonUI/browse/src/windowing/FullscreenAction.js b/platform/commonUI/browse/src/windowing/FullscreenAction.js index f898dbbe6e..e9fcf9df76 100644 --- a/platform/commonUI/browse/src/windowing/FullscreenAction.js +++ b/platform/commonUI/browse/src/windowing/FullscreenAction.js @@ -25,7 +25,7 @@ */ define( ["screenfull"], - function () { + function (screenfull) { var ENTER_FULLSCREEN = "Enter full screen mode", EXIT_FULLSCREEN = "Exit full screen mode"; diff --git a/test-main.js b/test-main.js index 13f1bf367d..caa306c1b6 100644 --- a/test-main.js +++ b/test-main.js @@ -65,6 +65,9 @@ requirejs.config({ }, "moment-duration-format": { "deps": [ "moment" ] + }, + "screenfull": { + "exports": "screenfull" } },