diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 14:17:55 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 14:17:55 +0200 |
commit | 145ba6a487657c9864500c94dd3a89d9af8f4a87 (patch) | |
tree | 0f529b63d82e4f391dc64fb9ec1b9add497759e7 /js/Gruntfile.js | |
parent | 9d3de6d0959e73096ce0fa0ad9f6f7c702b0e0a8 (diff) |
add some notes
Diffstat (limited to 'js/Gruntfile.js')
-rw-r--r-- | js/Gruntfile.js | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/js/Gruntfile.js b/js/Gruntfile.js index b5e13b074..4bc803072 100644 --- a/js/Gruntfile.js +++ b/js/Gruntfile.js @@ -8,6 +8,23 @@ * @copyright Bernhard Posselt 2012, 2014 */ +var globals = [ + '$', + 'angular', + 'app', + 'OC', + 'protractor', + 'describe', + 'beforeEach', + 'module', + 'it', + 'browser', + 'expect', + 'By', + 'inject', + 'console' +]; + module.exports = function(grunt) { // load needed modules @@ -78,11 +95,7 @@ module.exports = function(grunt) { ], directives: { browser: true, - predef: [ - '$', 'angular', 'app', 'OC', - 'protractor', 'describe', 'beforeEach', 'module', 'it', - 'browser', 'expect', 'By', 'inject' - ] + predef: globals } } }, |