Skip to content

Commit

Permalink
Remove _/fs from modules directly
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Feb 24, 2014
1 parent 0688ddf commit 189ebc4
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion spec/display-buffer-spec.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DisplayBuffer = require '../src/display-buffer'
{_} = require 'atom'
_ = require 'underscore-plus'

describe "DisplayBuffer", ->
[displayBuffer, buffer, changeHandler, tabLength] = []
Expand Down
2 changes: 1 addition & 1 deletion spec/pane-container-view-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ path = require 'path'
temp = require 'temp'
PaneContainerView = require '../src/pane-container-view'
PaneView = require '../src/pane-view'
{_, $, View, $$} = require 'atom'
{$, View, $$} = require 'atom'

describe "PaneContainerView", ->
[TestView, container, pane1, pane2, pane3] = []
Expand Down
3 changes: 2 additions & 1 deletion spec/project-spec.coffee
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
temp = require 'temp'
fstream = require 'fstream'
Project = require '../src/project'
{_, fs} = require 'atom'
_ = require 'underscore-plus'
fs = require 'fs-plus'
path = require 'path'
platform = require './spec-helper-platform'
BufferedProcess = require '../src/buffered-process'
Expand Down
4 changes: 3 additions & 1 deletion spec/spec-helper.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ atom.restoreWindowDimensions()

require '../vendor/jasmine-jquery'
path = require 'path'
{_, $, WorkspaceView, fs} = require 'atom'
_ = require 'underscore-plus'
fs = require 'fs-plus'
{$, WorkspaceView} = require 'atom'
Keymap = require '../src/keymap'
Config = require '../src/config'
{Point} = require 'text-buffer'
Expand Down
6 changes: 4 additions & 2 deletions spec/spec-suite.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{_, fs, Git} = require 'atom'
_ = require 'underscore-plus'
fs = require 'fs-plus'
{Git} = require 'atom'
path = require 'path'
require './spec-helper'
require './spec-helper'

requireSpecs = (specDirectory, specType) ->
for specFilePath in fs.listTreeSync(specDirectory) when /-spec\.coffee$/.test specFilePath
Expand Down
2 changes: 1 addition & 1 deletion spec/time-reporter.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{_} = require 'atom'
_ = require 'underscore-plus'

module.exports =
class TimeReporter extends jasmine.Reporter
Expand Down
2 changes: 1 addition & 1 deletion spec/tokenized-buffer-spec.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TokenizedBuffer = require '../src/tokenized-buffer'
{_} = require 'atom'
_ = require 'underscore-plus'

describe "TokenizedBuffer", ->
[tokenizedBuffer, buffer, changeHandler] = []
Expand Down

0 comments on commit 189ebc4

Please sign in to comment.