File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 5
5
camelcase
6
6
*/
7
7
8
- // this SockJSClient is here as a default fallback, in case inline mode
9
- // is off or the client is not injected. This will be switched to
10
- // WebsocketClient when it becomes the default
11
- const SockJSClient = require ( '../clients/SockJSClient' ) ;
12
-
13
8
let Client ;
14
9
try {
15
10
// if __webpack_dev_server_client__ is undefined, we should fall back
16
11
// to SockJSClient
17
12
Client = __webpack_dev_server_client__ ;
18
13
} catch ( e ) {
14
+ // this SockJSClient is here as a default fallback, in case inline mode
15
+ // is off or the client is not injected. This will be switched to
16
+ // WebsocketClient when it becomes the default
17
+
18
+ // eslint-disable-next-line global-require
19
+ const SockJSClient = require ( '../clients/SockJSClient' ) ;
19
20
Client = SockJSClient ;
20
21
}
21
22
You can’t perform that action at this time.
0 commit comments