Skip to content

Commit 703a29c

Browse files
committed
Remove unused grunt jsx config options
Since 5466d0a, the `__DEV__` isn't used any more. I can't find anything that uses the `debug` flag either.
1 parent 17de856 commit 703a29c

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

grunt/config/jsx/jsx.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ var rootIDs = [
99

1010
var getDebugConfig = function() {
1111
return {
12-
"debug": true,
1312
"commonerConfig": grunt.config.data.pkg.commonerConfig,
1413
"constants": {
15-
"__VERSION__": grunt.config.data.pkg.version,
16-
"__DEV__": true
14+
"__VERSION__": grunt.config.data.pkg.version
1715
}
1816
};
1917
};
@@ -32,12 +30,10 @@ var test = {
3230
]),
3331
getConfig: function() {
3432
return {
35-
"debug": true,
3633
"mocking": true,
3734
"commonerConfig": grunt.config.data.pkg.commonerConfig,
3835
"constants": {
39-
"__VERSION__": grunt.config.data.pkg.version,
40-
"__DEV__": true
36+
"__VERSION__": grunt.config.data.pkg.version
4137
}
4238
};
4339
},
@@ -50,11 +46,9 @@ var release = {
5046
rootIDs: rootIDs,
5147
getConfig: function() {
5248
return {
53-
"debug": false,
5449
"commonerConfig": grunt.config.data.pkg.commonerConfig,
5550
"constants": {
56-
"__VERSION__": grunt.config.data.pkg.version,
57-
"__DEV__": false
51+
"__VERSION__": grunt.config.data.pkg.version
5852
}
5953
};
6054
},

0 commit comments

Comments
 (0)