Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_mapCacheClear.js 393B

123456789101112131415161718192021
  1. var Hash = require('./_Hash'),
  2. ListCache = require('./_ListCache'),
  3. Map = require('./_Map');
  4. /**
  5. * Removes all key-value entries from the map.
  6. *
  7. * @private
  8. * @name clear
  9. * @memberOf MapCache
  10. */
  11. function mapCacheClear() {
  12. this.size = 0;
  13. this.__data__ = {
  14. 'hash': new Hash,
  15. 'map': new (Map || ListCache),
  16. 'string': new Hash
  17. };
  18. }
  19. module.exports = mapCacheClear;