From 891200d65840d53c76fbe83058c541ec808a6c86 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 10 Oct 2013 11:05:41 -0700 Subject: [PATCH] Remove src/ from global paths in browser process --- src/browser/main.coffee | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/browser/main.coffee b/src/browser/main.coffee index 079fa6a93..e2490b97c 100644 --- a/src/browser/main.coffee +++ b/src/browser/main.coffee @@ -51,12 +51,9 @@ delegate.browserMainParts.preMainMessageLoopRun = -> require('coffee-script') if args.devMode require(path.join(args.resourcePath, 'src', 'coffee-cache')).register() - module.globalPaths.push(path.join(args.resourcePath, 'src')) + AtomApplication = require path.join(args.resourcePath, 'src', 'browser', 'atom-application') else - appSrcPath = path.resolve(process.argv[0], "../../Resources/app/src") - module.globalPaths.push(appSrcPath) - - AtomApplication = require './atom-application' + AtomApplication = require './atom-application' AtomApplication.open(args) console.log("App load time: #{new Date().getTime() - startTime}ms")