summaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma-coverage/lib/sourceCache.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/karma-coverage/lib/sourceCache.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/karma-coverage/lib/sourceCache.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma-coverage/lib/sourceCache.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma-coverage/lib/sourceCache.js
new file mode 100644
index 00000000..eb31b633
--- /dev/null
+++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma-coverage/lib/sourceCache.js
@@ -0,0 +1,6 @@
+
+var cacheByBasePath = {};
+
+exports.getByBasePath = function (basePath) {
+ return cacheByBasePath[basePath] ? cacheByBasePath[basePath] : (cacheByBasePath[basePath] = {});
+};