What just happened?

  1. In the apps folder, we loaded main.js, the default initiator for an app. This told us what files the apps needs...
  2. Two text files were loaded:
    • One for this block of text.
    • One for the markup of the pong game.
  3. The stylesheet for the pong game was loaded.
  4. The app checked that jQuery was loaded and ready.
  5. The app checked that TinyGrowl (for popup messages) was loaded, and loaded it if not.
  6. Main.js ran and loaded the markup for the game into the box while it wired up JavaScript to run the pong game logic.

To see this code for yourself, look in assets/apps/pong.