mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
The second half of the first phase of the testing framework upgrade. This finishes moving the exisintg tests to jasmine and the new test directory structure
20 lines
329 B
JavaScript
20 lines
329 B
JavaScript
/** @class */
|
|
function Asset() {
|
|
this._name = '';
|
|
}
|
|
|
|
/**
|
|
*
|
|
* Set the value of the name property.
|
|
* @param {string} newName
|
|
*
|
|
*//**
|
|
*
|
|
* Get the value of the name property.
|
|
* @returns {string}
|
|
*
|
|
*/
|
|
Asset.prototype.name = function(newName) {
|
|
if (newName) { this._name = newName; }
|
|
else { return this._name; }
|
|
} |