diff --git a/src/app/files/file-explorer.js b/src/app/files/file-explorer.js index 5a60d36ca6..98bc103966 100644 --- a/src/app/files/file-explorer.js +++ b/src/app/files/file-explorer.js @@ -63,8 +63,6 @@ function fileExplorer (localRegistry, files, menuItems) { fileManager: self._components.registry.get('filemanager').api } - self._components.registry.put(`fileexplorer${files.type}`, this) - // warn if file changed outside of Remix function remixdDialog () { return yo`
This file has been changed outside of Remix IDE.
` @@ -316,11 +314,11 @@ fileExplorer.prototype.init = function () { return this.container } -fileExplorer.prototype.publishToGist = function (fileProviderName) { +fileExplorer.prototype.publishToGist = function () { modalDialogCustom.confirm( null, 'Are you sure you want to publish all your files anonymously as a public gist on github.com?', - () => { this.toGist(fileProviderName) } + () => { this.toGist() } ) }