I have a single-page, large-scale application that I port to Dojo 1.7 / AMD bootloader syntax.
I have a main JSP that loads everything and then a lot of JSP pages that are used to create dynamic content.
Is it better to add a require () {} block around the entire application or around each instance of the required module?
Or some combination? Add the most often required () to the main page, and then browse and find other instances you need to wrap?
source
share