Commit e57a4553 authored by LianaHus's avatar LianaHus

style fixes

parent ccd3adb6
......@@ -25,6 +25,7 @@ class SourceHighlighters {
}
}
// highlights all locations for @from plugin
highlightAllFrom (from) {
try {
if (!this.highlighters[from]) return
......
......@@ -123,7 +123,7 @@ class ContextualListener extends Plugin {
}
_highlightInternal (position, node) {
if (node.nodeType == 'Block') return
if (node.nodeType === 'Block') return
let lastCompilationResult = this._deps.compilersArtefacts['__last']
if (lastCompilationResult && lastCompilationResult.languageversion.indexOf('soljson') === 0) {
let lineColumn = this._deps.offsetToLineColumnConverter.offsetToLineColumn(position, position.file, lastCompilationResult.getSourceCode().sources, lastCompilationResult.getAsts())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment