1
0
Fork 0
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:
Geoffrey 2017-02-07 20:20:51 -08:00
commit ef1898ba42
2 changed files with 3 additions and 1 deletions

View file

@ -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 {

View file

@ -366,6 +366,7 @@ getSourceMap = (filename) ->
answer = compile sources[filename],
filename: filename
sourceMap: yes
literate: helpers.isLiterate filename
answer.sourceMap
else
null