Navigation Menu

Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #337 from atom/wl-rm-babel
Browse files Browse the repository at this point in the history
Remove Babel
  • Loading branch information
50Wliu committed Feb 18, 2018
2 parents bbb800c + 3977f3a commit ae71cdb
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 36 deletions.
7 changes: 3 additions & 4 deletions lib/buffer-view.js
@@ -1,8 +1,7 @@
/** @babel */
const FuzzyFinderView = require('./fuzzy-finder-view')

import FuzzyFinderView from './fuzzy-finder-view'

export default class BufferView extends FuzzyFinderView {
module.exports =
class BufferView extends FuzzyFinderView {
getEmptyMessage () {
return 'No open editors'
}
Expand Down
25 changes: 12 additions & 13 deletions lib/fuzzy-finder-view.js
@@ -1,16 +1,15 @@
/** @babel */

import {Point, CompositeDisposable} from 'atom'
import fs from 'fs-plus'
import fuzzaldrin from 'fuzzaldrin'
import fuzzaldrinPlus from 'fuzzaldrin-plus'
import path from 'path'
import SelectListView from 'atom-select-list'

import {repositoryForPath} from './helpers'
import getIconServices from './get-icon-services'

export default class FuzzyFinderView {
const {Point, CompositeDisposable} = require('atom')
const fs = require('fs-plus')
const fuzzaldrin = require('fuzzaldrin')
const fuzzaldrinPlus = require('fuzzaldrin-plus')
const path = require('path')
const SelectListView = require('atom-select-list')

const {repositoryForPath} = require('./helpers')
const getIconServices = require('./get-icon-services')

module.exports =
class FuzzyFinderView {
constructor () {
this.previousQueryWasLineJump = false
this.items = []
Expand Down
11 changes: 5 additions & 6 deletions lib/git-status-view.js
@@ -1,11 +1,10 @@
/** @babel */
const fs = require('fs-plus')
const path = require('path')

import fs from 'fs-plus'
import path from 'path'
const FuzzyFinderView = require('./fuzzy-finder-view')

import FuzzyFinderView from './fuzzy-finder-view'

export default class GitStatusView extends FuzzyFinderView {
module.exports =
class GitStatusView extends FuzzyFinderView {
async toggle () {
if (this.panel && this.panel.isVisible()) {
this.cancel()
Expand Down
2 changes: 2 additions & 0 deletions lib/load-paths-handler.js
@@ -1,3 +1,5 @@
/* global emit */

const async = require('async')
const fs = require('fs')
const path = require('path')
Expand Down
13 changes: 6 additions & 7 deletions lib/project-view.js
@@ -1,12 +1,11 @@
/** @babel */
const {Disposable, CompositeDisposable} = require('atom')
const humanize = require('humanize-plus')

import {Disposable, CompositeDisposable} from 'atom'
import humanize from 'humanize-plus'
const FuzzyFinderView = require('./fuzzy-finder-view')
const PathLoader = require('./path-loader')

import FuzzyFinderView from './fuzzy-finder-view'
import PathLoader from './path-loader'

export default class ProjectView extends FuzzyFinderView {
module.exports =
class ProjectView extends FuzzyFinderView {
constructor (paths) {
super()
this.disposables = new CompositeDisposable()
Expand Down
11 changes: 8 additions & 3 deletions package.json
Expand Up @@ -18,12 +18,17 @@
"wrench": "^1.5"
},
"devDependencies": {
"standard": "*"
"standard": "^10.0.3"
},
"standard": {
"env": {
"atomtest": true,
"browser": true,
"jasmine": true,
"node": true
},
"globals": [
"atom",
"emit"
"atom"
],
"ignore": [
"spec/fixtures"
Expand Down
3 changes: 0 additions & 3 deletions spec/fuzzy-finder-spec.js
@@ -1,6 +1,3 @@
/* eslint-env jasmine */
/* global CustomEvent, advanceClock, waitsForPromise */

const net = require('net')
const path = require('path')
const _ = require('underscore-plus')
Expand Down

0 comments on commit ae71cdb

Please sign in to comment.