Initial commit

This commit is contained in:
Ben Alpert
2015-01-29 17:10:49 -08:00
commit a15603d8f1
382 changed files with 39183 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
/**
* Copyright 2004-present Facebook. All Rights Reserved.
*
* @providesModule loadSourceMap
*/
'use strict';
var SourceMapConsumer = require('SourceMap').SourceMapConsumer;
var sourceMapInstance;
function loadSourceMap() {
if (sourceMapInstance !== undefined) {
return sourceMapInstance;
}
if (!global.RAW_SOURCE_MAP) {
return null;
}
sourceMapInstance = new SourceMapConsumer(global.RAW_SOURCE_MAP);
return sourceMapInstance;
}
module.exports = loadSourceMap;