coffee-script.toSourceMap.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http Show documentation
Show all versions of http Show documentation
Fluent-http is the simplest fastest full fledged web server we could come up with
try {
var v3sourceMap = JSON.parse(CoffeeScript.compile(__source, {bare: true, literate: __literate, sourceMap: true, filename: __filename}).v3SourceMap);
v3sourceMap.file = __filename;
v3sourceMap.sources = [__sourcename];
delete v3sourceMap['sourceRoot'];
JSON.stringify(v3sourceMap, null, " ");
} catch (exception) {
throw 'Unable to compile CoffeeScript ' + exception;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy