Fixed lingering code inspection issues
This commit is contained in:
parent
39af7dbe32
commit
55c3236380
18 changed files with 45 additions and 43 deletions
|
|
@ -1235,14 +1235,14 @@ Computer.prototype.onReset = function()
|
|||
};
|
||||
|
||||
/**
|
||||
* getComponentByType(sType, componentPrev)
|
||||
* getMachineComponent(sType, componentPrev)
|
||||
*
|
||||
* @this {Computer}
|
||||
* @param {string} sType
|
||||
* @param {Component|null} [componentPrev] of previously returned component, if any
|
||||
* @return {Component|null}
|
||||
*/
|
||||
Computer.prototype.getComponentByType = function(sType, componentPrev)
|
||||
Computer.prototype.getMachineComponent = function(sType, componentPrev)
|
||||
{
|
||||
var aComponents = Component.getComponents(this.id);
|
||||
for (var iComponent = 0; iComponent < aComponents.length; iComponent++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue