Annotation of books/www/corrections.html, revision 1.35

1.1       david       1: <p><b>Corrections</b>
                      2: 
1.21      david       3: <p>This page contains a list of corrections to be made in the next printing of
1.19      david       4: the book.  If you have suggestions for changes or find errors in the text,
1.22      david       5: feel free open a <a href="bugs.html">bug</a> with a report of the problem, post a message in the User Notes 
                      6: section on the chapter pages, or send a message to the <a
1.19      david       7: href="mailto:reviewers@mozdev.org">reviewers@mozdev.org</a> mailing list.
1.1       david       8: 
1.20      david       9: 
                     10: <a name="preface">
                     11: <p><b>Preface</b>
                     12: 
1.1       david      13: <ul>
1.18      david      14: 
                     15: <li>In Preface (p xiv) 'http://www.oreilly.com/mozilla/' has been changed
                     16: to 'http://www.oreilly.com/catalog/mozilla/'<br><br>
                     17: 
1.20      david      18: </ul>
                     19: 
                     20: 
                     21: <a name="ch1">
                     22: <p><b>Chapter 1</b>
                     23: 
                     24: <ul>
                     25: 
1.18      david      26: <li>In Chapter 1 (p 7) 'applications web built using XPFE' has been
                     27: changed to 'applications built using XPFE'<br><br>
                     28: 
1.20      david      29: </ul>
                     30: 
                     31: 
                     32: <a name="ch2">
                     33: <p><b>Chapter 2</b>
                     34: 
                     35: <ul>
                     36: 
1.18      david      37: <li>In Chapter 2 (p 12) '&lt;window
                     38: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
                     39: /&gt;' has been changed to '&lt;window
                     40: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;'<br><br>
                     41: 
                     42: <li>In Chapter 2 (p 14) Removed an extra '>' from example code<br><br>
                     43: 
                     44: <li>In Chapter 2 (p 17) 'selecting File > Open File > from' has been
                     45: changed to 'selecting File > Open File from'<br><br>
                     46: 
                     47: <li>In Chapter 2 (p 20) 'CenterWindoOnScreen( ) function' has been changed
                     48: to 'CenterWindowOnScreen( ) function'<br><br>
1.19      david      49: 
1.20      david      50: </ul>
                     51: 
                     52: 
                     53: <a name="ch3">
                     54: <p><b>Chapter 3</b>
                     55: 
                     56: <ul>
                     57: 
1.19      david      58: <li>In Chapter 3 (p 40) '&lt;toolbarbutton id="printBtn" label="Open"
                     59: oncommand="doPrint( );" /&gt' has been changed to '&lt;toolbarbutton
                     60: id="printBtn" label="Print" oncommand="doPrint( );" &gt'<br><br>
1.18      david      61: 
1.20      david      62: </ul>
                     63: 
1.26      petejc     64: <a name="ch5">
                     65: <p><b>Chapter 5</b>
                     66: 
                     67: <ul>
1.29      petejc     68:   <li>(p 113) 
                     69:     <xmp>
                     70:       Changed footnote link to
                     71:         http://developer.netscape.com/docs/manuals/index.html?content=javascript.html
                     72:     </xmp>
                     73:   </li>
1.30      petejc     74:   <li>(p 120) 
1.26      petejc     75:     <xmp>
                     76:       dump(l+'\n');
1.27      petejc     77:     has been changed to
                     78:       dump(len+'\n');
1.26      petejc     79:     </xmp>
1.27      petejc     80:   </li>
                     81:   <li>(p 137) 
                     82:     <xmp>
                     83:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"; // create an object from the nsILDAPConnection interface;
1.26      petejc     84:     has been changed to
1.27      petejc     85:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"]; // create an object from the nsILDAPConnection interface;
1.26      petejc     86:     </xmp>
                     87:   </li>
