Artifact 0481722b76957ea7ab33d3986e4ba80b2cb999c5:
File user/crc/unwell/templates/examine.erx part of check-in [cf0bb1439f] - add unwell by crc on 2011-07-28 17:02:17. [annotate]
0000: 3c 73 63 72 69 70 74 3e 0a 66 75 6e 63 74 69 6f <script>.functio
0010: 6e 20 75 6e 77 65 6c 6c 28 29 0a 7b 0a 20 20 77 n unwell().{. w
0020: 69 6e 64 6f 77 2e 6c 6f 63 61 74 69 6f 6e 20 3d indow.location =
0030: 20 27 25 75 2f 65 78 61 6d 69 6e 65 2f 27 20 2b '%u/examine/' +
0040: 20 65 6e 63 6f 64 65 55 52 49 43 6f 6d 70 6f 6e encodeURICompon
0050: 65 6e 74 28 64 6f 63 75 6d 65 6e 74 2e 66 6f 72 ent(document.for
0060: 6d 73 5b 30 5d 2e 63 6f 64 65 2e 76 61 6c 75 65 ms[0].code.value
0070: 29 3b 0a 7d 0a 3c 2f 73 63 72 69 70 74 3e 0a 3c );.}.</script>.<
0080: 66 6f 72 6d 20 61 63 74 69 6f 6e 3d 27 6a 61 76 form action='jav
0090: 61 73 63 72 69 70 74 3a 75 6e 77 65 6c 6c 28 29 ascript:unwell()
00a0: 27 3e 0a 20 20 3c 70 3e 43 6f 64 65 20 74 6f 20 '>. <p>Code to
00b0: 65 78 61 6d 69 6e 65 3a 20 3c 69 6e 70 75 74 20 examine: <input
00c0: 6e 61 6d 65 3d 27 63 6f 64 65 27 3e 3c 2f 70 3e name='code'></p>
00d0: 0a 3c 2f 66 6f 72 6d 3e 0a 3c 70 3e 50 72 65 73 .</form>.<p>Pres
00e0: 73 20 65 6e 74 65 72 20 6f 72 20 63 6c 69 63 6b s enter or click
00f0: 20 3c 61 20 68 72 65 66 3d 27 6a 61 76 61 73 63 <a href='javasc
0100: 72 69 70 74 3a 75 6e 77 65 6c 6c 28 29 27 3e 65 ript:unwell()'>e
0110: 78 61 6d 69 6e 65 3c 2f 61 3e 20 74 6f 0a 20 20 xamine</a> to.
0120: 20 64 69 73 70 6c 61 79 20 64 65 63 6f 6d 70 69 display decompi
0130: 6c 61 74 69 6f 6e 20 6f 66 20 79 6f 75 72 20 63 lation of your c
0140: 6f 64 65 2e 3c 2f 70 3e 0a 0a 3c 70 3e 44 6f 20 ode.</p>..<p>Do
0150: 3c 62 3e 6e 6f 74 3c 2f 62 3e 20 70 72 6f 76 69 <b>not</b> provi
0160: 64 65 20 61 20 63 6f 6c 6f 6e 20 64 65 66 69 6e de a colon defin
0170: 69 74 69 6f 6e 3b 20 74 68 65 20 70 61 73 74 65 ition; the paste
0180: 64 20 63 6f 64 65 20 77 69 6c 6c 20 62 65 0a 20 d code will be.
0190: 20 20 63 6f 6d 70 69 6c 65 64 20 69 6e 73 69 64 compiled insid
01a0: 65 20 61 20 71 75 6f 74 65 20 61 6e 64 20 64 69 e a quote and di
01b0: 73 70 6c 61 79 65 64 2e 3c 2f 70 3e 0a splayed.</p>.