Small FileWriter fix

This commit is contained in:
macdonst
2010-10-28 04:09:13 +08:00
parent 577284b960
commit b7024ad1f5
3 changed files with 837 additions and 219 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
*/
function Position(coords, timestamp) {
this.coords = coords;
this.timestamp = new Date().getTime();
this.timestamp = (timestamp != 'undefined') ? timestamp : new Date().getTime();
}
function Coordinates(lat, lng, alt, acc, head, vel, altacc) {