Skip to content

Commit 3171dae

Browse files
committed
Prettier
1 parent 45fb3dc commit 3171dae

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib_src/misc/colors.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
export function getColors(selectors: { [P: string]: string }) {
22
// const grammar = atom.grammars.grammarForScopeName("source.julia") // TODO ?
33

4-
const div = document.createElement('div')
5-
div.classList.add('editor', 'editor-colors', 'julia-syntax-color-selector')
64
const styled: { [P: string]: HTMLSpanElement } = {}
75
const color: { [P: string]: string } = {}
86

7+
const div = document.createElement("div")
8+
div.classList.add("editor", "editor-colors", "julia-syntax-color-selector")
9+
910
for (const style in selectors) {
10-
const child = document.createElement('span')
11-
child.innerText = 'foo'
11+
const child = document.createElement("span")
12+
child.innerText = "foo"
1213
child.classList.add(...selectors[style])
1314
div.appendChild(child)
1415
styled[style] = child

0 commit comments

Comments
 (0)