Diff for /books/www/corrections.html between versions 1.45 and 1.53

version 1.45, 2002/12/10 17:10:42 version 1.53, 2002/12/11 16:30:10
Line 1 Line 1
   <style>
     .broken { color: red; }
     .fixed { color: green; }
   </style>
   
 <p><b>Corrections</b>  <p><b>Corrections</b>
   
 <p>This page contains a list of corrections to be made in the next printing of  <p>This page contains a list of corrections to be made in the next printing of
Line 12  href="mailto:reviewers@mozdev.org">revie Line 17  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 23  to 'http://www.oreilly.com/catalog/mozil Line 28  to 'http://www.oreilly.com/catalog/mozil
   
 <ul>  <ul>
   
<li>On page 7: 'applications web built using XPFE' has been<li>On page 7: '<b class="broken">applications web built using XPFE</b>' has been
changed to 'applications built using XPFE'<br><br>changed to '<b class="fixed">applications built using XPFE</b>'<br><br>
   
 </ul>  </ul>
   
Line 34  changed to 'applications built using XPF Line 39  changed to 'applications built using XPF
   
 <ul>  <ul>
   
<li>On page 12: '&lt;window<li>On page 12: '<b class="broken">&lt;window
 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
/&gt;' has been changed to '&lt;window/&gt;</b>' has been changed to '<b class="fixed">&lt;window
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;'<br><br>xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;</b>'<br><br>
   
<li>On page 14: Removed an extra '>' from example code<br><br><li>On page 14: Removed an extra '<b class="broken">></b>' from example code<br><br>
   
<li>On page 17: 'selecting File > Open File > from' has been<li>On page 17: '<b class="broken">selecting File > Open File > from</b>' has been
changed to 'selecting File > Open File from'<br><br>changed to '<b class="fixed">selecting File > Open File from</b>'<br><br>
   
<li>On page 20: 'CenterWindoOnScreen( ) function' has been changed<li>On page 20: '<b class="broken">CenterWindoOnScreen( ) function</b>' has been changed
to 'CenterWindowOnScreen( ) function'<br><br>to '<b class="fixed">CenterWindowOnScreen( ) function</b>'<br><br>
   
 </ul>  </ul>
   
Line 90  id="printBtn" label="Print" oncommand="d Line 95  id="printBtn" label="Print" oncommand="d
   
 <li>On page 222: In Example 8-4 'mName: "a default value"' has been changed to 'mName: "a default value",'<br><br>  <li>On page 222: In Example 8-4 'mName: "a default value"' has been changed to 'mName: "a default value",'<br><br>
   
<li>On page 222: In Example 8-4<br><li>On page 222: In Example 8-4
   
             <xmp>                          <xmp>            
               this.myCID,                this.myCID,
Line 100  id="printBtn" label="Print" oncommand="d Line 105  id="printBtn" label="Print" oncommand="d
               type);                type);
             </xmp>                          </xmp>            
   
has been changed to<br>has been changed to
   
             <xmp>                          <xmp>            
               compMgr.registerComponentWithType(                compMgr.registerComponentWithType(
Line 110  has been changed to<br> Line 115  has been changed to<br>
               location, true, true,                location, true, true,
               type);                type);
             </xmp>                          </xmp>            
 <br><br>  
   
 <li>On page 222: In Example 8-4 one of the duplicate 'dump(" ***** Registering: Simple JS component! ****\n");' lines have been   <li>On page 222: In Example 8-4 one of the duplicate 'dump(" ***** Registering: Simple JS component! ****\n");' lines have been 
 removed<br><br>  removed<br><br>
Line 175  to 'http://jslib.mozdev.org'<br><br></li Line 179  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.45  
changed lines
  Added in v.1.53


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