Diff for /books/www/corrections.html between versions 1.105 and 1.106

version 1.105, 2003/03/23 18:59:00 version 1.106, 2003/03/23 19:04:58
Line 226  for (var i=0; i<unchex.length; i++) Line 226  for (var i=0; i<unchex.length; i++)
         var sample = Components.classes["@mozilla.org/sound;1"].createInstance();           var sample = Components.classes["@mozilla.org/sound;1"].createInstance(); 
         sample = sample.QueryInterface(Components.interfaces.nsISound);           sample = sample.QueryInterface(Components.interfaces.nsISound); 
         const SND_NETWORK_STD_CID = "@mozilla.org/network/standard-url;1";          const SND_NETWORK_STD_CID = "@mozilla.org/network/standard-url;1";
        const SND_I_URL           = "nsIURL";        const SND_I_URL = "nsIURL";
        const SND_URL             = new  C.Constructor(SND_NETWORK_STD_CID, SND_I_URL);        const SND_URL = new  C.Constructor(SND_NETWORK_STD_CID, SND_I_URL);
        var url                   = new SND_URL();        var url = new SND_URL();
        url.spec                  = 'http://jslib.mozdev.org/test.wav';        url.spec = 'http://jslib.mozdev.org/test.wav';
         sample.play(url);          sample.play(url);
       }         } 
     </script>        </script>  

Removed from v.1.105  
changed lines
  Added in v.1.106


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>