Changeset 29

Show
Ignore:
Timestamp:
01/16/06 09:47:52
Author:
johnny
Message:

Fixed problem where in the constructor an if (first_argument) was done to see
if it was called to instantiate a new item, or to get a prototype instance,
which failed when was used.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/hypertest/js/apptest/apptest.js

    r17 r29  
    1313    var AppTest = function(name, doc, reporter) { 
    1414        /* a test */ 
    15         if (name) { 
     15        if (name !== undefined) { 
    1616            this._init(name, doc, reporter); 
    1717        };