[phpwebapp-commits] CVS: web_app/timer class.Timer.js,1.2,1.3
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-08-22 20:09:19
|
Update of /cvsroot/phpwebapp/web_app/timer In directory sc8-pr-cvs1:/tmp/cvs-serv6393/timer Modified Files: class.Timer.js Log Message: modified a little bit the comments Index: class.Timer.js =================================================================== RCS file: /cvsroot/phpwebapp/web_app/timer/class.Timer.js,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** class.Timer.js 16 Jul 2003 09:27:59 -0000 1.2 --- class.Timer.js 22 Aug 2003 15:54:42 -0000 1.3 *************** *** 1,7 **** //-*- mode: C; -*-//tells emacs to use mode C for this file ! function Proc(id, comment) - //the class Proc represents the duration of a process { this.ID = id; --- 1,6 ---- //-*- mode: C; -*-//tells emacs to use mode C for this file ! /** The class Proc represents the duration of a process. */ function Proc(id, comment) { this.ID = id; *************** *** 11,17 **** } ! function Timer() - //the class Timer keeps a list of processes (their duration) { this.arrProc = new Array(); --- 10,15 ---- } ! /** The class Timer keeps a list of processes (their duration). */ function Timer() { this.arrProc = new Array(); *************** *** 24,31 **** } ! function find(proc_id) - //returns the position of a process in the array - //or -1 if this process cannot be found { var idx; --- 22,30 ---- } ! /** ! * Returns the position of a process in the array ! * or -1 if this process cannot be found. ! */ function find(proc_id) { var idx; *************** *** 37,41 **** } - function Start(proc_id, comment) { --- 36,39 ---- *************** *** 50,54 **** } - function Stop(proc_id) { --- 48,51 ---- *************** *** 64,68 **** } - function toHtmlTable() { --- 61,64 ---- *************** *** 94,97 **** htmlTable += "</table>\n"; ! return htmlTable ! } --- 90,93 ---- htmlTable += "</table>\n"; ! return htmlTable; ! } |