diff --git a/tutorial.html b/tutorial.html index 7c99076..117da20 100644 --- a/tutorial.html +++ b/tutorial.html @@ -49,7 +49,7 @@
  1. Access your local cosmopolite debug page (replace port if necessary): http://localhost:8080/cosmopolite/static/debug.html
  2. -
  3. Subscribe to a subject "testsubject"
  4. +
  5. Subscribe to a subject testsubject
  6. Send a message to that subject; it should appear in the message list below
@@ -75,7 +75,7 @@
  • Have it create a cosmopolite instance and send a message to it:
    var cosmo = new Cosmopolite();
     cosmo.sendMessage('testsubject', 'test message');
  • -
  • Keep the debug page (from above) up and subscribed (to "testsubject") in one browser tab
  • +
  • Keep the debug page (from above) up and subscribed (to testsubject) in one browser tab
  • Load your test page in an incognito window (right click/control-click, Open Link in Incognito Window)
  • The debug page should show the message from the test page
  • You've written code that uses cosmopolite!
  • @@ -103,7 +103,7 @@ cosmo.sendMessage('testsubject', 'test message'); var cosmo = new Cosmopolite(callbacks); cosmo.subscribe('testsubject');
  • Load (or re-load) the test page (still in an incognito window)
  • -
  • Use the debug interface to send a message to testsubject
  • +
  • Use the debug interface to send a message to testsubject
  • Your test page should generate an alert popup