fix load ballot.sol

pull/1/head
yann300 7 years ago
parent 8b0702fab7
commit 583a2463e8
  1. 2
      src/app.js

@ -454,7 +454,7 @@ function run () {
// insert ballot contract if there are no files available
if (!loadingFromGist) {
filesProviders['browser'].resolveDirectory('/', (error, filesList) => {
filesProviders['browser'].resolveDirectory('browser', (error, filesList) => {
if (error) console.error(error)
if (Object.keys(filesList).length === 0) {
if (!filesProviders['browser'].set(examples.ballot.name, examples.ballot.content)) {

Loading…
Cancel
Save