Permalink
Browse files

Lint pass

  • Loading branch information...
pfrazee committed Jul 20, 2017
1 parent f023e20 commit 5f0231a47b661031addfaa08059ae46eb59bb092
Showing with 5 additions and 3 deletions.
  1. +1 −1 .eslintrc
  2. +4 −2 app/shell-window/ui/navbar/page-menu.js
View
@@ -49,7 +49,7 @@
"func-call-spacing": ["error", "never"],
"generator-star-spacing": ["error", { "before": true, "after": true }],
"handle-callback-err": "off",
"indent": ["error", 2, { "SwitchCase": 1 }],
"indent": "off",
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
"keyword-spacing": ["error", { "before": true, "after": true }],
"new-cap": ["error", { "newIsCap": true, "capIsNew": false }],
@@ -1,3 +1,5 @@
/* globals beaker DatArchive beakerBrowser */
import * as yo from 'yo-yo'
import {findParent} from '../../../lib/fg/event-handlers'
import * as pages from '../../pages'
@@ -112,7 +114,7 @@ export class PageMenuNavbarBtn {
if (!page || !page.protocolInfo || page.protocolInfo.scheme !== 'dat:') {
return
}
page.siteInfo.userSettings = await beaker.archives.add(page.siteInfo.key)
page.siteInfo.userSettings = await beaker.archives.add(page.siteInfo.key)
}
async onClickRemove () {
@@ -126,7 +128,7 @@ export class PageMenuNavbarBtn {
onClickOpenwith () {
this.isOpenwithOpen = !this.isOpenwithOpen
this.updateActives()
this.updateActives()
}
onClickOpenwithLibrary () {

0 comments on commit 5f0231a

Please sign in to comment.