@samitouri / QOS-React-2 / commits / 703a29c0b2

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.

Ben Alpert committed Jan 17, 2014 at 01:48 UTC 703a29c0b293e0cd44c39dfe2cdec878623bf92c
1 file changed +3 -9
grunt/config/jsx/jsx.js
+3 -9
@@ -9,11 +9,9 @@ var rootIDs = [
9
10 var getDebugConfig = function() {
11 return {
12 - "debug": true,
12 "commonerConfig": grunt.config.data.pkg.commonerConfig,
13 "constants": {
15 - "__VERSION__": grunt.config.data.pkg.version,
16 - "__DEV__": true
14 + "__VERSION__": grunt.config.data.pkg.version
15 }
16 };
17 };
@@ -32,12 +30,10 @@ var test = {
30 ]),
31 getConfig: function() {
32 return {
35 - "debug": true,
33 "mocking": true,
34 "commonerConfig": grunt.config.data.pkg.commonerConfig,
35 "constants": {
39 - "__VERSION__": grunt.config.data.pkg.version,
40 - "__DEV__": true
36 + "__VERSION__": grunt.config.data.pkg.version
37 }
38 };
39 },
@@ -50,11 +46,9 @@ var release = {
46 rootIDs: rootIDs,
47 getConfig: function() {
48 return {
53 - "debug": false,
49 "commonerConfig": grunt.config.data.pkg.commonerConfig,
50 "constants": {
56 - "__VERSION__": grunt.config.data.pkg.version,
57 - "__DEV__": false
51 + "__VERSION__": grunt.config.data.pkg.version
52 }
53 };
54 },