Skip to content

Commit bec91ea

Browse files
committed
Merge pull request #79 from bhamodi/master
Final eslint styling fixes.
2 parents 68cd0c7 + 39e5676 commit bec91ea

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = function (grunt) {
1+
module.exports = function(grunt) {
22
require('load-grunt-config')(grunt)
33
// load npm tasks
44
grunt.loadNpmTasks('grunt-karma')

src/logging.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*eslint-disable no-console */
1+
/* eslint-disable no-console */
22
/**
33
* Wraps a Reactor.react invocation in a console.group
44
*/
@@ -32,4 +32,4 @@ exports.dispatchEnd = function(state) {
3232
console.groupEnd()
3333
}
3434
}
35-
/*eslint-enable no-console */
35+
/* eslint-enable no-console */

src/reactor.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ class Reactor {
142142
* @param {Store} store
143143
*/
144144
registerStore(id, store) {
145-
/*eslint-disable no-console */
145+
/* eslint-disable no-console */
146146
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 */
148148
var stores = {}
149149
stores[id] = store
150150
this.registerStores(stores)
@@ -156,9 +156,9 @@ class Reactor {
156156
registerStores(stores) {
157157
each(stores, (store, id) => {
158158
if (this.__stores.get(id)) {
159-
/*eslint-disable no-console */
159+
/* eslint-disable no-console */
160160
console.warn('Store already defined for id = ' + id)
161-
/*eslint-enable no-console */
161+
/* eslint-enable no-console */
162162
}
163163

164164
var initialState = store.getInitialState()

webpack.config.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
var webpack = require('webpack');
1+
var webpack = require('webpack')
22

33
var genFilename = function(isMin) {
44
return [
55
'./dist/nuclear',
66
(isMin ? '.min' : ''),
7-
'.js'
8-
].join('');
9-
};
7+
'.js',
8+
].join('')
9+
}
1010

11-
var uglifyJsPlugin = new webpack.optimize.UglifyJsPlugin();
11+
var uglifyJsPlugin = new webpack.optimize.UglifyJsPlugin()
1212

1313
module.exports = [
1414
{
@@ -20,8 +20,8 @@ module.exports = [
2020
},
2121
module: {
2222
loaders: [
23-
{ test: /\.js$/, loader: 'jstransform-loader' }
24-
]
23+
{ test: /\.js$/, loader: 'jstransform-loader' },
24+
],
2525
},
2626
},
2727
{
@@ -33,9 +33,9 @@ module.exports = [
3333
},
3434
module: {
3535
loaders: [
36-
{ test: /\.js$/, loader: 'jstransform-loader' }
37-
]
36+
{ test: /\.js$/, loader: 'jstransform-loader' },
37+
],
3838
},
3939
plugins: [uglifyJsPlugin],
40-
}
41-
];
40+
},
41+
]

0 commit comments

Comments
 (0)