tweaks to import/exports
This commit is contained in:
parent
73e7c38873
commit
f59a5775ae
4 changed files with 4 additions and 5 deletions
|
@ -17,7 +17,4 @@
|
|||
//= require ./src/JIT
|
||||
//= require ./src/Metamaps.Erb
|
||||
//= require ./webpacked/metamaps.bundle
|
||||
//= require ./src/views/chatView
|
||||
//= require ./src/views/videoView
|
||||
//= require ./src/views/room
|
||||
//= require ./src/check-canvas-support
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* global Metamaps, $ */
|
||||
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom' // TODO ensure this isn't a double import
|
||||
|
||||
import Active from '../Active'
|
||||
|
|
|
@ -3,4 +3,5 @@ import ChatView from './ChatView'
|
|||
import VideoView from './VideoView'
|
||||
import Room from './Room'
|
||||
|
||||
export { ExploreMaps, ChatView, VideoView, Room }
|
||||
const Views = { ExploreMaps, ChatView, VideoView, Room }
|
||||
export default Views
|
||||
|
|
|
@ -28,7 +28,7 @@ import SynapseCard from './SynapseCard'
|
|||
import Topic from './Topic'
|
||||
import TopicCard from './TopicCard'
|
||||
import Util from './Util'
|
||||
import * as Views from './Views'
|
||||
import Views from './Views'
|
||||
import Visualize from './Visualize'
|
||||
import ReactComponents from './ReactComponents'
|
||||
|
||||
|
|
Loading…
Reference in a new issue