UNPKG

bootstrap-vue

Version:

BootstrapVue provides one of the most comprehensive implementations of Bootstrap 4 components and grid system for Vue.js and with extensive and automated WAI-ARIA accessibility markup.

10 lines (8 loc) 251 B
import { create } from './object'; export default function memoize(fn) { var cache = create(null); return function memoizedFn() { var args = JSON.stringify(arguments); return cache[args] = cache[args] || fn.apply(null, arguments); }; }