| Index: pkg/dev_compiler/lib/src/compiler/compiler.dart
|
| diff --git a/pkg/dev_compiler/lib/src/compiler/compiler.dart b/pkg/dev_compiler/lib/src/compiler/compiler.dart
|
| index 93389ab2f94fa20b4694ef25cfc671cf8c2f56ca..e2808bf56caede3b97945a3965ac8de531bb90f8 100644
|
| --- a/pkg/dev_compiler/lib/src/compiler/compiler.dart
|
| +++ b/pkg/dev_compiler/lib/src/compiler/compiler.dart
|
| @@ -509,11 +509,7 @@ class JSModuleFile {
|
| }
|
|
|
| var text = printer.getText();
|
| - var rawSourceMap = options.inlineSourceMap ? JSON.encode(builtMap) : null;
|
| - // Encode the sourcemap as an escaped string rather than JSON
|
| - // as Dart code using the sourcemap can't take advantage of it being JS
|
| - // JSON so we might as well encode it as a String which should be quicker
|
| - // to parse.
|
| + var rawSourceMap = options.inlineSourceMap ? builtMap : null;
|
| text = text.replaceFirst(sourceMapHoleID, JSON.encode(rawSourceMap));
|
|
|
| return new JSModuleCode(text, builtMap);
|
|
|