summaryrefslogtreecommitdiff
path: root/www/app/main.js
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-09-05 17:34:11 -0700
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-06 13:55:16 -0400
commit65c2c18653feb5f6485710e9656b19e368bb2826 (patch)
treea279d6f4eb502b30606870cd34af2896eef7321d /www/app/main.js
parentb047beb3e50a541564d2ab6ff17491608a630101 (diff)
[feature] webkit support: get the js and css working in older webkit engines
Diffstat (limited to 'www/app/main.js')
-rw-r--r--www/app/main.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/www/app/main.js b/www/app/main.js
index 0d712af6..b1628953 100644
--- a/www/app/main.js
+++ b/www/app/main.js
@@ -1,3 +1,9 @@
+//
+// main entry point for app execution
+//
+// This is determined by the 'entry' option in webpack.config.js
+//
+
import React from 'react'
import ReactDOM from 'react-dom'
@@ -9,9 +15,6 @@ class Main extends React.Component {
return React.createElement(PanelSwitcher)
}
- //
- // main entry point for app execution
- //
componentDidMount() {
App.start()
}
@@ -20,4 +23,4 @@ class Main extends React.Component {
ReactDOM.render(
React.createElement(Main),
document.getElementById('app')
-) \ No newline at end of file
+)