mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Use interpolated string when evaluating
This commit is contained in:
@@ -51,7 +51,7 @@ define = (cb) ->
|
||||
exts =
|
||||
js: (file, code) ->
|
||||
code or= __read file
|
||||
eval("define(function(require, exports, module) { 'use strict';" + code + "})\n//@ sourceURL=" + file)
|
||||
eval("define(function(require, exports, module) { 'use strict';#{code}})\n//@ sourceURL=#{file}")
|
||||
__defines.pop()?.call()
|
||||
coffee: (file, retry=true) ->
|
||||
cacheFilePath = getCacheFilePath(file)
|
||||
|
||||
Reference in New Issue
Block a user