quantified-self-lib
Advanced tools
Comparing version 3.3.12 to 3.3.13
@@ -23,3 +23,3 @@ "use strict"; | ||
DataFeeling.prototype.getDisplayValue = function () { | ||
return Feelings[this.value]; | ||
return Feelings[Math.ceil(this.getValue())] ? Feelings[Math.ceil(this.getValue())] : "Other " + this.getValue(); | ||
}; | ||
@@ -26,0 +26,0 @@ DataFeeling.type = 'Feeling'; |
import { DataNumber } from './data.number'; | ||
export declare class DataRPE extends DataNumber { | ||
static type: string; | ||
getDisplayValue(): number | string | string[]; | ||
} | ||
@@ -5,0 +6,0 @@ export declare enum RPEBorgCR10SCale { |
@@ -22,2 +22,5 @@ "use strict"; | ||
} | ||
DataRPE.prototype.getDisplayValue = function () { | ||
return RPEBorgCR10SCale[Math.ceil(this.getValue())] ? RPEBorgCR10SCale[Math.ceil(this.getValue())] : "Other " + this.getValue(); | ||
}; | ||
DataRPE.type = 'Rated Perceived Exertion'; | ||
@@ -24,0 +27,0 @@ return DataRPE; |
{ | ||
"name": "quantified-self-lib", | ||
"version": "3.3.12", | ||
"version": "3.3.13", | ||
"description": "A Library to for processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
706083
11635