2016-07-31 18:51:06 +00:00
|
|
|
import React from 'react'
|
|
|
|
import ReactDOM from 'react-dom'
|
2016-08-01 19:59:53 +00:00
|
|
|
import Backbone from 'backbone'
|
|
|
|
import _ from 'underscore'
|
2016-07-31 18:51:06 +00:00
|
|
|
|
2016-09-22 06:25:49 +00:00
|
|
|
import Metamaps from './Metamaps'
|
|
|
|
|
|
|
|
// create global references to some libraries
|
2016-07-31 18:51:06 +00:00
|
|
|
window.React = React
|
|
|
|
window.ReactDOM = ReactDOM
|
2016-09-22 06:25:49 +00:00
|
|
|
Backbone.$ = window.$ // jquery from rails
|
2016-08-01 19:59:53 +00:00
|
|
|
window.Backbone = Backbone
|
|
|
|
window._ = _
|
2016-07-31 18:51:06 +00:00
|
|
|
|
2016-09-22 06:25:49 +00:00
|
|
|
window.Metamaps = Metamaps
|