Skip to content

Commit

Permalink
restore async: true to dojoConfig in index.html
Browse files Browse the repository at this point in the history
By default, ESRI uses `async: false`
applications load much faster if set to true.

This is also the place to add custom locale(s), if desired.
  • Loading branch information
tmcgee committed Jul 13, 2016
1 parent c4e3958 commit c2462ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
</div>
</div>
</div>
<script type="text/javascript">
window.dojoConfig = {
async: true
};
</script>
<!--[if lt IE 9]>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.3/es5-shim.min.js"></script>
<![endif]-->
Expand Down

0 comments on commit c2462ce

Please sign in to comment.