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 $ */
|
/* global $ */
|
||||||
|
|
||||||
import React from 'react'
|
|
||||||
import ReactDOM from 'react-dom' // TODO ensure this isn't a double import
|
|
||||||
|
|
||||||
import Active from '../Active'
|
import Active from '../Active'
|
||||||
import DataModel from '../DataModel'
|
import DataModel from '../DataModel'
|
||||||
import GlobalUI from '../GlobalUI'
|
import GlobalUI, { ReactApp } from '../GlobalUI'
|
||||||
import { ReactApp } from '../GlobalUI'
|
|
||||||
import Realtime from '../Realtime'
|
|
||||||
import Loading from '../Loading'
|
import Loading from '../Loading'
|
||||||
import Maps from '../../components/Maps'
|
|
||||||
|
|
||||||
const ExploreMaps = {
|
const ExploreMaps = {
|
||||||
pending: false,
|
pending: false,
|
||||||
|
@ -69,7 +63,6 @@ const ExploreMaps = {
|
||||||
},
|
},
|
||||||
setCollection: function(collection) {
|
setCollection: function(collection) {
|
||||||
var self = ExploreMaps
|
var self = ExploreMaps
|
||||||
|
|
||||||
if (self.collection) {
|
if (self.collection) {
|
||||||
self.collection.off('add', self.render)
|
self.collection.off('add', self.render)
|
||||||
self.collection.off('successOnFetch', self.handleSuccess)
|
self.collection.off('successOnFetch', self.handleSuccess)
|
||||||
|
@ -81,7 +74,6 @@ const ExploreMaps = {
|
||||||
self.collection.on('errorOnFetch', self.handleError)
|
self.collection.on('errorOnFetch', self.handleError)
|
||||||
},
|
},
|
||||||
render: function() {
|
render: function() {
|
||||||
var self = ExploreMaps
|
|
||||||
ReactApp.resize()
|
ReactApp.resize()
|
||||||
ReactApp.render()
|
ReactApp.render()
|
||||||
Loading.hide()
|
Loading.hide()
|
||||||
|
|
Loading…
Add table
Reference in a new issue