Sha256: ff0cad8911657e083892b17d433e9af1427c23c647e9276b654d957c9300663f

Contents?: true

Size: 734 Bytes

Versions: 273

Compression:

Stored size: 734 Bytes

Contents

var ListCache = require('./_ListCache'),
    stackClear = require('./_stackClear'),
    stackDelete = require('./_stackDelete'),
    stackGet = require('./_stackGet'),
    stackHas = require('./_stackHas'),
    stackSet = require('./_stackSet');

/**
 * Creates a stack cache object to store key-value pairs.
 *
 * @private
 * @constructor
 * @param {Array} [entries] The key-value pairs to cache.
 */
function Stack(entries) {
  var data = this.__data__ = new ListCache(entries);
  this.size = data.size;
}

// Add methods to `Stack`.
Stack.prototype.clear = stackClear;
Stack.prototype['delete'] = stackDelete;
Stack.prototype.get = stackGet;
Stack.prototype.has = stackHas;
Stack.prototype.set = stackSet;

module.exports = Stack;

Version data entries

273 entries across 271 versions & 29 rubygems

Version Path
immosquare-cleaner-0.1.60 node_modules/lodash/_Stack.js
immosquare-cleaner-0.1.59 node_modules/lodash/_Stack.js
immosquare-cleaner-0.1.58 node_modules/lodash/_Stack.js
immosquare-cleaner-0.1.57 node_modules/lodash/_Stack.js
immosquare-cleaner-0.1.56 node_modules/lodash/_Stack.js
immosquare-cleaner-0.1.55 node_modules/lodash/_Stack.js
immosquare-cleaner-0.1.54 node_modules/lodash/_Stack.js
immosquare-cleaner-0.1.53 node_modules/lodash/_Stack.js
immosquare-cleaner-0.1.52 node_modules/lodash/_Stack.js
trusty-cms-6.3.1 node_modules/lodash/_Stack.js
immosquare-cleaner-0.1.51 node_modules/lodash/_Stack.js
boring_generators-0.15.0 tmp/templates/app_template/node_modules/lodash/_Stack.js
clapton-0.0.26 lib/clapton/javascripts/node_modules/lodash/_Stack.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/lodash/_Stack.js
immosquare-cleaner-0.1.50 node_modules/lodash/_Stack.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/lodash/_Stack.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/lodash/_Stack.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/lodash/_Stack.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/lodash/_Stack.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/lodash/_Stack.js