Diff for /books/www/corrections.html between versions 1.39 and 1.51

version 1.39, 2002/12/10 16:22:55 version 1.51, 2002/12/10 23:11:39
Line 12  href="mailto:reviewers@mozdev.org">revie Line 12  href="mailto:reviewers@mozdev.org">revie
   
 <ul>  <ul>
   
<li>On page xiv: 'http://www.oreilly.com/mozilla/' has been changed<li>On page xiv: '<b class="broken">http://www.oreilly.com/mozilla/</b>' has been changed
to 'http://www.oreilly.com/catalog/mozilla/'<br><br>to '<b class="fixed">http://www.oreilly.com/catalog/mozilla/</b>'<br><br>
   
 </ul>  </ul>
   
Line 65  id="printBtn" label="Print" oncommand="d Line 65  id="printBtn" label="Print" oncommand="d
 <p><b>Chapter 5</b>  <p><b>Chapter 5</b>
   
 <ul>  <ul>
  <li>(p 113
    <xmp><li>On page 113: Javascript 1.5 reference link in footnote has been changed from 
      Changed footnote link to'http://developer.netscape.com/docs/manuals/js/core/jsref15/contents.html' to
        http://developer.netscape.com/docs/manuals/index.html?content=javascript.html'http://developer.netscape.com/docs/manuals/index.html?content=javascript.html'<br><br>
    </xmp>
  </li><li>On page 120: '&lt;/script.' has been changed to &lt;/script&gt;'<br><br>
  <li>(p 120
    <xmp><li>On page 120: 'dump(l+'\n');' has been changed to 'dump(len+'\n');'<br><br>
      dump(l+'\n');
    has been changed to<li>On page 137: 'var connection = Components.classes ["@mozilla.org/network/ldap-connection;1";' has been changed to 
      dump(len+'\n');'var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"];'<br><br>
    </xmp>
  </li><li>On page 140: 'js> load(`chrome/jslib/jslib.js');' has been changed to 'js> load('chrome/jslib/jslib.js');'<br><br>
  <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>  </ul>
   
 <a name="ch08">  <a name="ch08">
 <p><b>Chapter 8</b>  <p><b>Chapter 8</b>
   
 <ul>  <ul>
<li>(p 211) Root Interfaces<br/>
  Changed 2nd sentence QueryInterace to QueryInterface.<li>On page 211: In 2nd sentence of paragraph 'QueryInterace' has been changed to 'QueryInterface'<br><br>
</li>
<li>(p 222) Example 8-4<li>On page 222: In Example 8-4 'mName: "a default value"' has been changed to 'mName: "a default value",'<br><br>
  <code>mName: "a default value"</code> should be <code>mName: "a default value",</code>
</li><li>On page 222: In Example 8-4
<li>(p 222) Example 8-4
             <xmp>                          <xmp>            
               this.myCID,                this.myCID,
               "My JS Component",                "My JS Component",
Line 111  id="printBtn" label="Print" oncommand="d Line 99  id="printBtn" label="Print" oncommand="d
               location, true, true,                location, true, true,
               type);                type);
             </xmp>                          </xmp>            
            Should be
 has been changed to
 
             <xmp>                          <xmp>            
               compMgr.registerComponentWithType(                compMgr.registerComponentWithType(
               this.myCID,                this.myCID,
Line 120  id="printBtn" label="Print" oncommand="d Line 110  id="printBtn" label="Print" oncommand="d
               location, true, true,                location, true, true,
               type);                type);
             </xmp>                          </xmp>            
</li>
<li>(p 222, p 223) Example 8-4<li>On page 222: In Example 8-4 one of the duplicate 'dump(" ***** Registering: Simple JS component! ****\n");' lines have been 
            <xmp>            removed<br><br>
              Removed double lines
              dump(" ***** Registering: Simple JS component! ****\n");<li>On page 223: In Example 8-4 one of the duplicate 'if (outer != null)' lines have been removed<br><br>
              and
              if (outer != null)<li>On page 239: Example 8-15 has been changed to <br/>
            </xmp>             
</li> 
<li>(p 239) Example 8-15 has been changed to <br/> 
   
 <xmp>  <xmp>
 DEPTH         = ../../..  DEPTH         = ../../..
Line 169  EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS Line 156  EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS
   
 install:: $(TARGETS)  install:: $(TARGETS)
 </xmp>  </xmp>
 </li>  
   
 </ul>  </ul>
   
Line 188  to 'http://jslib.mozdev.org'<br><br></li Line 174  to 'http://jslib.mozdev.org'<br><br></li
   
 <ul>  <ul>
   
<li>On page 339: A new 'Certificate Authorities and Digital<li>On page 336: In Example 12-6
Signatures' section is being written with drafts available on <a 
href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br> 
</li> 
   
 <li>(p 336) Use of backtics instead of single quote.  
 <xmp>  <xmp>
  print `  <checkbox label="%s" />' % form['op1'].value   print `  <checkbox label="%s" />' % form['op1'].value
  print `  <checkbox label="%s" />' % form['op2'].value   print `  <checkbox label="%s" />' % form['op2'].value
    print `  <checkbox label="%s" />' % form['op3'].value     print `  <checkbox label="%s" />' % form['op3'].value
Should be:</xmp>
 print '  <checkbox label="%s" />' % form['op1'].value
 print '  <checkbox label="%s" />' % form['op2'].valuehas been changed to (note the difference in indentation and in using a single quote versus a backtick)
 
 <xmp>
    print '  <checkbox label="%s" />' % form['op1'].value
    print '  <checkbox label="%s" />' % form['op2'].value
    print '  <checkbox label="%s" />' % form['op3'].value     print '  <checkbox label="%s" />' % form['op3'].value
 </xmp>  </xmp>
   
   <li>On page 339: A new 'Certificate Authorities and Digital
   Signatures' section is being written with drafts available on <a
   href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
 </li>  </li>
   
 </ul>  </ul>
   
   

Removed from v.1.39  
changed lines
  Added in v.1.51


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