File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 24
24
"devDependencies" : {
25
25
"babel-cli" : " ^6.26.0" ,
26
26
"babel-core" : " ^6.25.0" ,
27
- "babel-eslint" : " ^8.0.0 " ,
27
+ "babel-eslint" : " ^8.0.1 " ,
28
28
"babel-loader" : " ^7.1.2" ,
29
29
"babel-plugin-add-module-exports" : " ^0.2.1" ,
30
30
"babel-preset-es2015" : " ^6.24.1" ,
31
31
"babel-preset-react" : " ^6.24.1" ,
32
32
"babel-preset-stage-2" : " ^6.24.1" ,
33
33
"coveralls" : " ^2.13.1" ,
34
34
"cross-env" : " ^5.0.1" ,
35
- "eslint" : " ^4.7.1 " ,
35
+ "eslint" : " ^4.8.0 " ,
36
36
"eslint-plugin-jsx-a11y" : " ^6.0.2" ,
37
- "eslint-plugin-react" : " ^7.1 .0" ,
37
+ "eslint-plugin-react" : " ^7.4 .0" ,
38
38
"gitbook-cli" : " ^2.3.0" ,
39
39
"istanbul-instrumenter-loader" : " ^3.0.0" ,
40
40
"karma" : " ^1.3.0" ,
Original file line number Diff line number Diff line change @@ -31,10 +31,11 @@ export function tryForceFallback() {
31
31
export function validateElement ( appElement ) {
32
32
if ( ! appElement && ! globalElement && ! tryForceFallback ( ) ) {
33
33
throw new Error ( [
34
- 'react-modal: Cannot fallback to `document.body`, because it\'s not ready or available.' ,
35
- 'If you are doing server-side rendering, use this function to defined an element.' ,
36
- '`Modal.setAppElement(el)` to make this accessible'
37
- ] ) ;
34
+ 'react-modal: Cannot fallback to `document.body`, because it is not' ,
35
+ 'ready or available. If you are doing server-side rendering, use this' ,
36
+ 'function to defined an element. `Modal.setAppElement(el)` to make' ,
37
+ 'this accessible' ,
38
+ ] . join ( ' ' ) ) ;
38
39
}
39
40
}
40
41
You can’t perform that action at this time.
0 commit comments