Minor function signature adjustments

This commit is contained in:
Jeff Parsons 2015-04-02 14:30:27 -07:00 committed by jeffpar
commit 70ddfc73d0
12 changed files with 40 additions and 29 deletions

View file

@ -606,13 +606,14 @@ FDC.prototype.powerUp = function(data, fRepower)
};
/**
* powerDown(fSave)
* powerDown(fSave, fShutdown)
*
* @this {FDC}
* @param {boolean} fSave
* @return {Object|boolean}
* @param {boolean} [fShutdown]
* @return {Object|boolean} component state if fSave; otherwise, true if successful, false if failure
*/
FDC.prototype.powerDown = function(fSave)
FDC.prototype.powerDown = function(fSave, fShutdown)
{
return fSave && this.save? this.save() : true;
};