diff options
Diffstat (limited to 'js/Gruntfile.js')
-rw-r--r-- | js/Gruntfile.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/js/Gruntfile.js b/js/Gruntfile.js index 85b290562..571aaab00 100644 --- a/js/Gruntfile.js +++ b/js/Gruntfile.js @@ -92,11 +92,12 @@ module.exports = function (grunt) { dest: '<%= meta.production %>app.js', options: { wrapper: [ - '(function(window, document, angular, $, OC, ' + - 'csrfToken, url, undefined){\n\n\'use strict\';\n\n', + '(function(navigator, window, document, angular, $, ' + + 'OC, csrfToken, url, undefined){' + + '\n\n\'use strict\';\n\n', - '\n})(window, document, angular, jQuery, OC, ' + - 'oc_requesttoken, url);' + '\n})(navigator, window, document, angular, jQuery, ' + + ' OC, oc_requesttoken, url);' ] } } |