aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/core/shim/structures.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/core/shim/structures.js')
-rwxr-xr-xnode_modules/montage/core/shim/structures.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/node_modules/montage/core/shim/structures.js b/node_modules/montage/core/shim/structures.js
index 2f3d7d05..fb8e2191 100755
--- a/node_modules/montage/core/shim/structures.js
+++ b/node_modules/montage/core/shim/structures.js
@@ -17,9 +17,9 @@
17 @classdesc Provides a Map data structure for managing key/value pairs, including methods for querying and manipulating map elements. A map cannot contain duplicate keys; each key can map to at most one value. 17 @classdesc Provides a Map data structure for managing key/value pairs, including methods for querying and manipulating map elements. A map cannot contain duplicate keys; each key can map to at most one value.
18 */ 18 */
19exports.Map = Map; 19exports.Map = Map;
20function Map(ignored, options) { 20function Map(reserved, options) {
21 if (!(this instanceof Map)) { 21 if (!(this instanceof Map)) {
22 return new Map(ignored, options); 22 return new Map(reserved, options);
23 } 23 }
24 options = options || {}; 24 options = options || {};
25 var eq = options.eq || Set.eq; 25 var eq = options.eq || Set.eq;
@@ -131,9 +131,9 @@ Object.defineProperties(Map.prototype, /** @lends module:montage/core/shim/struc
131 @class module:montage/core/shim/structures.Set 131 @class module:montage/core/shim/structures.Set
132 */ 132 */
133exports.Set = Set; 133exports.Set = Set;
134function Set(ignored, options) { 134function Set(reserved, options) {
135 if (!(this instanceof Set)) { 135 if (!(this instanceof Set)) {
136 return new Set(ignored, options); 136 return new Set(reserved, options);
137 } 137 }
138 options = options || {}; 138 options = options || {};
139 var eq = options.eq || Set.eq; 139 var eq = options.eq || Set.eq;
@@ -238,13 +238,13 @@ Object.defineProperties(Set.prototype, /** @lends module:montage/core/shim/struc
238}); 238});
239/** 239/**
240 @class module:montage/core/shim/structures.OrderedSet 240 @class module:montage/core/shim/structures.OrderedSet
241 @param {boolean} ignored 241 @param {boolean} reserved
242 @param {object} options 242 @param {object} options
243*/ 243*/
244exports.OrderedSet = OrderedSet; 244exports.OrderedSet = OrderedSet;
245function OrderedSet(ignored, options) { 245function OrderedSet(reserved, options) {
246 if (!(this instanceof OrderedSet)) { 246 if (!(this instanceof OrderedSet)) {
247 return new OrderedSet(ignored, options); 247 return new OrderedSet(reserved, options);
248 } 248 }
249 options = options || {}; 249 options = options || {};
250 var eq = options.eq || OrderedSet.eq; 250 var eq = options.eq || OrderedSet.eq;
@@ -397,14 +397,14 @@ Set.hash = function (value) {
397/** 397/**
398 @exports CacheMap 398 @exports CacheMap
399 @function 399 @function
400 @param {Boolean} ignored 400 @param {Boolean} reserved
401 @param {String} options 401 @param {String} options
402 @returns new CacheMap(ignored, options) 402 @returns new CacheMap(reserved, options)
403 */ 403 */
404exports.CacheMap = CacheMap; 404exports.CacheMap = CacheMap;
405function CacheMap(ignored, options) { 405function CacheMap(reserved, options) {
406 if (!(this instanceof CacheMap)) { 406 if (!(this instanceof CacheMap)) {
407 return new CacheMap(ignored, options); 407 return new CacheMap(reserved, options);
408 } 408 }
409 options = options || {}; 409 options = options || {};
410 410