Merge pull request #859 from nasa/remove-examples-825

[Examples] Move examples out of main.js
This commit is contained in:
Andrew Henry 2016-05-05 13:05:41 -07:00
commit 3d62cba1b3
2 changed files with 7 additions and 7 deletions

View File

@ -30,7 +30,11 @@
</script>
<script type="text/javascript">
require(['main'], function (mct) {
mct.run();
require([
'./example/imagery/bundle',
'./example/eventGenerator/bundle',
'./example/generator/bundle'
], mct.run.bind(mct));
});
</script>
<link rel="stylesheet" href="platform/commonUI/general/res/css/startup-base.css">

View File

@ -89,11 +89,7 @@ define([
'./platform/entanglement/bundle',
'./platform/search/bundle',
'./platform/status/bundle',
'./platform/commonUI/regions/bundle',
'./example/imagery/bundle',
'./example/eventGenerator/bundle',
'./example/generator/bundle'
'./platform/commonUI/regions/bundle'
], function (Main, legacyRegistry) {
'use strict';
@ -103,4 +99,4 @@ define([
return new Main().run(legacyRegistry);
}
};
});
});