2014-08-06 21:05:01 +02:00
|
|
|
===================================================================
|
2014-08-06 23:33:06 +02:00
|
|
|
JsFile: emitBOM.js
|
|
|
|
mapUrl: emitBOM.js.map
|
2014-08-06 21:05:01 +02:00
|
|
|
sourceRoot:
|
2014-08-06 23:33:06 +02:00
|
|
|
sources: emitBOM.ts
|
2014-08-06 21:05:01 +02:00
|
|
|
===================================================================
|
|
|
|
-------------------------------------------------------------------
|
2014-08-06 23:33:06 +02:00
|
|
|
emittedFile:tests/cases/compiler/emitBOM.js
|
|
|
|
sourceFile:emitBOM.ts
|
2014-08-06 21:05:01 +02:00
|
|
|
-------------------------------------------------------------------
|
2014-08-12 00:54:12 +02:00
|
|
|
>>>// JS and d.ts output should have a BOM but not the sourcemap
|
2014-08-06 21:05:01 +02:00
|
|
|
1 >
|
2015-07-30 20:12:08 +02:00
|
|
|
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2014-08-06 21:05:01 +02:00
|
|
|
1 >
|
|
|
|
>
|
2015-07-30 20:12:08 +02:00
|
|
|
2 >// JS and d.ts output should have a BOM but not the sourcemap
|
|
|
|
1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
|
|
|
2 >Emitted(1, 62) Source(2, 62) + SourceIndex(0)
|
2014-08-12 00:54:12 +02:00
|
|
|
---
|
|
|
|
>>>var x;
|
2015-07-30 20:12:08 +02:00
|
|
|
1 >
|
|
|
|
2 >^^^^
|
|
|
|
3 > ^
|
|
|
|
4 > ^
|
|
|
|
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
2014-08-12 00:54:12 +02:00
|
|
|
1 >
|
2015-07-30 20:12:08 +02:00
|
|
|
>
|
|
|
|
2 >var
|
|
|
|
3 > x
|
|
|
|
4 > ;
|
|
|
|
1 >Emitted(2, 1) Source(3, 1) + SourceIndex(0)
|
|
|
|
2 >Emitted(2, 5) Source(3, 5) + SourceIndex(0)
|
|
|
|
3 >Emitted(2, 6) Source(3, 6) + SourceIndex(0)
|
|
|
|
4 >Emitted(2, 7) Source(3, 7) + SourceIndex(0)
|
2014-08-06 21:05:01 +02:00
|
|
|
---
|
2014-08-06 23:33:06 +02:00
|
|
|
>>>//# sourceMappingURL=emitBOM.js.map
|