UNPKG

vue-app-sdk

Version:
22 lines (21 loc) 903 B
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); const _listCacheClear = require("./_listCacheClear.cjs"); const _listCacheDelete = require("./_listCacheDelete.cjs"); const _listCacheGet = require("./_listCacheGet.cjs"); const _listCacheHas = require("./_listCacheHas.cjs"); const _listCacheSet = require("./_listCacheSet.cjs"); function ListCache(entries) { var index = -1, length = entries == null ? 0 : entries.length; this.clear(); while (++index < length) { var entry = entries[index]; this.set(entry[0], entry[1]); } } ListCache.prototype.clear = _listCacheClear.default; ListCache.prototype["delete"] = _listCacheDelete.default; ListCache.prototype.get = _listCacheGet.default; ListCache.prototype.has = _listCacheHas.default; ListCache.prototype.set = _listCacheSet.default; exports.default = ListCache;