Commit 5a4cb644 authored by ioedeveloper's avatar ioedeveloper

Added apostrophe to contracts name

parent fdadb949
...@@ -332,7 +332,7 @@ class CompileTab extends ViewPlugin { ...@@ -332,7 +332,7 @@ class CompileTab extends ViewPlugin {
var result = yo`<div>${uploaded.map((value) => { var result = yo`<div>${uploaded.map((value) => {
return yo`<div><b>${value.filename}</b> : <pre>${value.output.url}</pre></div>` return yo`<div><b>${value.filename}</b> : <pre>${value.output.url}</pre></div>`
})}</div>` })}</div>`
modalDialogCustom.alert(`Published "${contract.name}" Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} was published successfully.<br> <pre>${result}</pre> </span>`) modalDialogCustom.alert(`Published "${contract.name}'s" Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} was published successfully.<br> <pre>${result}</pre> </span>`)
} }
}, (item) => { // triggered each time there's a new verified publish (means hash correspond) }, (item) => { // triggered each time there's a new verified publish (means hash correspond)
this.fileProvider.addExternal('swarm/' + item.hash, item.content) this.fileProvider.addExternal('swarm/' + item.hash, item.content)
...@@ -349,7 +349,7 @@ class CompileTab extends ViewPlugin { ...@@ -349,7 +349,7 @@ class CompileTab extends ViewPlugin {
var result = yo`<div>${uploaded.map((value) => { var result = yo`<div>${uploaded.map((value) => {
return yo`<div><b>${value.filename}</b> : <pre>${value.output.url}</pre></div>` return yo`<div><b>${value.filename}</b> : <pre>${value.output.url}</pre></div>`
})}</div>` })}</div>`
modalDialogCustom.alert(`Published "${contract.name}" Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} was published successfully.<br> <pre>${result}</pre> </span>`) modalDialogCustom.alert(`Published "${contract.name}'s" Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} was published successfully.<br> <pre>${result}</pre> </span>`)
} }
}, (item) => { // triggered each time there's a new verified publish (means hash correspond) }, (item) => { // triggered each time there's a new verified publish (means hash correspond)
this.fileProvider.addExternal('ipfs/' + item.hash, item.content) this.fileProvider.addExternal('ipfs/' + item.hash, item.content)
......
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