Changeset 14770 for trunk


Ignore:
Timestamp:
01/14/13 06:30:45 (12 years ago)
Author:
neise
Message:
renamed utc member to 'start', since it's used by this name in Main.js. Also adapted Observation.toString() to the new task/source structure.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/Observation_class.js

    r14768 r14770  
    1818                        ' Try something like "2013-01-08 23:05 UTC" .');
    1919        }
    20         this.utc = utc
     20        this.start = utc
    2121    }
    2222    else
     
    8686Observation.prototype.toString = function()
    8787{
    88     return this.source+" ["+this.utc+"]" ;
     88    if (this.source)
     89        return this.task + "  " + this.source+" ["+this.start+"]" ;
     90    else
     91        return this.task + " ["+this.start+"]" ;
     92
    8993}
Note: See TracChangeset for help on using the changeset viewer.