Remove the index.js indirection

Make index.es6 the main entry point.
This commit is contained in:
Lars Karlitski 2017-10-17 17:18:31 +02:00 committed by Martin Pitt
parent 95bccc2e53
commit ce7a2d3870
3 changed files with 4 additions and 31 deletions

View file

@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
*/
import 'cockpit';
import React from 'react';
import { StarterKit } from './starter-kit-view.jsx';
@ -30,10 +32,4 @@ function render() {
);
}
/**
* Start the application.
*/
export function run() {
// do initial render
render();
}
document.addEventListener("DOMContentLoaded", render);