Add jsdoc constructor tags. [ci skip]

This commit is contained in:
John-David Dalton
2016-02-12 15:59:19 -08:00
parent df0ecd2a93
commit bf9dcfe89c
2 changed files with 7 additions and 2 deletions

View File

@@ -1569,6 +1569,7 @@
* Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
*
* @private
* @constructor
* @param {*} value The value to wrap.
*/
function LazyWrapper(value) {
@@ -1683,6 +1684,7 @@
* Creates an hash object.
*
* @private
* @constructor
* @returns {Object} Returns the new hash object.
*/
function Hash() {}
@@ -1745,6 +1747,7 @@
* Creates a map cache object to store key-value pairs.
*
* @private
* @constructor
* @param {Array} [values] The values to cache.
*/
function MapCache(values) {
@@ -1849,6 +1852,7 @@
* Creates a set cache object to store unique values.
*
* @private
* @constructor
* @param {Array} [values] The values to cache.
*/
function SetCache(values) {
@@ -1907,6 +1911,7 @@
* Creates a stack cache object to store key-value pairs.
*
* @private
* @constructor
* @param {Array} [values] The values to cache.
*/
function Stack(values) {

View File

@@ -353,11 +353,11 @@
.join('');
/**
* The custom error constructor.
* Creates a custom error object.
*
* @private
* @constructor
* @param {string} message The error message.
* @returns {Object} Returns the new error object instance.
*/
function CustomError(message) {
this.name = 'CustomError';