[Jspro-cvs] jsPro/debug debug.js,1.4,1.5
Brought to you by:
wigleys
|
From: <gat...@us...> - 2003-09-22 03:28:26
|
Update of /cvsroot/jspro/jsPro/debug
In directory sc8-pr-cvs1:/tmp/cvs-serv15119/debug
Modified Files:
debug.js
Log Message:
QA: i screwed up the first time on this update...updated certain TypeMismatchExceptions to test for and display the correct datatype ('integer' instead of 'number')
Index: debug.js
===================================================================
RCS file: /cvsroot/jspro/jsPro/debug/debug.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** debug.js 22 Sep 2003 03:21:35 -0000 1.4
--- debug.js 22 Sep 2003 03:28:22 -0000 1.5
***************
*** 118,123 ****
}
! if ((typeof iMessageType != 'number') || (parseInt(iMessageType.toString()) != iMessageType)) {
! throw vError = new TypeMismatchException('Debug.print', 'positive integer', typeof iMessageType);
}
--- 118,123 ----
}
! if ((typeof iMessageType != 'number') || (iMessageType.toString().indexOf('.') != -1)) {
! throw vError = new TypeMismatchException('Debug.print', 'integer', typeof iMessageType);
}
|