-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathindex.js
28 lines (24 loc) · 941 Bytes
/
index.js
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
require('../src/vendor');
window.geo = require('../src/index');
// bootstrap and themes
require('bootstrap/dist/css/bootstrap.css');
require('bootswatch/flatly/bootstrap.css');
require('bootstrap');
// codemirror and plugins
window.jsonlint = require('jsonlint-mod');
require('codemirror/lib/codemirror.css');
require('codemirror/addon/lint/lint.css');
require('codemirror/addon/fold/foldgutter.css');
require('codemirror');
require('codemirror/mode/javascript/javascript');
require('codemirror/mode/css/css');
require('codemirror/mode/htmlmixed/htmlmixed');
require('codemirror/addon/lint/lint');
require('codemirror/addon/lint/json-lint');
require('codemirror/addon/fold/brace-fold');
require('codemirror/addon/fold/foldcode');
require('codemirror/addon/fold/foldgutter');
require('codemirror/addon/edit/matchbrackets');
// common tutorial code
require('./common/tutorials.css');
window.start_tutorial = require('./common/tutorials');