Fix coding standard issue

pull/1/head
ninabreznik 8 years ago
parent 7c126e0d12
commit a43309db61
  1. 7
      src/app.js
  2. 2
      src/app/debugger-tab.js
  3. 22
      src/app/style-guide.js
  4. 3
      src/universal-dapp.js

@ -52,7 +52,6 @@ document.querySelector('#optionViews').appendChild(debuggerView)
var filesView = filesTab()
document.querySelector('#optionViews').appendChild(filesView)
// The event listener needs to be registered as early as possible, because the
// parent will send the message upon the "load" event.
var filesToLoad = null
@ -430,12 +429,6 @@ var run = function () {
return $filesEl.position().left
}
function activeFilePos () {
var el = $filesEl.find('.active')
var l = el.position().left
return l
}
function reAdjust () {
if (widthOfList() + getLeftPosi() > widthOfVisible()) {
$scrollerRight.fadeIn('fast')

@ -2,8 +2,6 @@ var yo = require('yo-yo')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var styleGuide = require('./style-guide')
var styles = styleGuide()
var css = csjs`
.debuggerTabView {

@ -7,17 +7,17 @@ function styleGuide () {
COLORS
-------------------------------------------------------------------------- */
var colors = {
blue : '#9DC1F5',
lightBlue : '#F4F6FF',
greyBlue : '#102026',
grey : '#666',
lightGrey : '#f8f8f8',
red : '#FF8080',
lightRed : '#FFB9B9',
green : '#B1EAC5',
violet : '#C6CFF7',
pink : '#EC96EC',
yellow : '#E6E5A7'
blue: '#9DC1F5',
lightBlue: '#F4F6FF',
greyBlue: '#102026',
grey: '#666',
lightGrey: '#f8f8f8',
red: '#FF8080',
lightRed: '#FFB9B9',
green: '#B1EAC5',
violet: '#C6CFF7',
pink: '#EC96EC',
yellow: '#E6E5A7'
}
/* --------------------------------------------------------------------------

@ -9,12 +9,9 @@ var EventManager = require('./lib/eventManager')
var crypto = require('crypto')
var async = require('async')
var TxRunner = require('./app/txRunner')
var yo = require('yo-yo')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
var styleGuide = require('./app/style-guide')
var styles = styleGuide()
var css = csjs`
.options {
float: left;

Loading…
Cancel
Save