diff --git a/gruntfile.js b/gruntfile.js index 3d19a3ab..5adeccd9 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -12,8 +12,7 @@ module.exports = function (grunt) { 'static/script/lib/*', 'static/script/devices/googletv.js', 'static/script/devices/data/json2.js', - 'static/script/widgets/horizontalcarousel.js', - 'static/script/devices/exit/sagemcom.js' + 'static/script/widgets/horizontalcarousel.js' ] } }, diff --git a/static/script/devices/exit/sagemcom.js b/static/script/devices/exit/sagemcom.js index ca0faaa4..caba7a40 100644 --- a/static/script/devices/exit/sagemcom.js +++ b/static/script/devices/exit/sagemcom.js @@ -34,6 +34,7 @@ require.def( * Exits the application by singalling the application iframe can be closed */ Device.prototype.exit = function() { + /* global parent: true */ parent.postMessage("JS_EVENT_QUIT_THIRD_PARTY", "*"); }; }