|
|
@ -412,7 +412,8 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
// get the file from gist
|
|
|
|
// get the file from gist
|
|
|
|
const gistHandler = new GistHandler() |
|
|
|
const gistHandler = new GistHandler() |
|
|
|
const queryParams = new QueryParams() |
|
|
|
const queryParams = new QueryParams() |
|
|
|
const loadedFromGist = gistHandler.loadFromGist(queryParams.get(), fileManager) |
|
|
|
const params = queryParams.get() |
|
|
|
|
|
|
|
const loadedFromGist = gistHandler.loadFromGist(params, fileManager) |
|
|
|
if (!loadedFromGist) { |
|
|
|
if (!loadedFromGist) { |
|
|
|
// insert example contracts if there are no files to show
|
|
|
|
// insert example contracts if there are no files to show
|
|
|
|
self._components.filesProviders['browser'].resolveDirectory('/', (error, filesList) => { |
|
|
|
self._components.filesProviders['browser'].resolveDirectory('/', (error, filesList) => { |
|
|
@ -428,4 +429,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
if (isElectron()) { |
|
|
|
if (isElectron()) { |
|
|
|
appManager.activatePlugin('remixd') |
|
|
|
appManager.activatePlugin('remixd') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (params.embed) framingService.embed() |
|
|
|
} |
|
|
|
} |
|
|
|