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 Active from '../Active'
|
||||
import ReactComponents from '../ReactComponents'
|
||||
import Maps from '../../components/Maps'
|
||||
|
||||
/*
|
||||
* - Metamaps.Loading
|
||||
|
@ -42,7 +42,7 @@ const ExploreMaps = {
|
|||
loadMore: self.loadMore
|
||||
}
|
||||
ReactDOM.render(
|
||||
React.createElement(ReactComponents.Maps, exploreObj),
|
||||
React.createElement(Maps, exploreObj),
|
||||
document.getElementById('explore')
|
||||
)
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ import TopicCard from './TopicCard'
|
|||
import Util from './Util'
|
||||
import Views from './Views'
|
||||
import Visualize from './Visualize'
|
||||
import ReactComponents from './ReactComponents'
|
||||
|
||||
Metamaps.Account = Account
|
||||
Metamaps.Active = Active
|
||||
|
@ -55,7 +54,6 @@ Metamaps.Mouse = Mouse
|
|||
Metamaps.Organize = Organize
|
||||
Metamaps.PasteInput = PasteInput
|
||||
Metamaps.Realtime = Realtime
|
||||
Metamaps.ReactComponents = ReactComponents
|
||||
Metamaps.Router = Router
|
||||
Metamaps.Selected = Selected
|
||||
Metamaps.Settings = Settings
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
// create global references to some utility libraries
|
||||
import ReactDOM from 'react-dom'
|
||||
// create global references
|
||||
import _ from 'underscore'
|
||||
window.ReactDOM = ReactDOM
|
||||
window._ = _
|
||||
|
||||
import Metamaps from './Metamaps'
|
||||
|
||||
window._ = _
|
||||
window.Metamaps = Metamaps
|
||||
|
|
Loading…
Reference in a new issue