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. 3
      src/universal-dapp.js

@ -52,7 +52,6 @@ document.querySelector('#optionViews').appendChild(debuggerView)
var filesView = filesTab() var filesView = filesTab()
document.querySelector('#optionViews').appendChild(filesView) document.querySelector('#optionViews').appendChild(filesView)
// 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
@ -430,12 +429,6 @@ var run = function () {
return $filesEl.position().left return $filesEl.position().left
} }
function activeFilePos () {
var el = $filesEl.find('.active')
var l = el.position().left
return l
}
function reAdjust () { function reAdjust () {
if (widthOfList() + getLeftPosi() > widthOfVisible()) { if (widthOfList() + getLeftPosi() > widthOfVisible()) {
$scrollerRight.fadeIn('fast') $scrollerRight.fadeIn('fast')

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

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

Loading…
Cancel
Save