We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1795223 commit ab76dbfCopy full SHA for ab76dbf
lib_src/misc/colors.ts
@@ -1,12 +1,12 @@
1
'use babel'
2
3
-export function getColors(selectors) {
+export function getColors(selectors: { [P: string]: string }) {
4
// const grammar = atom.grammars.grammarForScopeName("source.julia") // TODO ?
5
6
- const styled = {}
7
- const color = {}
8
const div = document.createElement('div')
9
div.classList.add('editor', 'editor-colors', 'julia-syntax-color-selector')
+ const styled: { [P: string]: HTMLSpanElement } = {}
+ const color: { [P: string]: string } = {}
10
11
for (const style in selectors) {
12
const child = document.createElement('span')
0 commit comments