Changeset 17927 for trunk/FACT++/scripts
- Timestamp:
- 07/22/14 13:46:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/CheckStates.js
r17925 r17927 40 40 * 41 41 */ 42 function checkStates(table, timeout )42 function checkStates(table, timeout, wait) 43 43 { 44 44 if (timeout===undefined) … … 69 69 continue; 70 70 71 dim.log(table[i][0]+" in ["+states[i]+"] not as it ought to be ["+table[i][1]+"]"); 71 if (!wait) 72 dim.log(table[i][0]+" in ["+states[i]+"] not as it ought to be ["+table[i][1]+"]"); 73 72 74 rc = false; 73 75 } 74 75 return rc; 76 if (rc) 77 return rc; 78 79 if (!wait) 80 return false; 76 81 } 77 82
Note:
See TracChangeset
for help on using the changeset viewer.