Changeset 15028
- Timestamp:
- 03/11/13 21:36:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/Observation_class.js
r15004 r15028 8 8 function Observation(obj) 9 9 { 10 if (typ of(obj)!='object')10 if (typeof(obj)!='object') 11 11 throw new Error("Observation object can only be constructed using an object."); 12 12 … … 21 21 22 22 this.start = utc; 23 this.task = obj.task ? o Arg.task.toUpperCase() : "DATA";23 this.task = obj.task ? obj.task.toUpperCase() : "DATA"; 24 24 this.source = obj.source; 25 25 this.ra = obj.ra;
Note:
See TracChangeset
for help on using the changeset viewer.