Commit 52f582f7 authored by yann300's avatar yann300

move queryParam

parent 76b5f034
...@@ -499,8 +499,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org ...@@ -499,8 +499,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
this._view.centerpanel.appendChild(this._components.editorpanel.render()) this._view.centerpanel.appendChild(this._components.editorpanel.render())
var queryParams = new QueryParams()
// The event listener needs to be registered as early as possible, because the // The event listener needs to be registered as early as possible, because the
// parent will send the message upon the "load" event. // parent will send the message upon the "load" event.
var filesToLoad = null var filesToLoad = null
...@@ -524,6 +522,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org ...@@ -524,6 +522,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
self.loadFiles(filesToLoad) self.loadFiles(filesToLoad)
} }
var queryParams = new QueryParams()
var loadingFromGist = self.loadFromGist(queryParams.get()) var loadingFromGist = self.loadFromGist(queryParams.get())
// insert ballot contract if there are no files available // insert ballot contract if there are no files available
......
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