Use relative require paths

This commit is contained in:
Kevin Sawicki
2013-04-24 10:06:46 -07:00
parent 8fb61168b0
commit 946f908ab7
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ module.exports =
createView: ->
unless @fuzzyFinderView
@loadPathsTask?.abort()
FuzzyFinderView = require 'fuzzy-finder/lib/fuzzy-finder-view'
FuzzyFinderView = require './fuzzy-finder-view'
@fuzzyFinderView = new FuzzyFinderView()
if @projectPaths?.length > 0 and not @fuzzyFinderView.projectPaths?
@fuzzyFinderView.projectPaths = @projectPaths

View File

@@ -111,7 +111,7 @@ module.exports =
syntax.addProperties(selector, snippets: snippetsByPrefix)
getBodyParser: ->
require 'snippets/lib/snippet-body-parser'
require './snippet-body-parser'
enableSnippetsInEditor: (editor) ->
editor.command 'snippets:expand', (e) =>