mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
Merge commit '3d0d04efe286fdbd9b1b1841112a6b9c991e9698' into 2
This commit is contained in:
commit
ef1898ba42
2 changed files with 3 additions and 1 deletions
|
@ -370,7 +370,8 @@
|
|||
} else if (sources[filename] != null) {
|
||||
answer = compile(sources[filename], {
|
||||
filename: filename,
|
||||
sourceMap: true
|
||||
sourceMap: true,
|
||||
literate: helpers.isLiterate(filename)
|
||||
});
|
||||
return answer.sourceMap;
|
||||
} else {
|
||||
|
|
|
@ -366,6 +366,7 @@ getSourceMap = (filename) ->
|
|||
answer = compile sources[filename],
|
||||
filename: filename
|
||||
sourceMap: yes
|
||||
literate: helpers.isLiterate filename
|
||||
answer.sourceMap
|
||||
else
|
||||
null
|
||||
|
|
Loading…
Reference in a new issue