[Jspro-cvs] jsPro/debug debug.js,1.3,1.4
Brought to you by:
wigleys
|
From: <gat...@us...> - 2003-09-22 03:21:40
|
Update of /cvsroot/jspro/jsPro/debug
In directory sc8-pr-cvs1:/tmp/cvs-serv14209/debug
Modified Files:
debug.js
Log Message:
QA: updated certain TypeMismatchExceptions to display correct datatype being tested for ('positive integer' instead of 'number')
Index: debug.js
===================================================================
RCS file: /cvsroot/jspro/jsPro/debug/debug.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** debug.js 6 Sep 2003 01:48:01 -0000 1.3
--- debug.js 22 Sep 2003 03:21:35 -0000 1.4
***************
*** 119,123 ****
if ((typeof iMessageType != 'number') || (parseInt(iMessageType.toString()) != iMessageType)) {
! throw vError = new TypeMismatchException('Debug.print', 'number', typeof iMessageType);
}
--- 119,123 ----
if ((typeof iMessageType != 'number') || (parseInt(iMessageType.toString()) != iMessageType)) {
! throw vError = new TypeMismatchException('Debug.print', 'positive integer', typeof iMessageType);
}
|