Changeset 363 in tmcsimulator for trunk/webapps/EInotebook/scripts/Events.js


Ignore:
Timestamp:
04/11/2019 10:35:31 AM (7 years ago)
Author:
jdalbey
Message:

Implement #136 to read script file name from a config file. EInotebook v0.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/webapps/EInotebook/scripts/Events.js

    r359 r363  
    309309{ 
    310310        var event = null; 
    311          
     311        if (this.length == 0) 
     312    { 
     313        console.log("Error: event list is empty in getLastExecutedEvent"); 
     314        return; 
     315    } 
    312316        // IF there is only one event and it has been executed THEN 
    313317        if (this.length == 1 && this[0].time.getSeconds() <= time) 
Note: See TracChangeset for help on using the changeset viewer.