mirror of
https://github.com/nasa/openmct.git
synced 2025-03-11 15:04:10 +00:00
Merge pull request #859 from nasa/remove-examples-825
[Examples] Move examples out of main.js
This commit is contained in:
commit
3d62cba1b3
@ -30,7 +30,11 @@
|
|||||||
</script>
|
</script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
require(['main'], function (mct) {
|
require(['main'], function (mct) {
|
||||||
mct.run();
|
require([
|
||||||
|
'./example/imagery/bundle',
|
||||||
|
'./example/eventGenerator/bundle',
|
||||||
|
'./example/generator/bundle'
|
||||||
|
], mct.run.bind(mct));
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<link rel="stylesheet" href="platform/commonUI/general/res/css/startup-base.css">
|
<link rel="stylesheet" href="platform/commonUI/general/res/css/startup-base.css">
|
||||||
|
6
main.js
6
main.js
@ -89,11 +89,7 @@ define([
|
|||||||
'./platform/entanglement/bundle',
|
'./platform/entanglement/bundle',
|
||||||
'./platform/search/bundle',
|
'./platform/search/bundle',
|
||||||
'./platform/status/bundle',
|
'./platform/status/bundle',
|
||||||
'./platform/commonUI/regions/bundle',
|
'./platform/commonUI/regions/bundle'
|
||||||
|
|
||||||
'./example/imagery/bundle',
|
|
||||||
'./example/eventGenerator/bundle',
|
|
||||||
'./example/generator/bundle'
|
|
||||||
], function (Main, legacyRegistry) {
|
], function (Main, legacyRegistry) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user