Conversation
| parseInt(idrinth.chat.chatRank[chatId][userId], 10) | ||
| ], | ||
| content: (usedPlatforms === "" | ||
| ? "" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| var translation = idrinth.text.get(node.label); | ||
| return { | ||
| content: translation === idrinth.text.data.default | ||
| ? node.label |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| { | ||
| type: "label", | ||
| content: translation === idrinth.text.data.default | ||
| ? label |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| } | ||
| ], | ||
| content: translation === idrinth.text.data.default | ||
| ? label |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| (idrinth.settings.get("moveLeft") ? " left-sided" : "") + | ||
| (chat.getElementsByClassName("new-message") && | ||
| chat.getElementsByClassName("new-message").length | ||
| ? " new-message" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| isStatic | ||
| ) { | ||
| var server = isStatic | ||
| ? "static" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| } catch (e) { | ||
| idrinth.core.log( | ||
| typeof e.getMessage === "function" | ||
| ? e.getMessage() |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| idrinth.core.multibind.events[event] = idrinth.core.multibind.events[ | ||
| event | ||
| ] | ||
| ? idrinth.core.multibind.events[event] |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| : {}; | ||
| idrinth.core.multibind.events[event][selector] = idrinth.core.multibind | ||
| .events[event][selector] | ||
| ? idrinth.core.multibind.events[event][selector] |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| "hash=" + | ||
| data.hash + | ||
| (idrinth.settings.get("isWorldServer") | ||
| ? "&" + tag + "serverid=" + 2 |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| document.getElementById( | ||
| "idrinth-stats-" + key | ||
| ).parentNode.parentNode.childNodes[2].innerHTML = result[key] < 0 | ||
| ? result[key] |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| idrinth.tier.list[listKey].os[difficulty], | ||
| idrinth.tier.list[listKey][difficulty][ic] | ||
| ) | ||
| ? "is-os" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| return idrinth.ui.buildElement({ | ||
| css: "idrinth-line" + | ||
| (config.platforms && !inArray(idrinth.platform, config.platforms) | ||
| ? " idrinth-hide" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| type: "label", | ||
| css: "idrinth-float-half", | ||
| content: translation === idrinth.text.data.default | ||
| ? config.label |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| openCloseSettings: function() { | ||
| var toRemove = [ | ||
| idrinth.ui.controls.getAttribute("class").match(/(^|\s)inactive($|\s)/) | ||
| ? "inactive" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| typeof value === "object" && | ||
| Array.isArray(value) && | ||
| value !== null | ||
| ? value |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| : []; | ||
| }; | ||
| var original = classString === null | ||
| ? [] |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| return { | ||
| css: "idrinth-float-half" + | ||
| (platform && platform !== idrinth.platform | ||
| ? " idrinth-hide" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| ), | ||
| buttonMaker( | ||
| idrinth.settings.get("alarmActive") | ||
| ? idrinth.text.get("button.disableTimedAutoJoin") |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| label + | ||
| "'," + | ||
| (isCheck | ||
| ? "this.checked" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| "class", | ||
| "traffic " + | ||
| (data.amount < 90 | ||
| ? "yes" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| element.getElementsByTagName("td")[ | ||
| 0 | ||
| ].firstChild.innerHTML = data.amount < 90 | ||
| ? "yes" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| type: "td", | ||
| css: "traffic " + | ||
| (data.amount < 90 | ||
| ? "yes" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| { | ||
| type: "span", | ||
| content: data.amount < 90 | ||
| ? "yes" |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
|
It's here - the bot war :D |
|
|
||
| /* | ||
| return toE === 1 || (toE && (dp <= i || i <= Big.E_NEG)) | ||
| ? // Exponential notation. |
There was a problem hiding this comment.
[jshint]
- Misleading line break before '?'; readers may interpret this as an expression boundary.
| for (; ++xc[i] > 9; ) { | ||
| xc[i] = 0; | ||
|
|
||
| if (!i--) { |
There was a problem hiding this comment.
[jshint]
- Bad operand.
| }, | ||
| 1000 | ||
| ); | ||
| delete idrinth["start"]; |
There was a problem hiding this comment.
[jshint]
- ['start'] is better written in dot notation.
|
Yeah, shut it down. |
|
done, will test it a bit tonight, just to make sure it still works |
should make sure that our JSON-lanf doesn't break
|
works, @w20k - no omplaints from you I assume? |
|
Nope, nothing so far :) |
and fixes some formatting in the readme :P