File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class Home extends Component {
28
28
mountCodeExample ( 'timerExample' , TIMER_COMPONENT ) ;
29
29
mountCodeExample ( 'todoExample' , TODO_COMPONENT ) ;
30
30
mountCodeExample ( 'markdownExample' , MARKDOWN_COMPONENT ) ;
31
- } )
31
+ } ) ;
32
32
}
33
33
34
34
render ( ) {
Original file line number Diff line number Diff line change 9
9
10
10
'use strict' ;
11
11
12
- export default url => new Promise ( ( resolve , reject ) =>
13
- document . head . appendChild (
14
- Object . assign ( document . createElement ( 'script' ) , {
15
- async : true ,
16
- src : url ,
17
- onload : resolve ,
18
- onerror : reject
19
- } )
20
- )
21
- ) ;
12
+ export default url =>
13
+ new Promise ( ( resolve , reject ) =>
14
+ document . head . appendChild (
15
+ Object . assign ( document . createElement ( 'script' ) , {
16
+ async : true ,
17
+ src : url ,
18
+ onload : resolve ,
19
+ onerror : reject ,
20
+ } ) ,
21
+ ) ,
22
+ ) ;
You can’t perform that action at this time.
0 commit comments