Metamaps.ReactComponents isn't needed anymore
This commit is contained in:
parent
03eacde753
commit
0bb7b1523d
4 changed files with 5 additions and 16 deletions
|
@ -1,7 +0,0 @@
|
||||||
import Maps from '../components/Maps'
|
|
||||||
|
|
||||||
const ReactComponents = {
|
|
||||||
Maps
|
|
||||||
}
|
|
||||||
|
|
||||||
export default ReactComponents
|
|
|
@ -4,7 +4,7 @@ import React from 'react'
|
||||||
import ReactDOM from 'react-dom' // TODO ensure this isn't a double import
|
import ReactDOM from 'react-dom' // TODO ensure this isn't a double import
|
||||||
|
|
||||||
import Active from '../Active'
|
import Active from '../Active'
|
||||||
import ReactComponents from '../ReactComponents'
|
import Maps from '../../components/Maps'
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* - Metamaps.Loading
|
* - Metamaps.Loading
|
||||||
|
@ -42,7 +42,7 @@ const ExploreMaps = {
|
||||||
loadMore: self.loadMore
|
loadMore: self.loadMore
|
||||||
}
|
}
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
React.createElement(ReactComponents.Maps, exploreObj),
|
React.createElement(Maps, exploreObj),
|
||||||
document.getElementById('explore')
|
document.getElementById('explore')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@ import TopicCard from './TopicCard'
|
||||||
import Util from './Util'
|
import Util from './Util'
|
||||||
import Views from './Views'
|
import Views from './Views'
|
||||||
import Visualize from './Visualize'
|
import Visualize from './Visualize'
|
||||||
import ReactComponents from './ReactComponents'
|
|
||||||
|
|
||||||
Metamaps.Account = Account
|
Metamaps.Account = Account
|
||||||
Metamaps.Active = Active
|
Metamaps.Active = Active
|
||||||
|
@ -55,7 +54,6 @@ Metamaps.Mouse = Mouse
|
||||||
Metamaps.Organize = Organize
|
Metamaps.Organize = Organize
|
||||||
Metamaps.PasteInput = PasteInput
|
Metamaps.PasteInput = PasteInput
|
||||||
Metamaps.Realtime = Realtime
|
Metamaps.Realtime = Realtime
|
||||||
Metamaps.ReactComponents = ReactComponents
|
|
||||||
Metamaps.Router = Router
|
Metamaps.Router = Router
|
||||||
Metamaps.Selected = Selected
|
Metamaps.Selected = Selected
|
||||||
Metamaps.Settings = Settings
|
Metamaps.Settings = Settings
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
// create global references to some utility libraries
|
// create global references
|
||||||
import ReactDOM from 'react-dom'
|
|
||||||
import _ from 'underscore'
|
import _ from 'underscore'
|
||||||
window.ReactDOM = ReactDOM
|
|
||||||
window._ = _
|
|
||||||
|
|
||||||
import Metamaps from './Metamaps'
|
import Metamaps from './Metamaps'
|
||||||
|
|
||||||
|
window._ = _
|
||||||
window.Metamaps = Metamaps
|
window.Metamaps = Metamaps
|
||||||
|
|
Loading…
Reference in a new issue