9f524f72 by Adam Heath

Exclude *.json.js from jasmine.

1 parent eb4ece30
...@@ -393,8 +393,9 @@ module.exports = function (grunt) { ...@@ -393,8 +393,9 @@ module.exports = function (grunt) {
393 } 393 }
394 if (mpConfig.jasmine) { 394 if (mpConfig.jasmine) {
395 var src = [ 395 var src = [
396 mpConfig.base + '/scripts/{,**/}*.js', 396 mpConfig.base + '/scripts/**/*.js',
397 '!' + mpConfig.base + '/scripts/main.js', 397 '!' + mpConfig.base + '/scripts/main.js',
398 '!' + mpConfig.base + '/scripts/**/*.json.js',
398 ]; 399 ];
399 var specs = [ 400 var specs = [
400 mpConfig.base + '/scripts/**/*.spec.js', 401 mpConfig.base + '/scripts/**/*.spec.js',
......