quantified-self-lib
Advanced tools
Comparing version 1.0.0-pre-8 to 1.0.0-pre-9
@@ -109,2 +109,3 @@ "use strict"; | ||
var activities = activityStartEventSamples.map(function (activityStartEventSample, index) { | ||
debugger; | ||
var activity = new activity_1.Activity(new Date(activityStartEventSample.TimeISO8601), activityStartEventSamples.length - 1 === index ? | ||
@@ -179,5 +180,3 @@ new Date(stopEventSample.TimeISO8601) : | ||
activity.addPoint(point); | ||
// if the point has fusedLocation data mark the activity by adding a stat | ||
var activityFusedData = activity.getStat(data_fused_location_1.DataFusedLocation.className); | ||
if (_this.hasFusedLocData(sample) && !activityFusedData) { | ||
if (_this.hasFusedLocData(sample)) { | ||
activity.addStat(new data_fused_location_1.DataFusedLocation(true)); | ||
@@ -184,0 +183,0 @@ } |
{ | ||
"name": "quantified-self-lib", | ||
"version": "1.0.0-pre-8", | ||
"version": "1.0.0-pre-9", | ||
"description": "A utility lib to work with gpx, tcx, fit and Suunto files", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
253206
5268