Diff for /books/www/corrections.html between versions 1.43 and 1.49

version 1.43, 2002/12/10 16:45:08 version 1.49, 2002/12/10 20:44:06
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: '<div id="correct">http://www.oreilly.com/mozilla/</div>' has been changed
to 'http://www.oreilly.com/catalog/mozilla/'<br><br>to '<div id="correct">http://www.oreilly.com/catalog/mozilla/</div>'<br><br>
   
 </ul>  </ul>
   
Line 85  id="printBtn" label="Print" oncommand="d Line 85  id="printBtn" label="Print" oncommand="d
 <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 99  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 108  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 157  EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS Line 156  EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS
   
 install:: $(TARGETS)  install:: $(TARGETS)
 </xmp>  </xmp>
 </li>  
   
 </ul>  </ul>
   
Line 176  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.43  
changed lines
  Added in v.1.49


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