mirror of
https://github.com/nasa/openmct.git
synced 2025-04-09 04:14:32 +00:00
[Telemetry] Add skeleton formatter
Add skeleton for implementation of a formatter for telemetry data, including reorganizing libraries such that moment.min.js only occurs once. WTD-599.
This commit is contained in:
parent
217b622db7
commit
453b853a75
26
platform/telemetry/src/TelemetryFormatter.js
Normal file
26
platform/telemetry/src/TelemetryFormatter.js
Normal file
@ -0,0 +1,26 @@
|
||||
/*global define,moment*/
|
||||
|
||||
define(
|
||||
['../lib/moment.min.js'],
|
||||
function () {
|
||||
"use strict";
|
||||
|
||||
function TelemetryFormatter() {
|
||||
|
||||
function formatDomainValue(key, value) {
|
||||
|
||||
}
|
||||
|
||||
function formatRangeValue(key, value) {
|
||||
|
||||
}
|
||||
|
||||
return {
|
||||
formatDomainValue: formatDomainValue,
|
||||
formatRangeValue: formatRangeValue
|
||||
};
|
||||
}
|
||||
|
||||
return TelemetryFormatter;
|
||||
}
|
||||
);
|
Loading…
x
Reference in New Issue
Block a user