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

Function createSourceMapWithGap

test.js:30–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30function createSourceMapWithGap() {
31 var sourceMap = createEmptySourceMap();
32 sourceMap.addMapping({
33 generated: { line: 100, column: 0 },
34 original: { line: 100, column: 0 },
35 source: '.original.js'
36 });
37 return sourceMap;
38}
39
40function createSingleLineSourceMap() {
41 var sourceMap = createEmptySourceMap();

Callers 1

test.jsFile · 0.85

Calls 1

createEmptySourceMapFunction · 0.85

Tested by

no test coverage detected