mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 06:38:17 +00:00
[Framework] Complete RequireJS configurator tests
Complete tests for the RequireJS configurator, used to expose libraries beyond bundle boundaries (and, related, to provide shims for non-AMD libraries.) WTD-568.
This commit is contained in:
@ -26,7 +26,7 @@ define(
|
||||
// Adjust paths to point to libraries
|
||||
if (configuration.paths) {
|
||||
// Don't modify the actual bundle definition...
|
||||
configuration = configuration.clone(configuration);
|
||||
configuration = clone(configuration);
|
||||
// ...replace values in a clone instead.
|
||||
Object.keys(configuration.paths).forEach(function (path) {
|
||||
configuration.paths[path] =
|
||||
@ -47,6 +47,7 @@ define(
|
||||
base[k][p] = next[k][p];
|
||||
});
|
||||
});
|
||||
return base;
|
||||
}
|
||||
|
||||
// Build a configuration object, to pass to requirejs.config,
|
||||
|
Reference in New Issue
Block a user