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

View File

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