Warning: Can't use blame annotator:
svn blame failed on branches/EInotebook/cad/cad.js: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/branches/EInotebook/cad/cad.js @ 350

Revision 350, 540 bytes checked in by jdalbey, 7 years ago (diff)

Add a branch EInotebook for Electronic Instructor Notebook prototype

  • Property svn:executable set to *
RevLine 
1/**
2 * Setup the CAD screen.
3 */
4function setupCad()
5{
6  //updateCad();
7}
8
9var events;
10function loadScript(theEvents, theIncidents)
11{
12        events = theEvents;
13    updateCad();
14}
15
16/**
17 * Updates the CAD screen.
18 */
19function updateCad()
20{
21    // Set timer to do this again in one second
22        setTimeout("updateCad()", 1000);
23
24        var currentEvent = events.getLastExecutedEvent(readCookie("time"));
25    // Show current event to Current Event Window
26    var currDiv = document.getElementById("cadpadcontent");
27        currDiv.innerHTML = currentEvent.html();
28
29}
Note: See TracBrowser for help on using the repository browser.