Created
August 6, 2012 23:08
-
-
Save stdavis/3279380 to your computer and use it in GitHub Desktop.
run.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| require({ | |
| baseUrl: '', | |
| packages: [ | |
| 'dojo', | |
| 'dijit', | |
| 'dojox', | |
| 'app', | |
| 'agrc', | |
| 'ijit', | |
| 'esri' | |
| ], | |
| // This is a hack. In order to allow app/main and app/run to be built together into a single file, a cache key needs | |
| // to exist here in order to force the loader to actually process the other modules in the file. Without this hack, | |
| // the loader will think that code for app/main has not been loaded yet and will try to fetch it again, resulting in | |
| // a needless extra HTTP request. | |
| cache: {} | |
| }, ['app', 'esri/main']); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment