@@ -90,7 +90,10 @@ module.exports = {
90
90
require ( "dns" ) . resolve ( "www.google.com" , function ( err ) {
91
91
var online = false ;
92
92
if ( err ) {
93
- bs . debug ( "Could not resolve www.google.com, setting %s" , chalk . magenta ( "online: false" ) ) ;
93
+ bs . debug (
94
+ "Could not resolve www.google.com, setting %s" ,
95
+ chalk . magenta ( "online: false" )
96
+ ) ;
94
97
} else {
95
98
bs . debug ( "Resolved www.google.com, setting %s" , chalk . magenta ( "online: true" ) ) ;
96
99
online = true ;
@@ -141,9 +144,15 @@ module.exports = {
141
144
done ( null , {
142
145
options : {
143
146
urls : utils . getUrlOptions ( bs . options ) ,
144
- snippet : connectUtils . enabled ( bs . options ) ? connectUtils . scriptTags ( bs . options ) : false ,
147
+ snippet : connectUtils . enabled ( bs . options )
148
+ ? connectUtils . scriptTags ( bs . options )
149
+ : false ,
145
150
scriptPaths : Immutable . fromJS ( connectUtils . clientScript ( bs . options , true ) ) ,
146
- files : bs . pluginManager . hook ( "files:watch" , bs . options . get ( "files" ) , bs . pluginManager . pluginOptions )
151
+ files : bs . pluginManager . hook (
152
+ "files:watch" ,
153
+ bs . options . get ( "files" ) ,
154
+ bs . pluginManager . pluginOptions
155
+ )
147
156
}
148
157
} ) ;
149
158
} ,
@@ -224,7 +233,10 @@ module.exports = {
224
233
* @param {Function } done
225
234
*/
226
235
startSockets : function ( bs , done ) {
227
- var clientEvents = bs . pluginManager . hook ( "client:events" , bs . options . get ( "clientEvents" ) . toJS ( ) ) ;
236
+ var clientEvents = bs . pluginManager . hook (
237
+ "client:events" ,
238
+ bs . options . get ( "clientEvents" ) . toJS ( )
239
+ ) ;
228
240
229
241
// Start the socket, needs an existing server.
230
242
var io = bs . pluginManager . get ( "socket" ) ( bs . server , clientEvents , bs ) ;
@@ -259,7 +271,9 @@ module.exports = {
259
271
return item . name === PLUGIN_NAME ;
260
272
} )
261
273
) {
262
- uiOpts = bs . options . get ( "ui" ) . mergeDeep ( Immutable . fromJS ( bs . pluginManager . pluginOptions [ PLUGIN_NAME ] ) ) ;
274
+ uiOpts = bs . options
275
+ . get ( "ui" )
276
+ . mergeDeep ( Immutable . fromJS ( bs . pluginManager . pluginOptions [ PLUGIN_NAME ] ) ) ;
263
277
}
264
278
265
279
/**
0 commit comments