From 703a29c0b293e0cd44c39dfe2cdec878623bf92c Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Fri, 17 Jan 2014 01:48:59 -0800 Subject: [PATCH] Remove unused grunt jsx config options Since 5466d0a06382892106da7e237f3330b43a60cc95, the `__DEV__` isn't used any more. I can't find anything that uses the `debug` flag either. --- grunt/config/jsx/jsx.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/grunt/config/jsx/jsx.js b/grunt/config/jsx/jsx.js index 9bac5e934a..89bd7ca392 100644 --- a/grunt/config/jsx/jsx.js +++ b/grunt/config/jsx/jsx.js @@ -9,11 +9,9 @@ var rootIDs = [ var getDebugConfig = function() { return { - "debug": true, "commonerConfig": grunt.config.data.pkg.commonerConfig, "constants": { - "__VERSION__": grunt.config.data.pkg.version, - "__DEV__": true + "__VERSION__": grunt.config.data.pkg.version } }; }; @@ -32,12 +30,10 @@ var test = { ]), getConfig: function() { return { - "debug": true, "mocking": true, "commonerConfig": grunt.config.data.pkg.commonerConfig, "constants": { - "__VERSION__": grunt.config.data.pkg.version, - "__DEV__": true + "__VERSION__": grunt.config.data.pkg.version } }; }, @@ -50,11 +46,9 @@ var release = { rootIDs: rootIDs, getConfig: function() { return { - "debug": false, "commonerConfig": grunt.config.data.pkg.commonerConfig, "constants": { - "__VERSION__": grunt.config.data.pkg.version, - "__DEV__": false + "__VERSION__": grunt.config.data.pkg.version } }; },