estesbubba
12 Apr 2012, 10:11 AM
So I have dynamic loading working and a production build. Been reading on here and Jacky says not to modify index.html. We have a JSP that loads data used by the application so we can't use index.html.
So for development, index.html contains development.js and production contains generated inline JavaScript. So is it OK to trim down the base index.html to just this?
<script id="microloader" type="text/javascript" src="sdk/microloader/development.js"></script>
That way our JSP can import it while keeping the setup data?
The other issue I need to look into is development is at /mobile and production is at /mobile/builds/production
So for development, index.html contains development.js and production contains generated inline JavaScript. So is it OK to trim down the base index.html to just this?
<script id="microloader" type="text/javascript" src="sdk/microloader/development.js"></script>
That way our JSP can import it while keeping the setup data?
The other issue I need to look into is development is at /mobile and production is at /mobile/builds/production