Merge pull request #851 from ethereum/eventDefinition

add eventDefinition to context view
pull/1/head
yann300 7 years ago committed by GitHub
commit 924f28c793
  1. 3
      src/app/editor/contextView.js

@ -140,7 +140,8 @@ function isDefinition (node) {
node.name === 'FunctionDefinition' ||
node.name === 'ModifierDefinition' ||
node.name === 'VariableDeclaration' ||
node.name === 'StructDefinition'
node.name === 'StructDefinition' ||
node.name === 'EventDefinition'
}
module.exports = ContextView

Loading…
Cancel
Save