Diff for /books/www/corrections.html between versions 1.60 and 1.63

version 1.60, 2002/12/14 14:29:22 version 1.63, 2002/12/17 13:13:58
Line 87  id="printBtn" label="Print" oncommand="d Line 87  id="printBtn" label="Print" oncommand="d
 <li>On page 120: '<b class="broken">dump(l+'\n');</b>' has been changed to '<b class="fixed">dump(len+'\n');</b>'<br><br>  <li>On page 120: '<b class="broken">dump(l+'\n');</b>' has been changed to '<b class="fixed">dump(len+'\n');</b>'<br><br>
 </li>  </li>
   
<li>On page 137: '<b class="broken">var connection = Components.classes ["@mozilla.org/network/ldap-connection;1";</b>' has been changed to <li>On page 135: Example 5-11 has been changed to
'<b class="fixed">var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"];</b>'<br><br><xmp class="fixed">
</li> 
 
<li>On page 135: Example 5-11 needs to be: 
<xmp> 
 <html>  <html>
   <head>    <head>
     <title>Sound Service Play Example</title>      <title>Sound Service Play Example</title>
Line 101  id="printBtn" label="Print" oncommand="d Line 97  id="printBtn" label="Print" oncommand="d
         netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");           netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); 
         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); 
        sample.playSystemSound('resource:/res/samples/test.wav');         const SND_NETWORK_STD_CID = "@mozilla.org/network/standard-url;1";
         const SND_I_URL           = "nsIURL";
         const SND_URL             = new  C.Constructor(SND_NETWORK_STD_CID, SND_I_URL);
         var url                   = new SND_URL();
         url.spec                  = 'http://jslib.mozdev.org/test.wav';
         sample.play(url);
       }         } 
     </script>        </script>  
   </head>      </head>  
   <body>      <body>  
     <form name="form">        <form name="form">  
       <input type="button" value="Play Sound" onclick="play();">          <input type="button" value="Play Sound" onclick="play();">  
   </form>      </form>  
   </body>      </body>  
 </html>  </html>
 </xmp>  </xmp>
 </li>  </li>
   
   <li>On page 137: '<b class="broken">var connection = Components.classes ["@mozilla.org/network/ldap-connection;1";</b>' has been changed to 
   '<b class="fixed">var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"];</b>'<br><br>
   </li>
   
 <li>On page 140: '<b class="broken">js> load(`chrome/jslib/jslib.js');</b>' has been changed to '<b class="fixed">js>  <li>On page 140: '<b class="broken">js> load(`chrome/jslib/jslib.js');</b>' has been changed to '<b class="fixed">js>
 load('chrome/jslib/jslib.js');</b>'<br><br>  load('chrome/jslib/jslib.js');</b>'<br><br>
 </li>  </li>

Removed from v.1.60  
changed lines
  Added in v.1.63


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