MCPcopy Index your code
hub / github.com/evanw/node-source-map-support / createMultiLineSourceMap

Function createMultiLineSourceMap

test.js:60–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58}
59
60function createMultiLineSourceMap() {
61 var sourceMap = createEmptySourceMap();
62 for (var i = 1; i <= 100; i++) {
63 sourceMap.addMapping({
64 generated: { line: i, column: 0 },
65 original: { line: 1000 + i, column: 99 + i },
66 source: 'line' + i + '.js'
67 });
68 }
69 return sourceMap;
70}
71
72function createMultiLineSourceMapWithSourcesContent() {
73 var sourceMap = createEmptySourceMap();

Callers 1

test.jsFile · 0.85

Calls 1

createEmptySourceMapFunction · 0.85

Tested by

no test coverage detected