Minor function signature adjustments
This commit is contained in:
parent
a2b06b7626
commit
70ddfc73d0
12 changed files with 40 additions and 29 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue