Unlike before, we don't need to move our application code into a separate file. Unless you kept a copy of the application from before the previous example, however, we'll need to fix up our HTML file a little bit for this example. This example assumes you are starting with the previous example:
flickr_combined.jsand call it
flickr_separate.js. As always, you may use a different name but make sure it is consistent! You might also want to make a copy of your HTML file and use it for the rest of this example.
flickr_separate.jsand remove all the
goog.requirestatements from the beginning of the file.
<script>tag to load
<script>tag that loads ...