From 22acefdedda644f71ef00223abbfb11568863c7c Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 22 Nov 2017 13:54:42 +0100 Subject: [PATCH] use remixLib styleguide in remix-debugger --- remix-debugger/index.js | 4 +--- remix-debugger/src/ui/ButtonNavigator.js | 2 +- remix-debugger/src/ui/CodeListView.js | 2 +- remix-debugger/src/ui/DropdownPanel.js | 2 +- remix-debugger/src/ui/TxBrowser.js | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/remix-debugger/index.js b/remix-debugger/index.js index 9dcb27a11e..a113f9390d 100644 --- a/remix-debugger/index.js +++ b/remix-debugger/index.js @@ -3,7 +3,6 @@ var VMDebugger = require('./src/ui/VmDebugger') var Debugger = require('./src/ui/Ethdebugger') var BasicPanel = require('./src/ui/BasicPanel') var TreeView = require('./src/ui/TreeView') -var styleGuide = require('./src/ui/styles/style-guide') if (typeof (module) !== 'undefined' && typeof (module.exports) !== 'undefined') { module.exports = modules() @@ -19,8 +18,7 @@ function modules () { Debugger: Debugger, VMdebugger: VMDebugger, BasicPanel: BasicPanel, - TreeView: TreeView, - styleGuide: styleGuide + TreeView: TreeView } } } diff --git a/remix-debugger/src/ui/ButtonNavigator.js b/remix-debugger/src/ui/ButtonNavigator.js index b6f8140c93..dac05b13e2 100644 --- a/remix-debugger/src/ui/ButtonNavigator.js +++ b/remix-debugger/src/ui/ButtonNavigator.js @@ -4,7 +4,7 @@ var EventManager = remixLib.EventManager var yo = require('yo-yo') var csjs = require('csjs-inject') -var styleGuide = require('./styles/style-guide') +var styleGuide = remixLib.ui.styleGuide var styles = styleGuide() var css = csjs` diff --git a/remix-debugger/src/ui/CodeListView.js b/remix-debugger/src/ui/CodeListView.js index 88690c7a3d..080f930399 100644 --- a/remix-debugger/src/ui/CodeListView.js +++ b/remix-debugger/src/ui/CodeListView.js @@ -6,7 +6,7 @@ var ui = remixLib.helpers.ui var DropdownPanel = require('./DropdownPanel') var EventManager = remixLib.EventManager var csjs = require('csjs-inject') -var styleGuide = require('./styles/style-guide') +var styleGuide = remixLib.ui.styleGuide var styles = styleGuide() var css = csjs` diff --git a/remix-debugger/src/ui/DropdownPanel.js b/remix-debugger/src/ui/DropdownPanel.js index 8c3161b630..6fa484f51e 100644 --- a/remix-debugger/src/ui/DropdownPanel.js +++ b/remix-debugger/src/ui/DropdownPanel.js @@ -7,7 +7,7 @@ var TreeView = require('./TreeView') var EventManager = remixLib.EventManager var csjs = require('csjs-inject') -var styleGuide = require('./styles/style-guide') +var styleGuide = remixLib.ui.styleGuide var styles = styleGuide() var css = csjs` diff --git a/remix-debugger/src/ui/TxBrowser.js b/remix-debugger/src/ui/TxBrowser.js index 1ae081118e..7f98732d09 100644 --- a/remix-debugger/src/ui/TxBrowser.js +++ b/remix-debugger/src/ui/TxBrowser.js @@ -8,7 +8,7 @@ var init = remixLib.init var DropdownPanel = require('./DropdownPanel') var style = require('./styles/basicStyles') var csjs = require('csjs-inject') -var styleGuide = require('./styles/style-guide') +var styleGuide = remixLib.ui.styleGuide var styles = styleGuide() var css = csjs`