File tree Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 1
- module . exports = function ( grunt ) {
1
+ module . exports = function ( grunt ) {
2
2
require ( 'load-grunt-config' ) ( grunt )
3
3
// load npm tasks
4
4
grunt . loadNpmTasks ( 'grunt-karma' )
Original file line number Diff line number Diff line change 1
- /*eslint-disable no-console */
1
+ /* eslint-disable no-console */
2
2
/**
3
3
* Wraps a Reactor.react invocation in a console.group
4
4
*/
@@ -32,4 +32,4 @@ exports.dispatchEnd = function(state) {
32
32
console . groupEnd ( )
33
33
}
34
34
}
35
- /*eslint-enable no-console */
35
+ /* eslint-enable no-console */
Original file line number Diff line number Diff line change @@ -142,9 +142,9 @@ class Reactor {
142
142
* @param {Store } store
143
143
*/
144
144
registerStore ( id , store ) {
145
- /*eslint-disable no-console */
145
+ /* eslint-disable no-console */
146
146
console . warn ( 'Deprecation warning: `registerStore` will no longer be supported in 1.1, use `registerStores` instead' )
147
- /*eslint-enable no-console */
147
+ /* eslint-enable no-console */
148
148
var stores = { }
149
149
stores [ id ] = store
150
150
this . registerStores ( stores )
@@ -156,9 +156,9 @@ class Reactor {
156
156
registerStores ( stores ) {
157
157
each ( stores , ( store , id ) => {
158
158
if ( this . __stores . get ( id ) ) {
159
- /*eslint-disable no-console */
159
+ /* eslint-disable no-console */
160
160
console . warn ( 'Store already defined for id = ' + id )
161
- /*eslint-enable no-console */
161
+ /* eslint-enable no-console */
162
162
}
163
163
164
164
var initialState = store . getInitialState ( )
Original file line number Diff line number Diff line change 1
- var webpack = require ( 'webpack' ) ;
1
+ var webpack = require ( 'webpack' )
2
2
3
3
var genFilename = function ( isMin ) {
4
4
return [
5
5
'./dist/nuclear' ,
6
6
( isMin ? '.min' : '' ) ,
7
- '.js'
8
- ] . join ( '' ) ;
9
- } ;
7
+ '.js' ,
8
+ ] . join ( '' )
9
+ }
10
10
11
- var uglifyJsPlugin = new webpack . optimize . UglifyJsPlugin ( ) ;
11
+ var uglifyJsPlugin = new webpack . optimize . UglifyJsPlugin ( )
12
12
13
13
module . exports = [
14
14
{
@@ -20,8 +20,8 @@ module.exports = [
20
20
} ,
21
21
module : {
22
22
loaders : [
23
- { test : / \. j s $ / , loader : 'jstransform-loader' }
24
- ]
23
+ { test : / \. j s $ / , loader : 'jstransform-loader' } ,
24
+ ] ,
25
25
} ,
26
26
} ,
27
27
{
@@ -33,9 +33,9 @@ module.exports = [
33
33
} ,
34
34
module : {
35
35
loaders : [
36
- { test : / \. j s $ / , loader : 'jstransform-loader' }
37
- ]
36
+ { test : / \. j s $ / , loader : 'jstransform-loader' } ,
37
+ ] ,
38
38
} ,
39
39
plugins : [ uglifyJsPlugin ] ,
40
- }
41
- ] ;
40
+ } ,
41
+ ]
You can’t perform that action at this time.
0 commit comments