From 2e8dda6dcdce6489445b4d4ae9408e54b70c04f3 Mon Sep 17 00:00:00 2001 From: Thomas Werner Date: Fri, 20 Feb 2015 16:00:07 +0100 Subject: [PATCH] fix: update jshint exception switch to current jshint version update the jshint exception switch to current (2.6.0) version for mixed quotation marks. As of jshint > 1.0 this exception is W110 instead of the used W100 --- lib/compile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compile.js b/lib/compile.js index 6d3e426..733c18e 100644 --- a/lib/compile.js +++ b/lib/compile.js @@ -11,9 +11,9 @@ var formats = { format: function (locales, options) { var module = 'angular.module(\'' + options.module + '\')' + '.run([\'gettextCatalog\', function (gettextCatalog) {\n' + - '/* jshint -W100 */\n' + + '/* jshint -W110 */\n' + locales.join('') + - '/* jshint +W100 */\n'; + '/* jshint +W110 */\n'; if (options.defaultLanguage) { module += 'gettextCatalog.currentLanguage = \'' + options.defaultLanguage + '\';\n'; }