mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use relative require paths
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user