Say I have this cool module that loads and manipulates a data grid.
require(['dojo/_base/lang', 'dojox/grid/DataGrid', 'dojo/dom', 'dojo/domReady!'],
function(lang, DataGrid, dom){
var data = {
.....
});
I would like all its dependencies to reside on one self-contained file.
<script> ** /dom/dom.js defined here** </script>
<script> ** dojox/grid/DataGrid.js defined here** </script>
<script> ** data grid module here *** </script>
i.e. I don't want any reference to external or local file system. This is not for a website. I just want to make use of dojo widgets in a single user desktop app.