mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 14:18:16 +00:00
[API Refactor] Move out non-global require config
This commit is contained in:
@ -19,10 +19,18 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define*/
|
||||
/*global define,requirejs*/
|
||||
|
||||
requirejs.config({
|
||||
shim: {
|
||||
'platform/features/clock/lib/moment-duration-format': {
|
||||
deps: [ 'moment' ]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
define(
|
||||
['moment', 'moment-duration-format'],
|
||||
['moment', '../../lib/moment-duration-format'],
|
||||
function (moment) {
|
||||
"use strict";
|
||||
|
||||
|
Reference in New Issue
Block a user