diff options
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.js | 6 |
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] = {}); +}; |