Updated comments

This commit is contained in:
Jeff Parsons 2014-12-13 11:20:22 -08:00 committed by jeffpar
commit a1f0f6b279
23 changed files with 105 additions and 142 deletions

View file

@ -2639,12 +2639,11 @@ X86CPU.prototype.stepCPU = function(nMinCycles)
/**
* X86CPU.init()
*
* This function operates on every element (e) of class "cpu", and initializes
* all the necessary HTML to construct the CPU module(s) as spec'ed.
*
* Note that each element (e) of class "cpu" is expected to have a "data-value"
* attribute containing the same JSON-encoded parameters that the CPU constructor
* expects.
* This function operates on every HTML element of class "cpu", extracting the
* JSON-encoded parameters for the X86CPU constructor from the element's "data-value"
* attribute, invoking the constructor (which in turn invokes the CPU constructor)
* to create a X86CPU component, and then binding any associated HTML controls to the
* new component.
*/
X86CPU.init = function()
{