mirror of
https://github.com/nasa/openmct.git
synced 2025-03-22 03:55:31 +00:00
[Info Bubble] Change moment import
Change the path used to import moment for the telemetryFormatter. Previously, a relative path was used; since telemetryFormatter was initially implemented, however, moment has been made available as simply moment by require configuration changes elsewhere. Inconsistent usage of moment here can result in load timeouts under certain script load orderings. Changed in the context of WTD-884 (which does use moment elsewhere.)
This commit is contained in:
parent
11dc5f380c
commit
c9e33b1d31
@ -22,8 +22,8 @@
|
||||
/*global define,moment*/
|
||||
|
||||
define(
|
||||
['../lib/moment.min.js'],
|
||||
function () {
|
||||
['moment'],
|
||||
function (moment) {
|
||||
"use strict";
|
||||
|
||||
// Date format to use for domain values; in particular,
|
||||
|
Loading…
x
Reference in New Issue
Block a user