UNPKG
comelon
Version:
latest (0.4.5)
0.4.5
0.4.4
0.4.2
0.4.1
0.4.0
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
nicolive comment viewer on electron
github.com/MaxMEllon/comelon
MaxMEllon/comelon
comelon
/
scripts
/
main.js
10 lines
(7 loc)
•
209 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
;
import
React
from
'react'
;
import
ReactDOM
from
'react-dom'
;
import
Main
from
'../app/views/Main'
;
window
.
onload
=
function
(
) {
ReactDOM
.
render
(
<
Main
/>
,
document
.
getElementById
(
'come'
)); };