iteration

This commit is contained in:
Ceolter
2016-01-24 12:32:09 +00:00
parent 2283363c38
commit c53f9e4896
5 changed files with 259 additions and 8 deletions

View File

@@ -2,10 +2,13 @@
import ReactDOM from 'react-dom';
import React from 'react';
import {MyApp} from './myApp.jsx';
import MyApp from './MyApp.jsx';
// is there a better way of doing this?
import 'ag-grid-root/ag-grid.css';
import 'ag-grid-root/theme-fresh.css';
// waiting for dom to load before booting react. we could alternatively
// put the index.js reference at the end fo the index.html, but i prefer this way.
document.addEventListener('DOMContentLoaded', ()=> {
var container = document.getElementById('myAppContainer');
ReactDOM.render(