diff options
Diffstat (limited to 'src/selector/createCache.js')
-rw-r--r-- | src/selector/createCache.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/selector/createCache.js b/src/selector/createCache.js index 18e255d0f..d46985fcb 100644 --- a/src/selector/createCache.js +++ b/src/selector/createCache.js @@ -1,4 +1,4 @@ -import jQuery from "../core.js"; +import { jQuery } from "../core.js"; /** * Create key-value caches of limited size @@ -6,7 +6,7 @@ import jQuery from "../core.js"; * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) * deleting the oldest entry */ -function createCache() { +export function createCache() { var keys = []; function cache( key, value ) { @@ -22,5 +22,3 @@ function createCache() { } return cache; } - -export default createCache; |