diff options
Diffstat (limited to 'node_modules/montage/core/shim/structures.js')
-rwxr-xr-x | node_modules/montage/core/shim/structures.js | 22 |
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 | */ |
19 | exports.Map = Map; | 19 | exports.Map = Map; |
20 | function Map(ignored, options) { | 20 | function 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 | */ |
133 | exports.Set = Set; | 133 | exports.Set = Set; |
134 | function Set(ignored, options) { | 134 | function 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 | */ |
244 | exports.OrderedSet = OrderedSet; | 244 | exports.OrderedSet = OrderedSet; |
245 | function OrderedSet(ignored, options) { | 245 | function 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 | */ |
404 | exports.CacheMap = CacheMap; | 404 | exports.CacheMap = CacheMap; |
405 | function CacheMap(ignored, options) { | 405 | function 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 | ||