mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-12 22:50:54 +03:00
Remove Duplicate Require Statements and Unify Syntax on '
This commit is contained in:
parent
8677ca3a10
commit
8c5c795b35
@ -1,4 +1,4 @@
|
||||
_ = require "underscore-plus"
|
||||
_ = require 'underscore-plus'
|
||||
path = require 'path'
|
||||
temp = require 'temp'
|
||||
Package = require '../src/package'
|
||||
|
@ -1,7 +1,7 @@
|
||||
path = require "path"
|
||||
path = require 'path'
|
||||
fs = require 'fs-plus'
|
||||
temp = require "temp"
|
||||
AtomPortable = require "../src/browser/atom-portable"
|
||||
temp = require 'temp'
|
||||
AtomPortable = require '../src/browser/atom-portable'
|
||||
|
||||
portableModeCommonPlatformBehavior = (platform) ->
|
||||
describe "with ATOM_HOME environment variable", ->
|
||||
|
@ -2,7 +2,6 @@ path = require 'path'
|
||||
_ = require 'underscore-plus'
|
||||
grim = require 'grim'
|
||||
marked = require 'marked'
|
||||
|
||||
listen = require '../src/delegated-listener'
|
||||
|
||||
formatStackTrace = (spec, message='', stackTrace) ->
|
||||
|
@ -3,9 +3,9 @@
|
||||
# See https://github.com/atom/electron/issues/2033
|
||||
process.env.DEBUG='*'
|
||||
|
||||
path = require('path')
|
||||
temp = require('temp').track()
|
||||
CompileCache = require('../src/compile-cache')
|
||||
path = require 'path'
|
||||
temp = require('temp').track();
|
||||
CompileCache = require '../src/compile-cache'
|
||||
|
||||
describe "Babel transpiler support", ->
|
||||
originalCacheDir = null
|
||||
|
@ -1,5 +1,5 @@
|
||||
path = require 'path'
|
||||
BufferedNodeProcess = require '../src/buffered-node-process'
|
||||
BufferedNodeProcess = require '../src/buffered-node-process'
|
||||
|
||||
describe "BufferedNodeProcess", ->
|
||||
it "executes the script in a new process", ->
|
||||
|
@ -1,5 +1,5 @@
|
||||
path = require 'path'
|
||||
temp = require('temp').track()
|
||||
temp = require('temp')track();
|
||||
Babel = require 'babel-core'
|
||||
CoffeeScript = require 'coffee-script'
|
||||
{TypeScriptSimple} = require 'typescript-simple'
|
||||
|
@ -1,7 +1,7 @@
|
||||
DefaultDirectoryProvider = require "../src/default-directory-provider"
|
||||
path = require "path"
|
||||
DefaultDirectoryProvider = require '../src/default-directory-provider'
|
||||
path = require 'path'
|
||||
fs = require 'fs-plus'
|
||||
temp = require "temp"
|
||||
temp = require 'temp'
|
||||
|
||||
describe "DefaultDirectoryProvider", ->
|
||||
describe ".directoryForURISync(uri)", ->
|
||||
|
@ -1,6 +1,6 @@
|
||||
DefaultDirectorySearcher = require "../src/default-directory-searcher"
|
||||
Task = require "../src/task"
|
||||
path = require "path"
|
||||
DefaultDirectorySearcher = require '../src/default-directory-searcher'
|
||||
Task = require '../src/task'
|
||||
path = require 'path'
|
||||
|
||||
describe "DefaultDirectorySearcher", ->
|
||||
[searcher, dirPath] = []
|
||||
|
@ -1,11 +1,11 @@
|
||||
path = require "path"
|
||||
http = require "http"
|
||||
temp = require("temp").track()
|
||||
remote = require "remote"
|
||||
async = require "async"
|
||||
{map, extend, once, difference} = require "underscore-plus"
|
||||
{spawn, spawnSync} = require "child_process"
|
||||
webdriverio = require "../../../build/node_modules/webdriverio"
|
||||
path = require 'path'
|
||||
http = require 'http'
|
||||
temp = require('temp').track()
|
||||
remote = require 'remote'
|
||||
async = require 'async'
|
||||
{map, extend, once, difference} = require 'underscore-plus'
|
||||
{spawn, spawnSync} = require 'child_process'
|
||||
webdriverio = require '../../../build/node_modules/webdriverio'
|
||||
|
||||
AtomPath = remote.process.argv[0]
|
||||
AtomLauncherPath = path.join(__dirname, "..", "helpers", "atom-launcher.sh")
|
||||
|
@ -6,11 +6,11 @@ return unless process.env.ATOM_INTEGRATION_TESTS_ENABLED
|
||||
# run them on Travis.
|
||||
return if process.env.CI
|
||||
|
||||
fs = require "fs-plus"
|
||||
path = require "path"
|
||||
temp = require("temp").track()
|
||||
runAtom = require "./helpers/start-atom"
|
||||
CSON = require "season"
|
||||
fs = require 'fs-plus'
|
||||
path = require 'path'
|
||||
temp = require('temp').track()
|
||||
runAtom = require './helpers/start-atom'
|
||||
CSON = require 'season'
|
||||
|
||||
describe "Starting Atom", ->
|
||||
atomHome = temp.mkdirSync('atom-home')
|
||||
|
@ -1,4 +1,3 @@
|
||||
fs = require 'fs'
|
||||
_ = require 'underscore-plus'
|
||||
fs = require 'fs-plus'
|
||||
path = require 'path'
|
||||
|
@ -7,7 +7,6 @@ path = require 'path'
|
||||
BufferedProcess = require '../src/buffered-process'
|
||||
{Directory} = require 'pathwatcher'
|
||||
GitRepository = require '../src/git-repository'
|
||||
temp = require "temp"
|
||||
|
||||
describe "Project", ->
|
||||
beforeEach ->
|
||||
|
@ -1,5 +1,5 @@
|
||||
TooltipManager = require '../src/tooltip-manager'
|
||||
_ = require "underscore-plus"
|
||||
_ = require 'underscore-plus'
|
||||
|
||||
describe "TooltipManager", ->
|
||||
[manager, element] = []
|
||||
|
Loading…
Reference in New Issue
Block a user