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

Function createSingleLineSourceMap

test.js:40–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40function createSingleLineSourceMap() {
41 var sourceMap = createEmptySourceMap();
42 sourceMap.addMapping({
43 generated: { line: 1, column: 0 },
44 original: { line: 1, column: 0 },
45 source: '.original.js'
46 });
47 return sourceMap;
48}
49
50function createSecondLineSourceMap() {
51 var sourceMap = createEmptySourceMap();

Callers 1

test.jsFile · 0.85

Calls 1

createEmptySourceMapFunction · 0.85

Tested by

no test coverage detected