Sha256: d280c04a6cd324e8f3cdc0298639a87d9201f025e41d4f66bff35c078aa38e3d

Contents?: true

Size: 952 Bytes

Versions: 2

Compression:

Stored size: 952 Bytes

Contents

//        ___          ___          ___          ___          ___
//       /  /\        /  /\        /  /\        /__/\        /  /\
//      /  /:/       /  /::\      /  /:/        \  \:\      /  /:/_
//     /  /:/       /  /:/\:\    /  /:/          \__\:\    /  /:/ /\
//    /  /:/  ___  /  /:/~/::\  /  /:/  ___  ___ /  /::\  /  /:/ /:/_
//   /__/:/  /  /\/__/:/ /:/\:\/__/:/  /  /\/__/\  /:/\:\/__/:/ /:/ /\
//   \  \:\ /  /:/\  \:\/:/__\/\  \:\ /  /:/\  \:\/:/__\/\  \:\/:/ /:/
//    \  \:\  /:/  \  \::/      \  \:\  /:/  \  \::/      \  \::/ /:/
//     \  \:\/:/    \  \:\       \  \:\/:/    \  \:\       \  \:\/:/
//      \  \::/      \  \:\       \  \::/      \  \:\       \  \::/
//       \__\/        \__\/        \__\/        \__\/        \__\/

var Cache;

Cache = (node) => {
  var $node = $(node);

  return {
    get(key) { return $node.data(key); },
    set(key, value) { return $node.data(key, value); }
  };
};

export default Cache;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docks_theme_api-1.0.3 source/utilities/dom_cache/dom_cache.js
docks_theme_api-1.0.2 source/utilities/dom_cache/dom_cache.js