diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-08 14:38:12 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-08 14:38:12 +0200 |
commit | 8ba4347be1f45b76a10764ca0fbccaa112e4342a (patch) | |
tree | 4d405a1f34b528c4847ddc9df2f97820cdd47097 | |
parent | c20923f5ea9f500a41de2b3722f4b44fe3a45690 (diff) |
turn off warning for unused code in App.js
-rw-r--r-- | js/Gruntfile.js | 1 | ||||
-rw-r--r-- | js/app/App.js | 2 | ||||
-rw-r--r-- | js/build/app.js | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/js/Gruntfile.js b/js/Gruntfile.js index c3197b58d..33b9b8c1e 100644 --- a/js/Gruntfile.js +++ b/js/Gruntfile.js @@ -107,6 +107,7 @@ module.exports = function (grunt) { jshint: { app: { src: [ + 'app/App.js', 'app/Config.js', 'app/Run.js', 'filter/**/*.js', diff --git a/js/app/App.js b/js/app/App.js index 4f6a47a96..ba637e71d 100644 --- a/js/app/App.js +++ b/js/app/App.js @@ -7,4 +7,6 @@ * @author Bernhard Posselt <dev@bernhard-posselt.com> * @copyright Bernhard Posselt 2014 */ + +/* jshint unused: false */ var app = angular.module('News', ['ngRoute', 'ngSanitize']);
\ No newline at end of file diff --git a/js/build/app.js b/js/build/app.js index dcf282e19..9e290c5ab 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -3,6 +3,7 @@ 'use strict'; +/* jshint unused: false */ var app = angular.module('News', ['ngRoute', 'ngSanitize']); app.config(["$routeProvider", "$provide", "$httpProvider", function ($routeProvider, $provide, $httpProvider) { 'use strict'; |