[API Refactor] Move out non-global require config

This commit is contained in:
Victor Woeltjen
2016-01-13 12:40:03 -08:00
parent 45142e03dc
commit 69c5b110bf
4 changed files with 21 additions and 20 deletions

View File

@ -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";