eslint helps
This commit is contained in:
parent
806c276616
commit
43ffbbca82
1 changed files with 6 additions and 14 deletions
|
@ -1,15 +1,9 @@
|
|||
/* global $ */
|
||||
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom' // TODO ensure this isn't a double import
|
||||
|
||||
import Active from '../Active'
|
||||
import DataModel from '../DataModel'
|
||||
import GlobalUI from '../GlobalUI'
|
||||
import { ReactApp } from '../GlobalUI'
|
||||
import Realtime from '../Realtime'
|
||||
import GlobalUI, { ReactApp } from '../GlobalUI'
|
||||
import Loading from '../Loading'
|
||||
import Maps from '../../components/Maps'
|
||||
|
||||
const ExploreMaps = {
|
||||
pending: false,
|
||||
|
@ -69,7 +63,6 @@ const ExploreMaps = {
|
|||
},
|
||||
setCollection: function(collection) {
|
||||
var self = ExploreMaps
|
||||
|
||||
if (self.collection) {
|
||||
self.collection.off('add', self.render)
|
||||
self.collection.off('successOnFetch', self.handleSuccess)
|
||||
|
@ -81,7 +74,6 @@ const ExploreMaps = {
|
|||
self.collection.on('errorOnFetch', self.handleError)
|
||||
},
|
||||
render: function() {
|
||||
var self = ExploreMaps
|
||||
ReactApp.resize()
|
||||
ReactApp.render()
|
||||
Loading.hide()
|
||||
|
|
Loading…
Add table
Reference in a new issue