From fffaca5b2f2619b829e9fab6f88c067308276009 Mon Sep 17 00:00:00 2001 From: Jeremie Pelletier Date: Tue, 3 Dec 2013 15:49:34 -0500 Subject: [PATCH] added retrieveFile option --- source-map-support.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source-map-support.js b/source-map-support.js index dcb5351..a12e16c 100644 --- a/source-map-support.js +++ b/source-map-support.js @@ -230,6 +230,11 @@ exports.install = function(options) { emptyCacheBetweenOperations = 'emptyCacheBetweenOperations' in options ? options.emptyCacheBetweenOperations : false; + // Allow sources to be found by methods other than reading the files + // directly from disk. + if (options.retrieveFile) + retrieveFile = options.retrieveFile; + // Allow source maps to be found by methods other than reading the files // directly from disk. if (options.retrieveSourceMap)