mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
CoffeeScript.compile returns a string
This commit is contained in:
@@ -61,7 +61,7 @@ setupCoffeeScript = ->
|
||||
require.extensions['.coffee'] = (module, filePath) ->
|
||||
CoffeeScript ?= require('coffee-script')
|
||||
coffee = fs.readFileSync(filePath, 'utf8')
|
||||
{js} = CoffeeScript.compile(coffee, filename: filePath)
|
||||
js = CoffeeScript.compile(coffee, filename: filePath)
|
||||
module._compile(js, filePath)
|
||||
|
||||
parseCommandLine = ->
|
||||
|
||||
Reference in New Issue
Block a user