home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 September / Chip_2003-09_cd1.bin / zkuste / macos / Files / wamcom.sit / wamcom-131-macos9-20030721 / Components / nsDictionary.js < prev    next >
MacBinary  |  2003-06-30  |  4.5 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Janne Salmijarvi Optimizer (music/janneSalmijarviOptimizer) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Mon Jun 30 01:09:28 2003, modified Mon Jun 30 01:09:28 2003, creator 'CWIE', type ASCII, 3873 bytes "nsDictionary.js" , at 0xfa1 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 6e 73 44 69 63 74 | 69 6f 6e 61 72 79 2e 6a |..nsDict|ionary.j|
|00000010| 73 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0f 21 00 | 00 01 9a bb 25 76 88 bb |......!.|....%v..|
|00000060| 25 76 88 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |%v......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 38 41 00 00 |........|....8A..|
|00000080| 2f 2a 0d 20 2a 20 54 68 | 65 20 63 6f 6e 74 65 6e |/*. * Th|e conten|
|00000090| 74 73 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |ts of th|is file |
|000000a0| 61 72 65 20 73 75 62 6a | 65 63 74 20 74 6f 20 74 |are subj|ect to t|
|000000b0| 68 65 20 4d 6f 7a 69 6c | 6c 61 20 50 75 62 6c 69 |he Mozil|la Publi|
|000000c0| 63 20 4c 69 63 65 6e 73 | 65 20 56 65 72 73 69 6f |c Licens|e Versio|
|000000d0| 6e 0d 20 2a 20 31 2e 31 | 20 28 74 68 65 20 22 4c |n. * 1.1| (the "L|
|000000e0| 69 63 65 6e 73 65 22 29 | 3b 20 79 6f 75 20 6d 61 |icense")|; you ma|
|000000f0| 79 20 6e 6f 74 20 75 73 | 65 20 74 68 69 73 20 66 |y not us|e this f|
|00000100| 69 6c 65 20 65 78 63 65 | 70 74 20 69 6e 20 63 6f |ile exce|pt in co|
|00000110| 6d 70 6c 69 61 6e 63 65 | 20 77 69 74 68 20 74 68 |mpliance| with th|
|00000120| 65 0d 20 2a 20 4c 69 63 | 65 6e 73 65 2e 20 59 6f |e. * Lic|ense. Yo|
|00000130| 75 20 6d 61 79 20 6f 62 | 74 61 69 6e 20 61 20 63 |u may ob|tain a c|
|00000140| 6f 70 79 20 6f 66 20 74 | 68 65 20 4c 69 63 65 6e |opy of t|he Licen|
|00000150| 73 65 20 61 74 20 68 74 | 74 70 3a 2f 2f 77 77 77 |se at ht|tp://www|
|00000160| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 4d 50 4c |.mozilla|.org/MPL|
|00000170| 2f 0d 20 2a 20 0d 20 2a | 20 53 6f 66 74 77 61 72 |/. * . *| Softwar|
|00000180| 65 20 64 69 73 74 72 69 | 62 75 74 65 64 20 75 6e |e distri|buted un|
|00000190| 64 65 72 20 74 68 65 20 | 4c 69 63 65 6e 73 65 20 |der the |License |
|000001a0| 69 73 20 64 69 73 74 72 | 69 62 75 74 65 64 20 6f |is distr|ibuted o|
|000001b0| 6e 20 61 6e 20 22 41 53 | 20 49 53 22 20 62 61 73 |n an "AS| IS" bas|
|000001c0| 69 73 2c 0d 20 2a 20 57 | 49 54 48 4f 55 54 20 57 |is,. * W|ITHOUT W|
|000001d0| 41 52 52 41 4e 54 59 20 | 4f 46 20 41 4e 59 20 4b |ARRANTY |OF ANY K|
|000001e0| 49 4e 44 2c 20 65 69 74 | 68 65 72 20 65 78 70 72 |IND, eit|her expr|
|000001f0| 65 73 73 20 6f 72 20 69 | 6d 70 6c 69 65 64 2e 20 |ess or i|mplied. |
|00000200| 53 65 65 20 74 68 65 20 | 4c 69 63 65 6e 73 65 20 |See the |License |
|00000210| 66 6f 72 0d 20 2a 20 74 | 68 65 20 73 70 65 63 69 |for. * t|he speci|
|00000220| 66 69 63 20 6c 61 6e 67 | 75 61 67 65 20 67 6f 76 |fic lang|uage gov|
|00000230| 65 72 6e 69 6e 67 20 72 | 69 67 68 74 73 20 61 6e |erning r|ights an|
|00000240| 64 20 6c 69 6d 69 74 61 | 74 69 6f 6e 73 20 75 6e |d limita|tions un|
|00000250| 64 65 72 20 74 68 65 20 | 4c 69 63 65 6e 73 65 2e |der the |License.|
|00000260| 0d 20 2a 20 0d 20 2a 20 | 54 68 65 20 4f 72 69 67 |. * . * |The Orig|
|00000270| 69 6e 61 6c 20 43 6f 64 | 65 20 69 73 20 4d 6f 7a |inal Cod|e is Moz|
|00000280| 69 6c 6c 61 20 58 50 43 | 4f 4d 20 44 69 63 74 69 |illa XPC|OM Dicti|
|00000290| 6f 6e 61 72 79 2e 0d 20 | 2a 20 0d 20 2a 20 54 68 |onary.. |* . * Th|
|000002a0| 65 20 49 6e 69 74 69 61 | 6c 20 44 65 76 65 6c 6f |e Initia|l Develo|
|000002b0| 70 65 72 20 6f 66 20 74 | 68 65 20 4f 72 69 67 69 |per of t|he Origi|
|000002c0| 6e 61 6c 20 43 6f 64 65 | 20 69 73 20 44 69 67 69 |nal Code| is Digi|
|000002d0| 74 61 6c 20 43 72 65 61 | 74 69 6f 6e 73 20 32 2c |tal Crea|tions 2,|
|000002e0| 20 49 6e 63 2e 0d 20 2a | 20 50 6f 72 74 69 6f 6e | Inc.. *| Portion|
|000002f0| 73 20 63 72 65 61 74 65 | 64 20 62 79 20 44 69 67 |s create|d by Dig|
|00000300| 69 74 61 6c 20 43 72 65 | 61 74 69 6f 6e 73 20 32 |ital Cre|ations 2|
|00000310| 2c 20 49 6e 63 2e 20 61 | 72 65 20 43 6f 70 79 72 |, Inc. a|re Copyr|
|00000320| 69 67 68 74 20 28 43 29 | 20 32 30 30 30 20 44 69 |ight (C)| 2000 Di|
|00000330| 67 69 74 61 6c 0d 20 2a | 20 43 72 65 61 74 69 6f |gital. *| Creatio|
|00000340| 6e 73 20 32 2c 20 49 6e | 63 2e 20 20 41 6c 6c 20 |ns 2, In|c. All |
|00000350| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|00000360| 0d 20 2a 20 0d 20 2a 20 | 43 6f 6e 74 72 69 62 75 |. * . * |Contribu|
|00000370| 74 6f 72 28 73 29 3a 20 | 4d 61 72 74 69 6a 6e 20 |tor(s): |Martijn |
|00000380| 50 69 65 74 65 72 73 20 | 3c 6d 6a 40 64 69 67 69 |Pieters |<mj@digi|
|00000390| 63 6f 6f 6c 2e 63 6f 6d | 3e 20 28 6f 72 69 67 69 |cool.com|> (origi|
|000003a0| 6e 61 6c 20 61 75 74 68 | 6f 72 29 0d 20 2a 2f 0d |nal auth|or). */.|
|000003b0| 0d 2f 2a 0d 20 2a 20 20 | 6e 73 44 69 63 74 69 6f |./*. * |nsDictio|
|000003c0| 6e 61 72 79 20 58 50 43 | 4f 4d 20 63 6f 6d 70 6f |nary XPC|OM compo|
|000003d0| 6e 65 6e 74 0d 20 2a 20 | 20 56 65 72 73 69 6f 6e |nent. * | Version|
|000003e0| 3a 20 24 52 65 76 69 73 | 69 6f 6e 3a 20 31 2e 36 |: $Revis|ion: 1.6|
|000003f0| 20 24 0d 20 2a 0d 20 2a | 20 20 24 49 64 3a 20 6e | $. *. *| $Id: n|
|00000400| 73 44 69 63 74 69 6f 6e | 61 72 79 2e 6a 73 2c 76 |sDiction|ary.js,v|
|00000410| 20 31 2e 36 20 32 30 30 | 32 2f 30 31 2f 32 39 20 | 1.6 200|2/01/29 |
|00000420| 32 31 3a 32 31 3a 33 33 | 20 64 6f 75 67 74 25 6e |21:21:33| dougt%n|
|00000430| 65 74 73 63 61 70 65 2e | 63 6f 6d 20 45 78 70 20 |etscape.|com Exp |
|00000440| 24 0d 20 2a 2f 0d 0d 2f | 2a 0d 20 2a 20 43 6f 6e |$. */../|*. * Con|
|00000450| 73 74 61 6e 74 73 0d 20 | 2a 2f 0d 63 6f 6e 73 74 |stants. |*/.const|
|00000460| 20 44 49 43 54 49 4f 4e | 41 52 59 5f 43 4f 4e 54 | DICTION|ARY_CONT|
|00000470| 52 41 43 54 49 44 20 3d | 20 27 40 6d 6f 7a 69 6c |RACTID =| '@mozil|
|00000480| 6c 61 2e 6f 72 67 2f 64 | 69 63 74 69 6f 6e 61 72 |la.org/d|ictionar|
|00000490| 79 3b 31 27 3b 0d 63 6f | 6e 73 74 20 44 49 43 54 |y;1';.co|nst DICT|
|000004a0| 49 4f 4e 41 52 59 5f 43 | 49 44 20 3d 20 43 6f 6d |IONARY_C|ID = Com|
|000004b0| 70 6f 6e 65 6e 74 73 2e | 49 44 28 27 7b 31 64 64 |ponents.|ID('{1dd|
|000004c0| 30 63 62 34 35 2d 61 65 | 61 33 2d 34 61 35 32 2d |0cb45-ae|a3-4a52-|
|000004d0| 38 62 32 39 2d 30 31 34 | 32 39 61 35 34 32 38 36 |8b29-014|29a54286|
|000004e0| 33 7d 27 29 3b 0d 63 6f | 6e 73 74 20 44 49 43 54 |3}');.co|nst DICT|
|000004f0| 49 4f 4e 41 52 59 5f 49 | 49 44 20 3d 20 43 6f 6d |IONARY_I|ID = Com|
|00000500| 70 6f 6e 65 6e 74 73 2e | 69 6e 74 65 72 66 61 63 |ponents.|interfac|
|00000510| 65 73 2e 6e 73 49 44 69 | 63 74 69 6f 6e 61 72 79 |es.nsIDi|ctionary|
|00000520| 3b 0d 0d 2f 2a 0d 20 2a | 20 43 6c 61 73 73 20 64 |;../*. *| Class d|
|00000530| 65 66 69 6e 69 74 69 6f | 6e 73 0d 20 2a 2f 0d 0d |efinitio|ns. */..|
|00000540| 2f 2a 20 54 68 65 20 6e | 73 44 69 63 74 69 6f 6e |/* The n|sDiction|
|00000550| 61 72 79 20 63 6c 61 73 | 73 20 63 6f 6e 73 74 72 |ary clas|s constr|
|00000560| 75 63 74 6f 72 2e 20 2a | 2f 0d 66 75 6e 63 74 69 |uctor. *|/.functi|
|00000570| 6f 6e 20 6e 73 44 69 63 | 74 69 6f 6e 61 72 79 28 |on nsDic|tionary(|
|00000580| 29 20 7b 0d 20 20 20 20 | 74 68 69 73 2e 68 61 73 |) {. |this.has|
|00000590| 68 20 3d 20 7b 7d 3b 0d | 7d 0d 0d 2f 2a 20 74 68 |h = {};.|}../* th|
|000005a0| 65 20 6e 73 44 69 63 74 | 69 6f 6e 61 72 79 20 63 |e nsDict|ionary c|
|000005b0| 6c 61 73 73 20 64 65 66 | 20 2a 2f 0d 6e 73 44 69 |lass def| */.nsDi|
|000005c0| 63 74 69 6f 6e 61 72 79 | 2e 70 72 6f 74 6f 74 79 |ctionary|.prototy|
|000005d0| 70 65 3d 20 7b 0d 20 20 | 20 20 68 61 73 4b 65 79 |pe= {. | hasKey|
|000005e0| 3a 20 66 75 6e 63 74 69 | 6f 6e 28 6b 65 79 29 20 |: functi|on(key) |
|000005f0| 7b 20 72 65 74 75 72 6e | 20 74 68 69 73 2e 68 61 |{ return| this.ha|
|00000600| 73 68 2e 68 61 73 4f 77 | 6e 50 72 6f 70 65 72 74 |sh.hasOw|nPropert|
|00000610| 79 28 6b 65 79 29 20 7d | 2c 0d 0d 20 20 20 20 67 |y(key) }|,.. g|
|00000620| 65 74 4b 65 79 73 3a 20 | 66 75 6e 63 74 69 6f 6e |etKeys: |function|
|00000630| 28 63 6f 75 6e 74 29 20 | 7b 0d 20 20 20 20 20 20 |(count) |{. |
|00000640| 20 20 76 61 72 20 61 73 | 4b 65 79 73 20 3d 20 6e | var as|Keys = n|
|00000650| 65 77 20 41 72 72 61 79 | 28 29 3b 0d 20 20 20 20 |ew Array|();. |
|00000660| 20 20 20 20 66 6f 72 20 | 28 76 61 72 20 73 4b 65 | for |(var sKe|
|00000670| 79 20 69 6e 20 74 68 69 | 73 2e 68 61 73 68 29 20 |y in thi|s.hash) |
|00000680| 61 73 4b 65 79 73 2e 70 | 75 73 68 28 73 4b 65 79 |asKeys.p|ush(sKey|
|00000690| 29 3b 0d 20 20 20 20 20 | 20 20 20 63 6f 75 6e 74 |);. | count|
|000006a0| 2e 76 61 6c 75 65 20 3d | 20 61 73 4b 65 79 73 2e |.value =| asKeys.|
|000006b0| 6c 65 6e 67 74 68 3b 0d | 20 20 20 20 20 20 20 20 |length;.| |
|000006c0| 72 65 74 75 72 6e 20 61 | 73 4b 65 79 73 3b 0d 20 |return a|sKeys;. |
|000006d0| 20 20 20 7d 2c 0d 0d 20 | 20 20 20 67 65 74 56 61 | },.. | getVa|
|000006e0| 6c 75 65 3a 20 66 75 6e | 63 74 69 6f 6e 28 6b 65 |lue: fun|ction(ke|
|000006f0| 79 29 20 7b 20 0d 20 20 | 20 20 20 20 20 20 69 66 |y) { . | if|
|00000700| 20 28 21 74 68 69 73 2e | 68 61 73 4b 65 79 28 6b | (!this.|hasKey(k|
|00000710| 65 79 29 29 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ey)). | |
|00000720| 20 74 68 72 6f 77 20 43 | 6f 6d 70 6f 6e 65 6e 74 | throw C|omponent|
|00000730| 73 2e 45 78 63 65 70 74 | 69 6f 6e 28 22 4b 65 79 |s.Except|ion("Key|
|00000740| 20 64 6f 65 73 6e 27 74 | 20 65 78 69 73 74 22 29 | doesn't| exist")|
|00000750| 3b 0d 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e |;. | return|
|00000760| 20 74 68 69 73 2e 68 61 | 73 68 5b 6b 65 79 5d 3b | this.ha|sh[key];|
|00000770| 20 0d 20 20 20 20 7d 2c | 0d 0d 20 20 20 20 73 65 | . },|.. se|
|00000780| 74 56 61 6c 75 65 3a 20 | 66 75 6e 63 74 69 6f 6e |tValue: |function|
|00000790| 28 6b 65 79 2c 20 76 61 | 6c 75 65 29 20 7b 20 74 |(key, va|lue) { t|
|000007a0| 68 69 73 2e 68 61 73 68 | 5b 6b 65 79 5d 20 3d 20 |his.hash|[key] = |
|000007b0| 76 61 6c 75 65 3b 20 7d | 2c 0d 20 20 20 20 0d 20 |value; }|,. . |
|000007c0| 20 20 20 64 65 6c 65 74 | 65 56 61 6c 75 65 3a 20 | delet|eValue: |
|000007d0| 66 75 6e 63 74 69 6f 6e | 28 6b 65 79 29 20 7b 0d |function|(key) {.|
|000007e0| 20 20 20 20 20 20 20 20 | 69 66 20 28 21 74 68 69 | |if (!thi|
|000007f0| 73 2e 68 61 73 4b 65 79 | 28 6b 65 79 29 29 0d 20 |s.hasKey|(key)). |
|00000800| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 72 6f 77 | | throw|
|00000810| 20 43 6f 6d 70 6f 6e 65 | 6e 74 73 2e 45 78 63 65 | Compone|nts.Exce|
|00000820| 70 74 69 6f 6e 28 22 4b | 65 79 20 64 6f 65 73 6e |ption("K|ey doesn|
|00000830| 27 74 20 65 78 69 73 74 | 22 29 3b 0d 20 20 20 20 |'t exist|");. |
|00000840| 20 20 20 20 76 61 72 20 | 6f 4f 6c 64 20 3d 20 74 | var |oOld = t|
|00000850| 68 69 73 2e 67 65 74 56 | 61 6c 75 65 28 6b 65 79 |his.getV|alue(key|
|00000860| 29 3b 0d 20 20 20 20 20 | 20 20 20 64 65 6c 65 74 |);. | delet|
|00000870| 65 20 74 68 69 73 2e 68 | 61 73 68 5b 6b 65 79 5d |e this.h|ash[key]|
|00000880| 3b 0d 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e |;. | return|
|00000890| 20 6f 4f 6c 64 3b 0d 20 | 20 20 20 7d 2c 0d 0d 20 | oOld;. | },.. |
|000008a0| 20 20 20 63 6c 65 61 72 | 3a 20 66 75 6e 63 74 69 | clear|: functi|
|000008b0| 6f 6e 28 29 20 7b 20 74 | 68 69 73 2e 68 61 73 68 |on() { t|his.hash|
|000008c0| 20 3d 20 7b 7d 3b 20 7d | 2c 0d 0d 20 20 20 20 51 | = {}; }|,.. Q|
|000008d0| 75 65 72 79 49 6e 74 65 | 72 66 61 63 65 3a 20 66 |ueryInte|rface: f|
|000008e0| 75 6e 63 74 69 6f 6e 28 | 69 69 64 29 20 7b 0d 20 |unction(|iid) {. |
|000008f0| 20 20 20 20 20 20 20 69 | 66 20 28 21 69 69 64 2e | i|f (!iid.|
|00000900| 65 71 75 61 6c 73 28 43 | 6f 6d 70 6f 6e 65 6e 74 |equals(C|omponent|
|00000910| 73 2e 69 6e 74 65 72 66 | 61 63 65 73 2e 6e 73 49 |s.interf|aces.nsI|
|00000920| 53 75 70 70 6f 72 74 73 | 29 20 26 26 0d 20 20 20 |Supports|) &&. |
|00000930| 20 20 20 20 20 20 20 20 | 20 21 69 69 64 2e 65 71 | | !iid.eq|
|00000940| 75 61 6c 73 28 44 49 43 | 54 49 4f 4e 41 52 59 5f |uals(DIC|TIONARY_|
|00000950| 49 49 44 29 29 0d 20 20 | 20 20 20 20 20 20 20 20 |IID)). | |
|00000960| 20 20 74 68 72 6f 77 20 | 43 6f 6d 70 6f 6e 65 6e | throw |Componen|
|00000970| 74 73 2e 72 65 73 75 6c | 74 73 2e 4e 53 5f 45 52 |ts.resul|ts.NS_ER|
|00000980| 52 4f 52 5f 4e 4f 5f 49 | 4e 54 45 52 46 41 43 45 |ROR_NO_I|NTERFACE|
|00000990| 3b 0d 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e |;. | return|
|000009a0| 20 74 68 69 73 3b 0d 20 | 20 20 20 7d 0d 7d 3b 0d | this;. | }.};.|
|000009b0| 0d 2f 2a 0d 20 2a 20 4f | 62 6a 65 63 74 73 0d 20 |./*. * O|bjects. |
|000009c0| 2a 2f 0d 0d 2f 2a 20 6e | 73 44 69 63 74 69 6f 6e |*/../* n|sDiction|
|000009d0| 61 72 79 20 4d 6f 64 75 | 6c 65 20 28 66 6f 72 20 |ary Modu|le (for |
|000009e0| 58 50 43 4f 4d 20 72 65 | 67 69 73 74 72 61 74 69 |XPCOM re|gistrati|
|000009f0| 6f 6e 29 20 2a 2f 0d 76 | 61 72 20 6e 73 44 69 63 |on) */.v|ar nsDic|
|00000a00| 74 69 6f 6e 61 72 79 4d | 6f 64 75 6c 65 20 3d 20 |tionaryM|odule = |
|00000a10| 7b 0d 20 20 20 20 72 65 | 67 69 73 74 65 72 53 65 |{. re|gisterSe|
|00000a20| 6c 66 3a 20 66 75 6e 63 | 74 69 6f 6e 28 63 6f 6d |lf: func|tion(com|
|00000a30| 70 4d 67 72 2c 20 66 69 | 6c 65 53 70 65 63 2c 20 |pMgr, fi|leSpec, |
|00000a40| 6c 6f 63 61 74 69 6f 6e | 2c 20 74 79 70 65 29 20 |location|, type) |
|00000a50| 7b 0d 20 20 20 20 20 20 | 20 20 63 6f 6d 70 4d 67 |{. | compMg|
|00000a60| 72 20 3d 20 63 6f 6d 70 | 4d 67 72 2e 51 75 65 72 |r = comp|Mgr.Quer|
|00000a70| 79 49 6e 74 65 72 66 61 | 63 65 28 43 6f 6d 70 6f |yInterfa|ce(Compo|
|00000a80| 6e 65 6e 74 73 2e 69 6e | 74 65 72 66 61 63 65 73 |nents.in|terfaces|
|00000a90| 2e 6e 73 49 43 6f 6d 70 | 6f 6e 65 6e 74 52 65 67 |.nsIComp|onentReg|
|00000aa0| 69 73 74 72 61 72 29 3b | 0d 20 20 20 20 20 20 20 |istrar);|. |
|00000ab0| 20 63 6f 6d 70 4d 67 72 | 2e 72 65 67 69 73 74 65 | compMgr|.registe|
|00000ac0| 72 46 61 63 74 6f 72 79 | 4c 6f 63 61 74 69 6f 6e |rFactory|Location|
|00000ad0| 28 44 49 43 54 49 4f 4e | 41 52 59 5f 43 49 44 2c |(DICTION|ARY_CID,|
|00000ae0| 20 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00000af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b00| 20 20 20 20 20 20 20 20 | 20 20 22 6e 73 44 69 63 | | "nsDic|
|00000b10| 74 69 6f 6e 61 72 79 20 | 4a 53 20 63 6f 6d 70 6f |tionary |JS compo|
|00000b20| 6e 65 6e 74 22 2c 20 0d | 20 20 20 20 20 20 20 20 |nent", .| |
|00000b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b50| 44 49 43 54 49 4f 4e 41 | 52 59 5f 43 4f 4e 54 52 |DICTIONA|RY_CONTR|
|00000b60| 41 43 54 49 44 2c 20 0d | 20 20 20 20 20 20 20 20 |ACTID, .| |
|00000b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b90| 66 69 6c 65 53 70 65 63 | 2c 20 0d 20 20 20 20 20 |fileSpec|, . |
|00000ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000bc0| 20 20 20 6c 6f 63 61 74 | 69 6f 6e 2c 0d 20 20 20 | locat|ion,. |
|00000bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000bf0| 20 20 20 20 20 74 79 70 | 65 29 3b 0d 20 20 20 20 | typ|e);. |
|00000c00| 7d 2c 0d 0d 20 20 20 20 | 67 65 74 43 6c 61 73 73 |},.. |getClass|
|00000c10| 4f 62 6a 65 63 74 3a 20 | 66 75 6e 63 74 69 6f 6e |Object: |function|
|00000c20| 28 63 6f 6d 70 4d 67 72 | 2c 20 63 69 64 2c 20 69 |(compMgr|, cid, i|
|00000c30| 69 64 29 20 7b 0d 20 20 | 20 20 20 20 20 20 69 66 |id) {. | if|
|00000c40| 20 28 21 63 69 64 2e 65 | 71 75 61 6c 73 28 44 49 | (!cid.e|quals(DI|
|00000c50| 43 54 49 4f 4e 41 52 59 | 5f 43 49 44 29 29 0d 20 |CTIONARY|_CID)). |
|00000c60| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 72 6f 77 | | throw|
|00000c70| 20 43 6f 6d 70 6f 6e 65 | 6e 74 73 2e 72 65 73 75 | Compone|nts.resu|
|00000c80| 6c 74 73 2e 4e 53 5f 45 | 52 52 4f 52 5f 4e 4f 5f |lts.NS_E|RROR_NO_|
|00000c90| 49 4e 54 45 52 46 41 43 | 45 3b 0d 0d 20 20 20 20 |INTERFAC|E;.. |
|00000ca0| 20 20 20 20 69 66 20 28 | 21 69 69 64 2e 65 71 75 | if (|!iid.equ|
|00000cb0| 61 6c 73 28 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 69 |als(Comp|onents.i|
|00000cc0| 6e 74 65 72 66 61 63 65 | 73 2e 6e 73 49 46 61 63 |nterface|s.nsIFac|
|00000cd0| 74 6f 72 79 29 29 0d 20 | 20 20 20 20 20 20 20 20 |tory)). | |
|00000ce0| 20 20 20 74 68 72 6f 77 | 20 43 6f 6d 70 6f 6e 65 | throw| Compone|
|00000cf0| 6e 74 73 2e 72 65 73 75 | 6c 74 73 2e 4e 53 5f 45 |nts.resu|lts.NS_E|
|00000d00| 52 52 4f 52 5f 4e 4f 54 | 5f 49 4d 50 4c 45 4d 45 |RROR_NOT|_IMPLEME|
|00000d10| 4e 54 45 44 3b 0d 0d 20 | 20 20 20 20 20 20 20 72 |NTED;.. | r|
|00000d20| 65 74 75 72 6e 20 6e 73 | 44 69 63 74 69 6f 6e 61 |eturn ns|Dictiona|
|00000d30| 72 79 46 61 63 74 6f 72 | 79 3b 0d 20 20 20 20 7d |ryFactor|y;. }|
|00000d40| 2c 0d 0d 20 20 20 20 63 | 61 6e 55 6e 6c 6f 61 64 |,.. c|anUnload|
|00000d50| 3a 20 66 75 6e 63 74 69 | 6f 6e 28 63 6f 6d 70 4d |: functi|on(compM|
|00000d60| 67 72 29 20 7b 20 72 65 | 74 75 72 6e 20 74 72 75 |gr) { re|turn tru|
|00000d70| 65 3b 20 7d 0d 7d 3b 0d | 0d 2f 2a 20 6e 73 44 69 |e; }.};.|./* nsDi|
|00000d80| 63 74 69 6f 6e 61 72 79 | 20 43 6c 61 73 73 20 46 |ctionary| Class F|
|00000d90| 61 63 74 6f 72 79 20 2a | 2f 0d 76 61 72 20 6e 73 |actory *|/.var ns|
|00000da0| 44 69 63 74 69 6f 6e 61 | 72 79 46 61 63 74 6f 72 |Dictiona|ryFactor|
|00000db0| 79 20 3d 20 7b 0d 20 20 | 20 20 63 72 65 61 74 65 |y = {. | create|
|00000dc0| 49 6e 73 74 61 6e 63 65 | 3a 20 66 75 6e 63 74 69 |Instance|: functi|
|00000dd0| 6f 6e 28 6f 75 74 65 72 | 2c 20 69 69 64 29 20 7b |on(outer|, iid) {|
|00000de0| 0d 20 20 20 20 20 20 20 | 20 69 66 20 28 6f 75 74 |. | if (out|
|00000df0| 65 72 20 21 3d 20 6e 75 | 6c 6c 29 0d 20 20 20 20 |er != nu|ll). |
|00000e00| 20 20 20 20 20 20 20 20 | 74 68 72 6f 77 20 43 6f | |throw Co|
|00000e10| 6d 70 6f 6e 65 6e 74 73 | 2e 72 65 73 75 6c 74 73 |mponents|.results|
|00000e20| 2e 4e 53 5f 45 52 52 4f | 52 5f 4e 4f 5f 41 47 47 |.NS_ERRO|R_NO_AGG|
|00000e30| 52 45 47 41 54 49 4f 4e | 3b 0d 20 20 20 20 0d 20 |REGATION|;. . |
|00000e40| 20 20 20 20 20 20 20 69 | 66 20 28 21 69 69 64 2e | i|f (!iid.|
|00000e50| 65 71 75 61 6c 73 28 44 | 49 43 54 49 4f 4e 41 52 |equals(D|ICTIONAR|
|00000e60| 59 5f 49 49 44 29 20 26 | 26 0d 20 20 20 20 20 20 |Y_IID) &|&. |
|00000e70| 20 20 20 20 20 20 21 69 | 69 64 2e 65 71 75 61 6c | !i|id.equal|
|00000e80| 73 28 43 6f 6d 70 6f 6e | 65 6e 74 73 2e 69 6e 74 |s(Compon|ents.int|
|00000e90| 65 72 66 61 63 65 73 2e | 6e 73 49 53 75 70 70 6f |erfaces.|nsISuppo|
|00000ea0| 72 74 73 29 29 0d 20 20 | 20 20 20 20 20 20 20 20 |rts)). | |
|00000eb0| 20 20 74 68 72 6f 77 20 | 43 6f 6d 70 6f 6e 65 6e | throw |Componen|
|00000ec0| 74 73 2e 72 65 73 75 6c | 74 73 2e 4e 53 5f 45 52 |ts.resul|ts.NS_ER|
|00000ed0| 52 4f 52 5f 49 4e 56 41 | 4c 49 44 5f 41 52 47 3b |ROR_INVA|LID_ARG;|
|00000ee0| 0d 0d 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e |.. | return|
|00000ef0| 20 6e 65 77 20 6e 73 44 | 69 63 74 69 6f 6e 61 72 | new nsD|ictionar|
|00000f00| 79 28 29 3b 0d 20 20 20 | 20 7d 0d 7d 0d 0d 2f 2a |y();. | }.}../*|
|00000f10| 0d 20 2a 20 46 75 6e 63 | 74 69 6f 6e 73 0d 20 2a |. * Func|tions. *|
|00000f20| 2f 0d 0d 2f 2a 20 6d 6f | 64 75 6c 65 20 69 6e 69 |/../* mo|dule ini|
|00000f30| 74 69 61 6c 69 73 61 74 | 69 6f 6e 20 2a 2f 0d 66 |tialisat|ion */.f|
|00000f40| 75 6e 63 74 69 6f 6e 20 | 4e 53 47 65 74 4d 6f 64 |unction |NSGetMod|
|00000f50| 75 6c 65 28 63 6f 6d 4d | 67 72 2c 20 66 69 6c 65 |ule(comM|gr, file|
|00000f60| 53 70 65 63 29 20 7b 20 | 72 65 74 75 72 6e 20 6e |Spec) { |return n|
|00000f70| 73 44 69 63 74 69 6f 6e | 61 72 79 4d 6f 64 75 6c |sDiction|aryModul|
|00000f80| 65 3b 20 7d 0d 0d 2f 2f | 20 76 69 6d 3a 73 77 3d |e; }..//| vim:sw=|
|00000f90| 34 3a 73 72 3a 73 74 61 | 3a 65 74 3a 73 74 73 3a |4:sr:sta|:et:sts:|
|00000fa0| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 01 00 00 00 01 59 | 00 00 00 59 00 00 00 41 |.......Y|...Y...A|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 55 70 a2 06 af | 3f e5 32 30 00 04 00 00 |...Up...|?.20....|
|00001110| 00 00 00 00 00 00 bb 25 | 30 38 bb 25 30 38 00 00 |.......%|08.%08..|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 11 6b |........|.......k|
|00001130| 61 69 65 25 6e 65 74 73 | 63 61 70 65 2e 63 6f 6d |aie%nets|cape.com|
|00001140| 00 00 00 0f 6e 73 44 69 | 63 74 69 6f 6e 61 72 79 |....nsDi|ctionary|
|00001150| 2e 6a 73 00 00 00 00 00 | 00 00 00 01 00 00 00 01 |.js.....|........|
|00001160| 59 00 00 00 59 00 00 00 | 41 00 0e 80 84 58 de 00 |Y...Y...|A....X..|
|00001170| 00 00 1c 00 32 00 00 63 | 6b 69 64 00 00 00 0a 00 |....2..c|kid.....|
|00001180| 80 00 00 00 00 00 00 01 | 3b 21 5c 0e 50 72 6f 6a |........|;!\.Proj|
|00001190| 65 63 74 6f 72 20 44 61 | 74 61 00 00 00 00 00 00 |ector Da|ta......|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+