2017-01-22 18:50:34 +00:00
|
|
|
// make changes to Backbone before loading Metamaps code
|
|
|
|
import Backbone from 'backbone'
|
|
|
|
try { Backbone.$ = window.$ } catch (err) {}
|
|
|
|
Backbone.ajax = (opts) => window.$.ajaxq('backbone-ajaxq', opts)
|
|
|
|
|
2016-12-11 21:09:12 +00:00
|
|
|
import _ from 'lodash'
|
2016-09-22 16:16:15 +00:00
|
|
|
import Metamaps from './Metamaps'
|
2016-09-24 06:40:40 +00:00
|
|
|
|
2017-01-22 18:50:34 +00:00
|
|
|
// create global references
|
2016-09-24 06:40:40 +00:00
|
|
|
window._ = _
|
2016-09-22 06:25:49 +00:00
|
|
|
window.Metamaps = Metamaps
|