Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 3273d9f

Browse files
author
mattpass
committed
Move activeLineBG out of if, no space after v
1 parent 034f115 commit 3273d9f

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

assets/js/icecoder.js

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3702,18 +3702,20 @@ var ICEcoder = {
37023702
styleNode.setAttribute('type', 'text/css');
37033703
styleNode.setAttribute('href', settings.themeURL);
37043704
this.content.contentWindow.document.getElementsByTagName('head')[0].appendChild(styleNode);
3705-
activeLineBG =
3706-
// Light themes
3707-
-1 < ["base16-light", "chrome-devtools", "duotone-light", "eclipse", "eiffel", "elegant", "mdn-like", "idle", "iplastic", "ir_white", "johnny", "juicy", "neat", "neo", "solarized", "ttcn", "xq-light"].indexOf(this.theme)
3708-
? "#ccc"
3709-
// Dark themes
3710-
: -1 < ["3024-night", "all-hallow-eve", "black-pearl-ii", "blackboard", "colorforth", "django", "emacs-strict", "fade-to-grey", "fake", "glitterbomb", "isotope", "ir_black", "liquibyte", "monokai-fannonedition", "oceanic", "night", "spectacular", "sunburst", "the-matrix", "tomorrow-night-blue", "tomorrow-night-bright", "tomorrow-night-eighties", "vibrant-ink", "xq-dark", "zenburn"].indexOf(this.theme)
3711-
? "#222"
3712-
// Other themes
3713-
: "#000";
37143705
this.switchTab(this.selectedTab);
37153706
}
37163707

3708+
// Set the active line color
3709+
activeLineBG =
3710+
// Light themes
3711+
-1 < ["base16-light", "chrome-devtools", "duotone-light", "eclipse", "eiffel", "elegant", "mdn-like", "idle", "iplastic", "ir_white", "johnny", "juicy", "neat", "neo", "solarized", "ttcn", "xq-light"].indexOf(this.theme)
3712+
? "#ccc"
3713+
// Dark themes
3714+
: -1 < ["3024-night", "all-hallow-eve", "black-pearl-ii", "blackboard", "colorforth", "django", "emacs-strict", "fade-to-grey", "fake", "glitterbomb", "isotope", "ir_black", "liquibyte", "monokai-fannonedition", "oceanic", "night", "spectacular", "sunburst", "the-matrix", "tomorrow-night-blue", "tomorrow-night-bright", "tomorrow-night-eighties", "vibrant-ink", "xq-dark", "zenburn"].indexOf(this.theme)
3715+
? "#222"
3716+
// Other themes
3717+
: "#000";
3718+
37173719
// Check/uncheck Code Assist setting
37183720
if (settings.codeAssist !== this.codeAssist) {
37193721
this.codeAssistToggle();
@@ -4086,7 +4088,7 @@ var ICEcoder = {
40864088
let winTitle;
40874089

40884090
if (false === this.loadingFile) {
4089-
winTitle = "ICEcoder v " + this.versionNo;
4091+
winTitle = "ICEcoder v" + this.versionNo;
40904092
for(let i = 1; i <= this.savedPoints.length; i++) {
40914093
if (this.savedPoints[i-1] !== this.getcMInstance(i).changeGeneration()) {
40924094
// We have an unsaved tab, indicate that in the title

0 commit comments

Comments
 (0)