more eslin

This commit is contained in:
Devin Howard 2017-01-28 16:38:24 -05:00
parent 5d3f26edf8
commit cf2784fcdb
3 changed files with 1 additions and 4 deletions

View file

@ -139,8 +139,7 @@ const Util = {
// remove images to avoid http content in https context // remove images to avoid http content in https context
const walker = parsed.walker() const walker = parsed.walker()
let event for (let event = walker.next(); event = walker.next(); event) {
while (event = walker.next()) {
const node = event.node const node = event.node
if (node.type === 'image') { if (node.type === 'image') {
const imageAlt = node.firstChild.literal const imageAlt = node.firstChild.literal

View file

@ -49,7 +49,6 @@ const ChatView = {
$('#' + ChatView.domId).hide() $('#' + ChatView.domId).hide()
}, },
render: () => { render: () => {
return
if (!Active.Map) return if (!Active.Map) return
const self = ChatView const self = ChatView
self.mapChat = ReactDOM.render(React.createElement(MapChat, { self.mapChat = ReactDOM.render(React.createElement(MapChat, {

View file

@ -11,7 +11,6 @@ const Views = {
init: (serverData) => { init: (serverData) => {
$(document).on(JUNTO_UPDATED, () => ExploreMaps.render()) $(document).on(JUNTO_UPDATED, () => ExploreMaps.render())
ChatView.init([serverData['sounds/MM_sounds.mp3'], serverData['sounds/MM_sounds.ogg']]) ChatView.init([serverData['sounds/MM_sounds.mp3'], serverData['sounds/MM_sounds.ogg']])
}, },
ExploreMaps, ExploreMaps,
ChatView, ChatView,