From 145ba6a487657c9864500c94dd3a89d9af8f4a87 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 15 May 2014 14:17:55 +0200 Subject: add some notes --- js/Gruntfile.js | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'js/Gruntfile.js') 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 } } }, -- cgit v1.2.3