Diff for /books/www/corrections.html between versions 1.25 and 1.38

version 1.25, 2002/12/04 12:59:58 version 1.38, 2002/12/05 13:59:34
Line 61  id="printBtn" label="Print" oncommand="d Line 61  id="printBtn" label="Print" oncommand="d
   
 </ul>  </ul>
   
   <a name="ch5">
   <p><b>Chapter 5</b>
   
   <ul>
     <li>(p 113) 
       <xmp>
         Changed footnote link to
           http://developer.netscape.com/docs/manuals/index.html?content=javascript.html
       </xmp>
     </li>
     <li>(p 120) 
       <xmp>
         dump(l+'\n');
       has been changed to
         dump(len+'\n');
       </xmp>
     </li>
     <li>(p 137) 
       <xmp>
         var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"; // create an object from the nsILDAPConnection interface;
       has been changed to
         var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"]; // create an object from the nsILDAPConnection interface;
       </xmp>
     </li>
     <li>(p 140) 
       <xmp>
          Changed load(`chrome/jslib/jslib.js');
          To load('chrome/jslib/jslib.js');
       </xmp>
     </li>
   </ul>
   
 <a name="ch08">  <a name="ch08">
 <p><b>Chapter 8</b>  <p><b>Chapter 8</b>
   
 <ul>  <ul>
<li>In Chapter 8 (p 239) Example 8-15 has been changed to <br/><li>(p 211) Root Interfaces<br/>
   Changed 2nd sentence QueryInterace to QueryInterface.
 </li>
 <li>(p 222) Example 8-4
   <code>mName: "a default value"</code> should be <code>mName: "a default value",</code>
 </li>
 <li>(p 222) Example 8-4
             <xmp>            
               this.myCID,
               "My JS Component",
               this.myProgID, fileSpec,
               location, true, true,
               type);
             </xmp>            
             Should be
             <xmp>            
               compMgr.registerComponentWithType(
               this.myCID,
               "My JS Component",
               this.myProgID, fileSpec,
               location, true, true,
               type);
             </xmp>            
 </li>
 <li>(p 222, p 223) Example 8-4
             <xmp>            
               Removed double lines
               dump(" ***** Registering: Simple JS component! ****\n");
               and
               if (outer != null)
             </xmp>            
 </li>
 <li>(p 239) Example 8-15 has been changed to <br/>
   
 <xmp>  <xmp>
 DEPTH         = ../../..  DEPTH         = ../../..
Line 127  to 'http://jslib.mozdev.org'<br><br></li Line 191  to 'http://jslib.mozdev.org'<br><br></li
 <li>In Chapter 12 (p 339) A new 'Certificate Authorities and Digital  <li>In Chapter 12 (p 339) A new 'Certificate Authorities and Digital
 Signatures' section is being written with drafts available on <a  Signatures' section is being written with drafts available on <a
 href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>  href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
   </li>
   
   <li>(p 336) Use of backtics instead of single quote.
   <xmp>
    print `  <checkbox label="%s" />' % form['op1'].value
    print `  <checkbox label="%s" />' % form['op2'].value
      print `  <checkbox label="%s" />' % form['op3'].value
   Should be:
    print '  <checkbox label="%s" />' % form['op1'].value
    print '  <checkbox label="%s" />' % form['op2'].value
      print '  <checkbox label="%s" />' % form['op3'].value
   </xmp>
   </li>
 </ul>  </ul>
   
   

Removed from v.1.25  
changed lines
  Added in v.1.38


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