clear index

pull/1/head
yann300 7 years ago
parent cd33620fed
commit c27f828170
  1. 9
      src/app/editor/contextualListener.js

@ -13,13 +13,12 @@ class ContextualListener {
events.compiler.register('compilationFinished', (success, data, source) => {
this._stopWarning()
this._index = {
ReferencedDeclarations: {},
Expressions: []
}
if (success) {
this._buildIndex(data, source)
} else {
this._index = {
ReferencedDeclarations: {},
Expressions: []
}
}
})
this.sourceMappingDecoder = new SourceMappingDecoder()

Loading…
Cancel
Save