How to use the fromBase64 function from convert-source-map
Find comprehensive JavaScript convert-source-map.fromBase64 code examples handpicked from public code repositorys.
66 67 68 69 70 71 72 73 74 75
var lineOffset = 3 var base64 = combine.create() .addFile(file, { line: lineOffset }) .base64() var sm = convert.fromBase64(base64).toObject(); var res = checkMappings(foo, sm, lineOffset); t.ok(res.genLinesOffset, 'all generated lines are offset properly and columns unchanged') t.ok(res.origLinesSame, 'all original lines and columns are unchanged')
0
0
1
+ 9 other calls in file
convert-source-map.fromSource is the most popular function in convert-source-map (135 examples)