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

@ -277,13 +277,14 @@ CPU.prototype.powerUp = function(data, fRepower)
};
/**
* powerDown(fSave)
* powerDown(fSave, fShutdown)
*
* @this {CPU}
* @param {boolean} fSave
* @return {Object|boolean}
* @param {boolean} [fShutdown]
* @return {Object|boolean} component state if fSave; otherwise, true if successful, false if failure
*/
CPU.prototype.powerDown = function(fSave)
CPU.prototype.powerDown = function(fSave, fShutdown)
{
/*
* The Computer component (which is responsible for all powerDown and powerUp notifications)