-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
65 lines (64 loc) · 1.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<html>
<head>
</head>
<body>
<h1>griddle-render</h1>
<div id="main"></div>
<div id="secondary"></div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.3/react.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.3/react-dom.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.0.0/browser.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/immutable/3.7.5/immutable.js"></script>
<script type="text/javascript" src="https://npmcdn.com/[email protected]"></script>
<script type="text/javascript" src="build/griddle.js"></script>
<script type="text/babel">
var data = [
{
"id": 0,
"name": "Mayer Leonard",
"city": "Kapowsin",
"state": "Hawaii",
"country": "United Kingdom",
"company": "Ovolo",
"favoriteNumber": 7
},
{
"id": 1,
"name": "Koch Becker",
"city": "Johnsonburg",
"state": "New Jersey",
"country": "Madagascar",
"company": "Eventage",
"favoriteNumber": 2
},
{
"id": 2,
"name": "Lowery Hopkins",
"city": "Blanco",
"state": "Arizona",
"country": "Ukraine",
"company": "Comtext",
"favoriteNumber": 3
},
{
"id": 3,
"name": "Walters Mays",
"city": "Glendale",
"state": "Illinois",
"country": "New Zealand",
"company": "Corporana",
"favoriteNumber": 6
},
{
"id": 4,
"name": "Shaw Lowe",
"city": "Coultervillle",
"state": "Wyoming",
"country": "Ecuador",
"company": "Isologica",
"favoriteNumber": 2
}]
ReactDOM.render(<Griddle data={data} plugins={[GriddleSelectionPlugin]} />, document.getElementById('main'));
</script>
</body>
</html>