1.31      petejc     88:   <li>(p 140) 
                     89:     <xmp>
                     90:        Changed load(`chrome/jslib/jslib.js');
                     91:        To load('chrome/jslib/jslib.js');
                     92:     </xmp>
                     93:   </li>
1.26      petejc     94: </ul>
                     95: 
1.24      petejc     96: <a name="ch08">
                     97: <p><b>Chapter 8</b>
                     98: 
                     99: <ul>
1.33      petejc    100: <li>(p 222) Example 8-4
                    101:   <code>mName: "a default value"</code> should be <code>mName: "a default value",</code>
                    102: </li>
                    103: <li>(p 222) Example 8-4
                    104:             <xmp>            
                    105:               this.myCID,
                    106:               "My JS Component",
                    107:               this.myProgID, fileSpec,
                    108:               location, true, true,
                    109:               type);
                    110:             </xmp>            
                    111:             Should be
                    112:             <xmp>            
                    113:               compMgr.registerComponentWithType(
                    114:               this.myCID,
                    115:               "My JS Component",
                    116:               this.myProgID, fileSpec,
                    117:               location, true, true,
                    118:               type);
                    119:             </xmp>            
1.32      petejc    120: </li>
1.35    ! petejc    121: <li>(p 222, p 223) Example 8-4
1.34      petejc    122:             <xmp>            
                    123:               Removed double lines
                    124:               dump(" ***** Registering: Simple JS component! ****\n");
                    125:               and
                    126:               if (outer != null)
                    127:             </xmp>            
                    128: </li>
1.32      petejc    129: <li>(p 239) Example 8-15 has been changed to <br/>
1.25      petejc    130: 
                    131: <xmp>
1.24      petejc    132: DEPTH         = ../../..
                    133: topsrcdir     = ../../..
                    134: srcdir        = .
                    135: VPATH         = .
                    136: 
                    137: include $(DEPTH)/config/autoconf.mk
                    138: 
                    139: MODULE        = xpcom
                    140: XPIDL_MODULE  = simple
                    141: LIBRARY_NAME  = simple
                    142: IS_COMPONENT  = 1
                    143: MODULE_NAME   = nsSimpleModule
                    144: REQUIRES      = string \
                    145:                 xpcom \
                    146:                 $(NULL)
                    147: 
                    148: 
                    149: CPPSRCS   =              \
                    150:     nsSimple.cpp         \
                    151:     nsSimpleModule.cpp   \
                    152:     $(NULL)
                    153: 
                    154: XPIDLSRCS = nsISimple.idl
                    155: 
                    156: include $(topsrcdir)/config/config.mk
                    157: 
                    158: LIBS    +=        \
                    159:     $(XPCOM_LIBS) \
                    160:     $(NSPR_LIBS)  \
                    161:     $(NULL)
                    162: 
                    163: include $(topsrcdir)/config/rules.mk
                    164: 
                    165: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
                    166: 
                    167: install:: $(TARGETS)
1.25      petejc    168: </xmp>
1.24      petejc    169: </li>
                    170: 
                    171: </ul>
                    172: 
1.20      david     173: 
                    174: <a name="ch10">
                    175: <p><b>Chapter 10</b>
                    176: 
                    177: <ul>
1.18      david     178: <li>In Chapter 10 (p 297) 'http://www.jslib.mozdev.org' has been changed
1.24      petejc    179: to 'http://jslib.mozdev.org'<br><br></li>
1.20      david     180: </ul>
                    181: 
                    182: 
                    183: <a name="ch12">
                    184: <p><b>Chapter 12</b>
                    185: 
                    186: <ul>
                    187: 
1.18      david     188: <li>In Chapter 12 (p 339) A new 'Certificate Authorities and Digital
                    189: Signatures' section is being written with drafts available on <a
                    190: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
1.20      david     191: 
                    192: </ul>
                    193: 
                    194: 
                    195: <a name="appa">
                    196: <p><b>Appendix A</b>
                    197: 
                    198: <ul>
1.18      david     199: 
                    200: <li>In Appendix A (p 365) 'http://www.mozilla.org/source.tml' has been
                    201: changed to 'http://www.mozilla.org/source.html'<br><br>
                    202: 
1.1       david     203: </ul>
1.2       david     204: 
1.3       david     205: <br><br>
                    206: 
1.23      petejc    207: <!-- ?php require(NOTES); ? -->
                    208: <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='corrections'; require(NOTES); ?>

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