Diff for /books/www/corrections.html between versions 1.33 and 1.46

version 1.33, 2002/12/05 12:14:40 version 1.46, 2002/12/10 17:12:51
Line 12  href="mailto:reviewers@mozdev.org">revie Line 12  href="mailto:reviewers@mozdev.org">revie
   
 <ul>  <ul>
   
<li>In Preface (p xiv) 'http://www.oreilly.com/mozilla/' has been changed<li>On page xiv: 'http://www.oreilly.com/mozilla/' has been changed
 to 'http://www.oreilly.com/catalog/mozilla/'<br><br>  to 'http://www.oreilly.com/catalog/mozilla/'<br><br>
   
 </ul>  </ul>
Line 23  to 'http://www.oreilly.com/catalog/mozil Line 23  to 'http://www.oreilly.com/catalog/mozil
   
 <ul>  <ul>
   
<li>In Chapter 1 (p 7) 'applications web built using XPFE' has been<li>On page 7: 'applications web built using XPFE' has been
 changed to 'applications built using XPFE'<br><br>  changed to 'applications built using XPFE'<br><br>
   
 </ul>  </ul>
Line 34  changed to 'applications built using XPF Line 34  changed to 'applications built using XPF
   
 <ul>  <ul>
   
<li>In Chapter 2 (p 12) '&lt;window<li>On page 12: '&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;' has been changed to '&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;'<br><br>
   
<li>In Chapter 2 (p 14) Removed an extra '>' from example code<br><br><li>On page 14: Removed an extra '>' from example code<br><br>
   
<li>In Chapter 2 (p 17) 'selecting File > Open File > from' has been<li>On page 17: 'selecting File > Open File > from' has been
 changed to 'selecting File > Open File from'<br><br>  changed to 'selecting File > Open File from'<br><br>
   
<li>In Chapter 2 (p 20) 'CenterWindoOnScreen( ) function' has been changed<li>On page 20: 'CenterWindoOnScreen( ) function' has been changed
 to 'CenterWindowOnScreen( ) function'<br><br>  to 'CenterWindowOnScreen( ) function'<br><br>
   
 </ul>  </ul>
Line 55  to 'CenterWindowOnScreen( ) function'<br Line 55  to 'CenterWindowOnScreen( ) function'<br
   
 <ul>  <ul>
   
<li>In Chapter 3 (p 40) '&lt;toolbarbutton id="printBtn" label="Open"<li>On page 40: '&lt;toolbarbutton id="printBtn" label="Open"
 oncommand="doPrint( );" /&gt' has been changed to '&lt;toolbarbutton  oncommand="doPrint( );" /&gt' has been changed to '&lt;toolbarbutton
 id="printBtn" label="Print" oncommand="doPrint( );" &gt'<br><br>  id="printBtn" label="Print" oncommand="doPrint( );" &gt'<br><br>
   
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 222) Example 8-4
  <code>mName: "a default value"</code> should be <code>mName: "a default value",</code><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>
 
 <li>On page 222: In Example 8-4<br>
 
             <xmp>                          <xmp>            
               this.myCID,                this.myCID,
               "My JS Component",                "My JS Component",
Line 108  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<br>
 
             <xmp>                          <xmp>            
               compMgr.registerComponentWithType(                compMgr.registerComponentWithType(
               this.myCID,                this.myCID,
Line 117  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 239) Example 8-15 has been changed to <br/><li>On page 222: In Example 8-4 one of the duplicate 'dump(" ***** Registering: Simple JS component! ****\n");' lines have been 
 removed<br><br>
 
 <li>On page 223: In Example 8-4 one of the duplicate 'if (outer != null)' lines have been removed<br><br>
 
 <li>On page 239: Example 8-15 has been changed to <br/>
   
 <xmp>  <xmp>
 DEPTH         = ../../..  DEPTH         = ../../..
Line 158  EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS Line 156  EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS
   
 install:: $(TARGETS)  install:: $(TARGETS)
 </xmp>  </xmp>
 </li>  
   
 </ul>  </ul>
   
Line 167  install:: $(TARGETS) Line 164  install:: $(TARGETS)
 <p><b>Chapter 10</b>  <p><b>Chapter 10</b>
   
 <ul>  <ul>
<li>In Chapter 10 (p 297) 'http://www.jslib.mozdev.org' has been changed<li>On page 297: 'http://www.jslib.mozdev.org' has been changed
 to 'http://jslib.mozdev.org'<br><br></li>  to 'http://jslib.mozdev.org'<br><br></li>
 </ul>  </ul>
   
Line 177  to 'http://jslib.mozdev.org'<br><br></li Line 174  to 'http://jslib.mozdev.org'<br><br></li
   
 <ul>  <ul>
   
<li>In Chapter 12 (p 339) A new 'Certificate Authorities and Digital<li>On page 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>
   
   
Line 189  href="http://certs.mozdev.org">http://ce Line 198  href="http://certs.mozdev.org">http://ce
   
 <ul>  <ul>
   
<li>In Appendix A (p 365) 'http://www.mozilla.org/source.tml' has been<li>On page 365: 'http://www.mozilla.org/source.tml' has been
 changed to 'http://www.mozilla.org/source.html'<br><br>  changed to 'http://www.mozilla.org/source.html'<br><br>
   
 </ul>  </ul>

Removed from v.1.33  
changed lines
  Added in v.1.46


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