From c4dfc12b470499cfc21ad155525a1e0b25cde78c Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Tue, 23 Jun 2020 08:38:02 +0100 Subject: [PATCH] Remove comments and console logs --- apps/remix-ide/src/app.js | 8 -------- apps/remix-ide/src/app/panels/main-view.js | 2 +- apps/remix-ide/src/lib/remixd.js | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/apps/remix-ide/src/app.js b/apps/remix-ide/src/app.js index 113e4a06be..d1860aa955 100644 --- a/apps/remix-ide/src/app.js +++ b/apps/remix-ide/src/app.js @@ -5,7 +5,6 @@ var csjs = require('csjs-inject') var yo = require('yo-yo') var remixLib = require('remix-lib') var registry = require('./global/registry') -// var Remixd = require('./lib/remixd') var loadFileFromParent = require('./loadFilesFromParent') var { OffsetToLineColumnConverter } = require('./lib/offsetToLineColumnConverter') var QueryParams = require('./lib/query-params') @@ -146,13 +145,6 @@ class App { self._components.filesProviders = {} self._components.filesProviders['browser'] = new FileProvider('browser') registry.put({api: self._components.filesProviders['browser'], name: 'fileproviders/browser'}) - - // var remixd = new Remixd(65520) - // registry.put({api: remixd, name: 'remixd'}) - // remixd.event.register('system', (message) => { - // if (message.error) toolTip(message.error) - // }) - self._components.filesProviders['localhost'] = new RemixDProvider(self.appManager) registry.put({api: self._components.filesProviders['localhost'], name: 'fileproviders/localhost'}) registry.put({api: self._components.filesProviders, name: 'fileproviders'}) diff --git a/apps/remix-ide/src/app/panels/main-view.js b/apps/remix-ide/src/app/panels/main-view.js index e21c788bb5..ef52644d19 100644 --- a/apps/remix-ide/src/app/panels/main-view.js +++ b/apps/remix-ide/src/app/panels/main-view.js @@ -34,7 +34,7 @@ export class MainView { this.init() } showApp (name) { - // this.fileManager.unselectCurrentFile() + this.fileManager.unselectCurrentFile() this.mainPanel.showContent(name) this._view.editor.style.display = 'none' this._components.contextView.hide() diff --git a/apps/remix-ide/src/lib/remixd.js b/apps/remix-ide/src/lib/remixd.js index 0fdb7fdb47..db789fc994 100644 --- a/apps/remix-ide/src/lib/remixd.js +++ b/apps/remix-ide/src/lib/remixd.js @@ -106,7 +106,6 @@ class Remixd { reject(error) return } - console.log('this.socket: ', this.socket) if (this.socket && this.socket.readyState === this.socket.OPEN) { var data = this.format(service, fn, args) this.callbacks[data.id] = callback