Merge pull request #2353 from ethereum/yann300-patch-79

listen on rootFolderChanged
pull/5370/head
yann300 5 years ago committed by GitHub
commit effbb99e7e
  1. 6452
      package-lock.json
  2. 4
      package.json
  3. 3
      src/app/files/remixDProvider.js

6452
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -58,7 +58,7 @@
"remix-solidity": "0.3.15",
"remix-tabs": "1.0.48",
"remix-tests": "0.1.18",
"remixd": "0.1.8-alpha.7",
"remixd": "0.1.8-alpha.10",
"request": "^2.83.0",
"rimraf": "^2.6.1",
"selenium-standalone": "^6.0.1",
@ -77,7 +77,7 @@
"dependencies": {
"@remixproject/engine": "^0.1.16",
"http-server": "^0.11.1",
"remixd": "0.1.8-alpha.7",
"remixd": "0.1.8-alpha.10",
"standard": "^8.5.0"
},
"repository": {

@ -42,6 +42,9 @@ module.exports = class RemixDProvider {
this.event.trigger('fileExternallyChanged', [path, content])
}
})
} else if (data.name === 'rootFolderChanged') {
// new path has been set, we should reset
this.event.trigger('folderAdded', [this.type + '/'])
}
}
})

Loading…
Cancel
Save