more eslin
This commit is contained in:
parent
5d3f26edf8
commit
cf2784fcdb
3 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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, {
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue