All Downloads are FREE. Search and download functionalities are using the official Maven repository.

coffee-script.toSourceMap.js Maven / Gradle / Ivy

Go to download

This is the simplest fastest full fledged http server we could come up with

There is a newer version: 2.105
Show newest version
try {
  var v3sourceMap = JSON.parse(CoffeeScript.compile(__source, {bare: true, literate: __literate, sourceMap: true, filename: __filename}).v3SourceMap);
  v3sourceMap.file = __filename;
  v3sourceMap.sources = [__filename];
  delete v3sourceMap['sourceRoot'];
  JSON.stringify(v3sourceMap, null, " ");
} catch (exception) {
  throw 'Unable to compile CoffeeScript ' + exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy