Changeset 17925


Ignore:
Timestamp:
07/22/14 13:45:52 (10 years ago)
Author:
tbretz
Message:
Reverting to last revision.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/CheckStates.js

    r17922 r17925  
    4040 *
    4141 */
    42 function checkStates(table, timeout, wait)
     42function checkStates(table, timeout)
    4343{
    4444    if (timeout===undefined)
     
    6969                    continue;
    7070
    71                 if (!wait)
    72                     dim.log(table[i][0]+" in ["+states[i]+"] not as it ought to be ["+table[i][1]+"]");
    73 
     71                dim.log(table[i][0]+" in ["+states[i]+"] not as it ought to be ["+table[i][1]+"]");
    7472                rc = false;
    7573            }
    76             if (rc)
    77                 return rc;
    78 
    79             if (!wait)
    80                 return false;
     74
     75            return rc;
    8176        }
    8277
Note: See TracChangeset for help on using the changeset viewer.