ensure object call

pull/3094/head
yann300 6 years ago
parent c8afc62d9a
commit a02150fb28
  1. 8
      src/app/tabs/compile-tab.js

@ -157,22 +157,22 @@ class CompileTab {
</select> </select>
</header> </header>
<article class="${css.compilerArticle}"> <article class="${css.compilerArticle}">
<button class="btn btn-primary btn-block" title="Publish on Swarm" onclick="${this.publish}"> <button class="btn btn-primary btn-block" title="Publish on Swarm" onclick="${() => { this.publish() }}">
<i class="${css.copyIcon} fa fa-upload" aria-hidden="true"></i> <i class="${css.copyIcon} fa fa-upload" aria-hidden="true"></i>
<span>Publish on Swarm</span> <span>Publish on Swarm</span>
</button> </button>
<button class="btn btn-secondary btn-block" title="Display Contract Details" onclick="${this.details}"> <button class="btn btn-secondary btn-block" title="Display Contract Details" onclick="${() => { this.details() }}">
Compilation Details Compilation Details
</button> </button>
<!-- Copy to Clipboard --> <!-- Copy to Clipboard -->
<div class="${css.contractHelperButtons}"> <div class="${css.contractHelperButtons}">
<span class="${css.copyToClipboard}">Copy to Clipboard : </span> <span class="${css.copyToClipboard}">Copy to Clipboard : </span>
<div class="btn-group" role="group" aria-label="Copy to clipboard"> <div class="btn-group" role="group" aria-label="Copy to clipboard">
<button class="btn btn-secondary" title="Copy ABI to clipboard" onclick="${this.copyABI}"> <button class="btn btn-secondary" title="Copy ABI to clipboard" onclick="${() => { this.copyABI() }}">
<i class="${css.copyIcon} fa fa-clipboard" aria-hidden="true"></i> <i class="${css.copyIcon} fa fa-clipboard" aria-hidden="true"></i>
<span>ABI</span> <span>ABI</span>
</button> </button>
<button class="btn btn-secondary" title="Copy Bytecode to clipboard" onclick="${this.copyBytecode}"> <button class="btn btn-secondary" title="Copy Bytecode to clipboard" onclick="${() => { this.copyBytecode() }}">
<i class="${css.copyIcon} fa fa-clipboard" aria-hidden="true"></i> <i class="${css.copyIcon} fa fa-clipboard" aria-hidden="true"></i>
<span>Bytecode</span> <span>Bytecode</span>
</button> </button>

Loading…
Cancel
Save