UNPKG

191 BJavaScriptView Raw
1// Source Cache
2// ============
3
4var cache = {}
5
6function get (basePath) {
7 if (!cache[basePath]) {
8 cache[basePath] = {}
9 }
10
11 return cache[basePath]
12}
13
14module.exports = {
15 get: get
16}