From 8ba4347be1f45b76a10764ca0fbccaa112e4342a Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 8 Oct 2014 14:38:12 +0200 Subject: turn off warning for unused code in App.js --- js/Gruntfile.js | 1 + js/app/App.js | 2 ++ js/build/app.js | 1 + 3 files changed, 4 insertions(+) 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 * @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'; -- cgit v1.2.3