@jslint-org/jslint 2021.10.20 → 2021.11.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.html DELETED
@@ -1,1512 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <meta
7
- name="description"
8
- content="JSLint, The JavaScript Code Quality Tool. This file allows JSLint
9
- to be run from a web browser. It can accept a source program and analyze
10
- it without sending it over the network."
11
- >
12
- <meta name="author" content="Douglas Crockford">
13
- <link rel="icon" type="image/png" href="asset_image_logo_512.svg">
14
- <title>JSLint: The JavaScript Code Quality Tool</title>
15
- <!-- Google Lighthouse Performance - Reduce Largest Contentful Paint. -->
16
- <link as="script" rel="preload" href="asset_codemirror_rollup.js">
17
- <link rel="modulepreload" href="jslint.mjs">
18
- <style>
19
- /*jslint-disable*/
20
- /*
21
- shRawLibFetch
22
- {
23
- "fetchList": [
24
- {
25
- "comment": true,
26
- "url": "https://github.com/codemirror/CodeMirror/blob/5.62.0/LICENSE"
27
- },
28
- {
29
- "url": "https://github.com/codemirror/CodeMirror/blob/5.62.0/lib/codemirror.css"
30
- },
31
- {
32
- "url": "https://github.com/codemirror/CodeMirror/blob/5.62.0/addon/lint/lint.css"
33
- }
34
- ]
35
- }
36
- */
37
-
38
-
39
- /*
40
- repo https://github.com/codemirror/CodeMirror/tree/5.62.0
41
- committed 2021-06-21T07:13:20Z
42
- */
43
-
44
-
45
- /*
46
- file https://github.com/codemirror/CodeMirror/blob/5.62.0/LICENSE
47
- */
48
- /*
49
- MIT License
50
-
51
- Copyright (C) 2017 by Marijn Haverbeke <marijnh@gmail.com> and others
52
-
53
- Permission is hereby granted, free of charge, to any person obtaining a copy
54
- of this software and associated documentation files (the "Software"), to deal
55
- in the Software without restriction, including without limitation the rights
56
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
57
- copies of the Software, and to permit persons to whom the Software is
58
- furnished to do so, subject to the following conditions:
59
-
60
- The above copyright notice and this permission notice shall be included in
61
- all copies or substantial portions of the Software.
62
-
63
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
64
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
65
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
66
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
67
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
68
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
69
- THE SOFTWARE.
70
- */
71
-
72
-
73
- /*
74
- file https://github.com/codemirror/CodeMirror/blob/5.62.0/lib/codemirror.css
75
- */
76
- /* BASICS */
77
-
78
- .CodeMirror {
79
- /* Set height, width, borders, and global font properties here */
80
- font-family: monospace;
81
- height: 300px;
82
- color: black;
83
- direction: ltr;
84
- }
85
-
86
- /* PADDING */
87
-
88
- .CodeMirror-lines {
89
- padding: 4px 0; /* Vertical padding around content */
90
- }
91
- .CodeMirror pre.CodeMirror-line,
92
- .CodeMirror pre.CodeMirror-line-like {
93
- padding: 0 4px; /* Horizontal padding of content */
94
- }
95
-
96
- .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
97
- background-color: white; /* The little square between H and V scrollbars */
98
- }
99
-
100
- /* GUTTER */
101
-
102
- .CodeMirror-gutters {
103
- border-right: 1px solid #ddd;
104
- background-color: #f7f7f7;
105
- white-space: nowrap;
106
- }
107
- .CodeMirror-linenumbers {}
108
- .CodeMirror-linenumber {
109
- padding: 0 3px 0 5px;
110
- min-width: 20px;
111
- text-align: right;
112
- color: #999;
113
- white-space: nowrap;
114
- }
115
-
116
- .CodeMirror-guttermarker { color: black; }
117
- .CodeMirror-guttermarker-subtle { color: #999; }
118
-
119
- /* CURSOR */
120
-
121
- .CodeMirror-cursor {
122
- border-left: 1px solid black;
123
- border-right: none;
124
- width: 0;
125
- }
126
- /* Shown when moving in bi-directional text */
127
- .CodeMirror div.CodeMirror-secondarycursor {
128
- border-left: 1px solid silver;
129
- }
130
- .cm-fat-cursor .CodeMirror-cursor {
131
- width: auto;
132
- border: 0 !important;
133
- background: #7e7;
134
- }
135
- .cm-fat-cursor div.CodeMirror-cursors {
136
- z-index: 1;
137
- }
138
- .cm-fat-cursor-mark {
139
- background-color: rgba(20, 255, 20, 0.5);
140
- -webkit-animation: blink 1.06s steps(1) infinite;
141
- -moz-animation: blink 1.06s steps(1) infinite;
142
- animation: blink 1.06s steps(1) infinite;
143
- }
144
- .cm-animate-fat-cursor {
145
- width: auto;
146
- border: 0;
147
- -webkit-animation: blink 1.06s steps(1) infinite;
148
- -moz-animation: blink 1.06s steps(1) infinite;
149
- animation: blink 1.06s steps(1) infinite;
150
- background-color: #7e7;
151
- }
152
- @-moz-keyframes blink {
153
- 0% {}
154
- 50% { background-color: transparent; }
155
- 100% {}
156
- }
157
- @-webkit-keyframes blink {
158
- 0% {}
159
- 50% { background-color: transparent; }
160
- 100% {}
161
- }
162
- @keyframes blink {
163
- 0% {}
164
- 50% { background-color: transparent; }
165
- 100% {}
166
- }
167
-
168
- /* Can style cursor different in overwrite (non-insert) mode */
169
- .CodeMirror-overwrite .CodeMirror-cursor {}
170
-
171
- .cm-tab { display: inline-block; text-decoration: inherit; }
172
-
173
- .CodeMirror-rulers {
174
- position: absolute;
175
- left: 0; right: 0; top: -50px; bottom: 0;
176
- overflow: hidden;
177
- }
178
- .CodeMirror-ruler {
179
- border-left: 1px solid #ccc;
180
- top: 0; bottom: 0;
181
- position: absolute;
182
- }
183
-
184
- /* DEFAULT THEME */
185
-
186
- .cm-s-default .cm-header {color: blue;}
187
- .cm-s-default .cm-quote {color: #090;}
188
- .cm-negative {color: #d44;}
189
- .cm-positive {color: #292;}
190
- .cm-header, .cm-strong {font-weight: bold;}
191
- .cm-em {font-style: italic;}
192
- .cm-link {text-decoration: underline;}
193
- .cm-strikethrough {text-decoration: line-through;}
194
-
195
- .cm-s-default .cm-keyword {color: #708;}
196
- .cm-s-default .cm-atom {color: #219;}
197
- .cm-s-default .cm-number {color: #164;}
198
- .cm-s-default .cm-def {color: #00f;}
199
- .cm-s-default .cm-variable,
200
- .cm-s-default .cm-punctuation,
201
- .cm-s-default .cm-property,
202
- .cm-s-default .cm-operator {}
203
- .cm-s-default .cm-variable-2 {color: #05a;}
204
- .cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
205
- .cm-s-default .cm-comment {color: #a50;}
206
- .cm-s-default .cm-string {color: #a11;}
207
- .cm-s-default .cm-string-2 {color: #f50;}
208
- .cm-s-default .cm-meta {color: #555;}
209
- .cm-s-default .cm-qualifier {color: #555;}
210
- .cm-s-default .cm-builtin {color: #30a;}
211
- .cm-s-default .cm-bracket {color: #997;}
212
- .cm-s-default .cm-tag {color: #170;}
213
- .cm-s-default .cm-attribute {color: #00c;}
214
- .cm-s-default .cm-hr {color: #999;}
215
- .cm-s-default .cm-link {color: #00c;}
216
-
217
- .cm-s-default .cm-error {color: #f00;}
218
- .cm-invalidchar {color: #f00;}
219
-
220
- .CodeMirror-composing { border-bottom: 2px solid; }
221
-
222
- /* Default styles for common addons */
223
-
224
- div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
225
- div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
226
- .CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
227
- .CodeMirror-activeline-background {background: #e8f2ff;}
228
-
229
- /* STOP */
230
-
231
- /* The rest of this file contains styles related to the mechanics of
232
- the editor. You probably shouldn't touch them. */
233
-
234
- .CodeMirror {
235
- position: relative;
236
- overflow: hidden;
237
- background: white;
238
- }
239
-
240
- .CodeMirror-scroll {
241
- overflow: scroll !important; /* Things will break if this is overridden */
242
- /* 50px is the magic margin used to hide the element's real scrollbars */
243
- /* See overflow: hidden in .CodeMirror */
244
- margin-bottom: -50px; margin-right: -50px;
245
- padding-bottom: 50px;
246
- height: 100%;
247
- outline: none; /* Prevent dragging from highlighting the element */
248
- position: relative;
249
- }
250
- .CodeMirror-sizer {
251
- position: relative;
252
- border-right: 50px solid transparent;
253
- }
254
-
255
- /* The fake, visible scrollbars. Used to force redraw during scrolling
256
- before actual scrolling happens, thus preventing shaking and
257
- flickering artifacts. */
258
- .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
259
- position: absolute;
260
- z-index: 6;
261
- display: none;
262
- outline: none;
263
- }
264
- .CodeMirror-vscrollbar {
265
- right: 0; top: 0;
266
- overflow-x: hidden;
267
- overflow-y: scroll;
268
- }
269
- .CodeMirror-hscrollbar {
270
- bottom: 0; left: 0;
271
- overflow-y: hidden;
272
- overflow-x: scroll;
273
- }
274
- .CodeMirror-scrollbar-filler {
275
- right: 0; bottom: 0;
276
- }
277
- .CodeMirror-gutter-filler {
278
- left: 0; bottom: 0;
279
- }
280
-
281
- .CodeMirror-gutters {
282
- position: absolute; left: 0; top: 0;
283
- min-height: 100%;
284
- z-index: 3;
285
- }
286
- .CodeMirror-gutter {
287
- white-space: normal;
288
- height: 100%;
289
- display: inline-block;
290
- vertical-align: top;
291
- margin-bottom: -50px;
292
- }
293
- .CodeMirror-gutter-wrapper {
294
- position: absolute;
295
- z-index: 4;
296
- background: none !important;
297
- border: none !important;
298
- }
299
- .CodeMirror-gutter-background {
300
- position: absolute;
301
- top: 0; bottom: 0;
302
- z-index: 4;
303
- }
304
- .CodeMirror-gutter-elt {
305
- position: absolute;
306
- cursor: default;
307
- z-index: 4;
308
- }
309
- .CodeMirror-gutter-wrapper ::selection { background-color: transparent }
310
- .CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
311
-
312
- .CodeMirror-lines {
313
- cursor: text;
314
- min-height: 1px; /* prevents collapsing before first draw */
315
- }
316
- .CodeMirror pre.CodeMirror-line,
317
- .CodeMirror pre.CodeMirror-line-like {
318
- /* Reset some styles that the rest of the page might have set */
319
- -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
320
- border-width: 0;
321
- background: transparent;
322
- font-family: inherit;
323
- font-size: inherit;
324
- margin: 0;
325
- white-space: pre;
326
- word-wrap: normal;
327
- line-height: inherit;
328
- color: inherit;
329
- z-index: 2;
330
- position: relative;
331
- overflow: visible;
332
- -webkit-tap-highlight-color: transparent;
333
- -webkit-font-variant-ligatures: contextual;
334
- font-variant-ligatures: contextual;
335
- }
336
- .CodeMirror-wrap pre.CodeMirror-line,
337
- .CodeMirror-wrap pre.CodeMirror-line-like {
338
- word-wrap: break-word;
339
- white-space: pre-wrap;
340
- word-break: normal;
341
- }
342
-
343
- .CodeMirror-linebackground {
344
- position: absolute;
345
- left: 0; right: 0; top: 0; bottom: 0;
346
- z-index: 0;
347
- }
348
-
349
- .CodeMirror-linewidget {
350
- position: relative;
351
- z-index: 2;
352
- padding: 0.1px; /* Force widget margins to stay inside of the container */
353
- }
354
-
355
- .CodeMirror-widget {}
356
-
357
- .CodeMirror-rtl pre { direction: rtl; }
358
-
359
- .CodeMirror-code {
360
- outline: none;
361
- }
362
-
363
- /* Force content-box sizing for the elements where we expect it */
364
- .CodeMirror-scroll,
365
- .CodeMirror-sizer,
366
- .CodeMirror-gutter,
367
- .CodeMirror-gutters,
368
- .CodeMirror-linenumber {
369
- -moz-box-sizing: content-box;
370
- box-sizing: content-box;
371
- }
372
-
373
- .CodeMirror-measure {
374
- position: absolute;
375
- width: 100%;
376
- height: 0;
377
- overflow: hidden;
378
- visibility: hidden;
379
- }
380
-
381
- .CodeMirror-cursor {
382
- position: absolute;
383
- pointer-events: none;
384
- }
385
- .CodeMirror-measure pre { position: static; }
386
-
387
- div.CodeMirror-cursors {
388
- visibility: hidden;
389
- position: relative;
390
- z-index: 3;
391
- }
392
- div.CodeMirror-dragcursors {
393
- visibility: visible;
394
- }
395
-
396
- .CodeMirror-focused div.CodeMirror-cursors {
397
- visibility: visible;
398
- }
399
-
400
- .CodeMirror-selected { background: #d9d9d9; }
401
- .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
402
- .CodeMirror-crosshair { cursor: crosshair; }
403
- .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
404
- .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
405
-
406
- .cm-searching {
407
- background-color: #ffa;
408
- background-color: rgba(255, 255, 0, .4);
409
- }
410
-
411
- /* Used to force a border model for a node */
412
- .cm-force-border { padding-right: .1px; }
413
-
414
- @media print {
415
- /* Hide the cursor when printing */
416
- .CodeMirror div.CodeMirror-cursors {
417
- visibility: hidden;
418
- }
419
- }
420
-
421
- /* See issue #2901 */
422
- .cm-tab-wrap-hack:after { content: ''; }
423
-
424
- /* Help users use markselection to safely style text background */
425
- span.CodeMirror-selectedtext { background: none; }
426
-
427
-
428
- /*
429
- file https://github.com/codemirror/CodeMirror/blob/5.62.0/addon/lint/lint.css
430
- */
431
- /* The lint marker gutter */
432
- .CodeMirror-lint-markers {
433
- width: 16px;
434
- }
435
-
436
- .CodeMirror-lint-tooltip {
437
- background-color: #ffd;
438
- border: 1px solid black;
439
- border-radius: 4px 4px 4px 4px;
440
- color: black;
441
- font-family: monospace;
442
- font-size: 10pt;
443
- overflow: hidden;
444
- padding: 2px 5px;
445
- position: fixed;
446
- white-space: pre;
447
- white-space: pre-wrap;
448
- z-index: 100;
449
- max-width: 600px;
450
- opacity: 0;
451
- transition: opacity .4s;
452
- -moz-transition: opacity .4s;
453
- -webkit-transition: opacity .4s;
454
- -o-transition: opacity .4s;
455
- -ms-transition: opacity .4s;
456
- }
457
-
458
- .CodeMirror-lint-mark {
459
- background-position: left bottom;
460
- background-repeat: repeat-x;
461
- }
462
-
463
- .CodeMirror-lint-mark-warning {
464
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
465
- }
466
-
467
- .CodeMirror-lint-mark-error {
468
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==");
469
- }
470
-
471
- .CodeMirror-lint-marker {
472
- background-position: center center;
473
- background-repeat: no-repeat;
474
- cursor: pointer;
475
- display: inline-block;
476
- height: 16px;
477
- width: 16px;
478
- vertical-align: middle;
479
- position: relative;
480
- }
481
-
482
- .CodeMirror-lint-message {
483
- padding-left: 18px;
484
- background-position: top left;
485
- background-repeat: no-repeat;
486
- }
487
-
488
- .CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
489
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
490
- }
491
-
492
- .CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
493
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
494
- }
495
-
496
- .CodeMirror-lint-marker-multiple {
497
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
498
- background-repeat: no-repeat;
499
- background-position: right bottom;
500
- width: 100%; height: 100%;
501
- }
502
-
503
- .CodeMirror-lint-line-error {
504
- background-color: rgba(183, 76, 81, 0.08);
505
- }
506
-
507
- .CodeMirror-lint-line-warning {
508
- background-color: rgba(255, 211, 0, 0.1);
509
- }
510
-
511
-
512
- /*
513
- file none
514
- */
515
- /*jslint-enable*/
516
-
517
-
518
- </style>
519
- <style class="JSLINT_REPORT_STYLE">
520
- /* jslint utility2:true */
521
- /*csslint box-model: false, ids:false */
522
- /*csslint ignore:start*/
523
- @font-face {
524
- font-display: swap;
525
- font-family: "Daley";
526
- src: url(
527
- "data:font/woff2;base64,d09GMgABAAAAABy4AA4AAAAAThwAABxiAAEAAAAAAAAAAAAA\
528
- AAAAAAAAAAAAA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+WCJV5qEv193bcUELLR4iFu83xUedKy9353tn+3o01dF2bNEQ3fK9Q5tCXrCi\
655
- La+woCuvEeYrr+PiN2+i2V/eDJck580pyra8BV5ZIZbpe3kr5vJD3pqoGsnbcl/d+ndvR23b\
656
- K41M4dKwaAwDaMA1gZGBoQWAcYE9mYkmQOnAjkaG41FkGkIP2BAIgKvUvzhpE5JbA6lze2iL\
657
- 5Nr+AwiDo2W4BStvK30dKy0JGNbzAY5akexsrV0xo5K8rY50LOTLvDyukIZNbRLKOCk18mD3\
658
- WxmZGlsCMxNdGFYGNJnetUWyCPgo4BONEL4I9b8UeEBGYXuCdCd+DkctrqVLYXGSfE46kvAu\
659
- +ltK5SRxQPnjUqyJXsSYs6VY6WPKfns9+IXjHhd5wQvGipgFdMwVEQ+A7a2AAS0clQwH7KHW\
660
- SEGjhnklSVRghMtPy6gEtJRIKJeYkpQyQiequQunFOOU4BLdK1yp55olZS6npyPhMnvK7xIa\
661
- pyNj+JctcQLXenBOCms46aMkenIx45WpXqxxVJQLz/vgpmAVa0fmDv6Pue9xVTBPfVxCUGfj\
662
- 1R8uVi8Zu9nRFqk/t0gR6wmWOlzuKRqk33HpO8qQ+nbGoEZLL/0Va156SJ+u+t86/os7ic49\
663
- /7xoEqvL+2E8VOyCTuT/7j269Zy4jUtN+g4="
664
- ) format("woff2");
665
- }
666
- *,
667
- *:after,
668
- *:before {
669
- border: 0;
670
- box-sizing: border-box;
671
- margin: 0;
672
- padding: 0;
673
- }
674
- .JSLINT_ {
675
- -ms-text-size-adjust: none;
676
- -webkit-text-size-adjust: none;
677
- text-size-adjust: none;
678
- }
679
- /*csslint ignore:end*/
680
-
681
- .JSLINT_ {
682
- font-family: daley, sans-serif;
683
- font-size: 14px;
684
- }
685
- .JSLINT_ fieldset legend,
686
- .JSLINT_ .center {
687
- font-family: daley, sans-serif;
688
- font-size: 14px;
689
- text-align: center;
690
- }
691
- .JSLINT_ fieldset textarea,
692
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS dt,
693
- .JSLINT_ #JSLINT_REPORT_WARNINGS samp {
694
- font-size: 12px;
695
- }
696
- .JSLINT_ fieldset textarea,
697
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS > div {
698
- font-family: monospace;
699
- }
700
- .JSLINT_ fieldset > div {
701
- font-family: sans-serif;
702
- }
703
-
704
- body {
705
- background: antiquewhite;
706
- }
707
- .JSLINT_ fieldset {
708
- background: gainsboro;
709
- clear: both;
710
- margin: 16px 40px;
711
- width: auto;
712
- }
713
- .JSLINT_ fieldset address {
714
- float: right;
715
- }
716
- .JSLINT_ fieldset legend {
717
- background: darkslategray;
718
- color: white;
719
- padding: 4px 0;
720
- width: 100%;
721
- }
722
- .JSLINT_ fieldset textarea {
723
- padding: 4px;
724
- resize: none;
725
- white-space: pre;
726
- width: 100%;
727
- }
728
- .JSLINT_ fieldset textarea::selection {
729
- background: wheat;
730
- }
731
- .JSLINT_ fieldset > div {
732
- padding: 16px;
733
- width: 100%;
734
- word-wrap: break-word;
735
- }
736
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level {
737
- background: cornsilk;
738
- padding: 8px 16px;
739
- }
740
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level dd {
741
- line-height: 20px;
742
- padding-left: 120px;
743
- }
744
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level dfn {
745
- display: block;
746
- font-style: normal;
747
- font-weight: bold;
748
- line-height: 20px;
749
- }
750
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level dl {
751
- position: relative
752
- }
753
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level dt {
754
- font-style: italic;
755
- line-height: 20px;
756
- position: absolute;
757
- text-align: right;
758
- width: 100px;
759
- }
760
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level0 {
761
- background: white;
762
- }
763
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level1 {
764
- /* yellow */
765
- background: #ffffe0;
766
- margin-left: 16px;
767
- }
768
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level2 {
769
- /* green */
770
- background: #e0ffe0;
771
- margin-left: 32px;
772
- }
773
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level3 {
774
- /* blue */
775
- background: #D0D0ff;
776
- margin-left: 48px;
777
- }
778
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level4 {
779
- /* purple */
780
- background: #ffe0ff;
781
- margin-left: 64px;
782
- }
783
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level5 {
784
- /* red */
785
- background: #ffe0e0;
786
- margin-left: 80px;
787
- }
788
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level6 {
789
- /* orange */
790
- background: #ffe390;
791
- margin-left: 96px;
792
- }
793
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level7 {
794
- /* gray */
795
- background: #e0e0e0;
796
- margin-left: 112px;
797
- }
798
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level8 {
799
- margin-left: 128px;
800
- }
801
- .JSLINT_ #JSLINT_REPORT_FUNCTIONS .level9 {
802
- margin-left: 144px;
803
- }
804
- .JSLINT_ #JSLINT_REPORT_PROPERTIES {
805
- background: transparent;
806
- }
807
- .JSLINT_ #JSLINT_REPORT_PROPERTIES textarea {
808
- background: honeydew;
809
- height: 100px;
810
- }
811
- .JSLINT_ #JSLINT_REPORT_TITLE {
812
- color: darkslategray;
813
- font-size: 32px;
814
- padding-top: 16px;
815
- text-align: center;
816
- }
817
- .JSLINT_ #JSLINT_REPORT_WARNINGS cite {
818
- display: block;
819
- margin: 16px 0 4px 0;
820
- overflow-x: hidden;
821
- white-space: pre-line;
822
- }
823
- .JSLINT_ #JSLINT_REPORT_WARNINGS cite:nth-child(1) {
824
- margin-top: 0;
825
- }
826
- .JSLINT_ #JSLINT_REPORT_WARNINGS samp {
827
- background: lavenderblush;
828
- display: block;
829
- padding: 4px;
830
- white-space: pre-wrap;
831
- }
832
- .JSLINT_ #JSLINT_REPORT_WARNINGS > div {
833
- background: pink;
834
- max-height: 400px;
835
- overflow-y: auto;
836
- }
837
- .JSLINT_ #JSLINT_REPORT_WARNINGS > legend {
838
- /* Google Lighthouse Accessibility - Background and foreground colors do not */
839
- /* have a sufficient contrast ratio. */
840
- /* background: indianred; */
841
- background: #b44;
842
- }
843
- </style>
844
- <style>
845
- /*csslint
846
- box-model: false,
847
- ids:false,
848
- overqualified-elements: false
849
- */
850
- /*csslint ignore:start*/
851
- @keyframes uiLoaderEllipsis1 {
852
- from {
853
- opacity: 0;
854
- }
855
- 25% {
856
- opacity: 1;
857
- }
858
- }
859
- @keyframes uiLoaderEllipsis2 {
860
- from {
861
- opacity: 0;
862
- }
863
- 50% {
864
- opacity: 1;
865
- }
866
- }
867
- @keyframes uiLoaderEllipsis3 {
868
- from {
869
- opacity: 0;
870
- }
871
- 75% {
872
- opacity: 1;
873
- }
874
- }
875
- .JSLINT_ .CodeMirror .cm-trailingspace,
876
- .JSLINT_ .CodeMirror-lint-mark-warning {
877
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==");
878
- background-position: bottom left;
879
- background-repeat: repeat-x;
880
- }
881
- /*csslint ignore:end*/
882
-
883
- .JSLINT_ #JSLINT_BUTTONS button,
884
- .JSLINT_ #JSLINT_OPTIONS > div,
885
- .JSLINT_ #JSLINT_TITLEBOX {
886
- font-family: daley, sans-serif;
887
- font-size: 14px;
888
- }
889
- .JSLINT_ #JSLINT_OPTIONS label {
890
- font-family: sans-serif;
891
- }
892
- .JSLINT_ #JSLINT_REPORT_TITLE {
893
- display: none;
894
- }
895
- .JSLINT_ #JSLINT_SOURCE .CodeMirror,
896
- .JSLINT_ #JSLINT_SOURCE .CodeMirror pre {
897
- font-family: monospace;
898
- font-size: 12px;
899
- }
900
- .skip-link {
901
- background: darkslategray;
902
- color: white;
903
- left: 0;
904
- opacity: 0.75;
905
- padding: 4px;
906
- position: absolute;
907
- top: -40px;
908
- }
909
- .skip-link:focus {
910
- top: 0;
911
- }
912
- #bannerFork1 {
913
- height: 100px;
914
- left: 0;
915
- opacity: 0.75;
916
- overflow: hidden;
917
- position: absolute;
918
- top: 0;
919
- width: 200px;
920
- z-index: 1;
921
- }
922
- #bannerFork1 a {
923
- color: white;
924
- }
925
- #bannerFork1 div {
926
- background: darkslategray;
927
- font-size: 12px;
928
- height: 20px;
929
- line-height: 20px;
930
- opacity: 0.75;
931
- overflow: visible;
932
- position: absolute;
933
- right: 65px;
934
- text-align: center;
935
- top: 25px;
936
- transform: rotate(-45deg);
937
- width: 100%;
938
- }
939
- #uiLoader1 {
940
- align-items: center;
941
- background: lightslategray;
942
- color: white;
943
- display: flex;
944
- height: 50px;
945
- justify-content: center;
946
- left: 50%;
947
- margin: -50px 0 0 -100px;
948
- opacity: 0.85;
949
- position: fixed;
950
- top: 40%;
951
- width: 200px;
952
- z-index: 10;
953
- }
954
-
955
- .JSLINT_ .CodeMirror {
956
- padding: 0;
957
- }
958
- .JSLINT_ .CodeMirror-linenumber {
959
- /* Google Lighthouse Accessibility - Background and foreground colors do not */
960
- /* have a sufficient contrast ratio. */
961
- color: darkslategray;
962
- }
963
- .JSLINT_ .CodeMirror-lint-marker {
964
- background-position: 1px -1px;
965
- }
966
- .JSLINT_ .CodeMirror-selected {
967
- background: wheat;
968
- }
969
- .JSLINT_ .uiLoaderEllipsis span {
970
- animation: uiLoaderEllipsis1 1s infinite steps(1);
971
- }
972
- .JSLINT_ .uiLoaderEllipsis span:first-child + span {
973
- animation-name: uiLoaderEllipsis2;
974
- }
975
- .JSLINT_ .uiLoaderEllipsis span:first-child + span + span {
976
- animation-name: uiLoaderEllipsis3;
977
- }
978
- .JSLINT_ #JSLINT_BUTTONS button {
979
- background: darkslategray;
980
- color: white;
981
- cursor: pointer;
982
- margin: 16px 16px 0 16px;
983
- padding: 4px 16px;
984
- }
985
- .JSLINT_ #JSLINT_GLOBALS {
986
- height: 40px;
987
- white-space: normal;
988
- }
989
- .JSLINT_ #JSLINT_INPUT > div {
990
- margin: 16px 40px;
991
- width: auto;
992
- }
993
- .JSLINT_ #JSLINT_INPUT > #JSLINT_BUTTONS {
994
- margin-top: -16px;
995
- }
996
- .JSLINT_ #JSLINT_OPTIONS div[title],
997
- .JSLINT_ #JSLINT_OPTIONS div[title] input,
998
- .JSLINT_ #JSLINT_OPTIONS div[title] label {
999
- cursor: pointer;
1000
- user-select: none;
1001
- }
1002
- .JSLINT_ #JSLINT_OPTIONS div[title] input {
1003
- margin: 0 4px 1px 0;
1004
- vertical-align: middle;
1005
- zoom: 1.1;
1006
- }
1007
- .JSLINT_ #JSLINT_OPTIONS label {
1008
- padding: 4px;
1009
- }
1010
- .JSLINT_ #JSLINT_OPTIONS > div > div {
1011
- float: left;
1012
- line-height: 20px;
1013
- padding: 0 16px 16px 0;
1014
- }
1015
- .JSLINT_ #JSLINT_SOURCE textarea {
1016
- /* Google Lighthouse Performance - Reduce Cumulative Layout Shift. */
1017
- height: 298px;
1018
- }
1019
- .JSLINT_ #JSLINT_TITLEBOX {
1020
- color: darkslategray;
1021
- }
1022
- .JSLINT_ #JSLINT_TITLEBOX ul li {
1023
- line-height: 28px;
1024
- }
1025
- .JSLINT_ #JSLINT_TITLEBOX ul li a:link {
1026
- color: black;
1027
- }
1028
- .JSLINT_ #JSLINT_TITLEBOX ul li a:visited {
1029
- color: #69565c;
1030
- }
1031
-
1032
- .JSLINT_ #JSLINT_BUTTONS button:hover,
1033
- .JSLINT_ #JSLINT_OPTIONS div[title]:hover {
1034
- background: slategray;
1035
- color: white;
1036
- }
1037
-
1038
- .JSLINT_ #JSLINT_BUTTONS button:active {
1039
- color: black;
1040
- }
1041
- </style>
1042
- </head>
1043
- <body class="JSLINT_">
1044
- <!-- Google Lighthouse Accessibility -->
1045
- <!-- The page does not contain a heading, skip link, or landmark region -->
1046
- <a class="skip-link" href="#JSLINT_INPUT">Skip to main</a>
1047
- <div id="bannerFork1">
1048
- <div><a href="https://github.com/jslint-org/jslint">Fork on github</a></div>
1049
- </div>
1050
- <div id="uiLoader1">
1051
- <div>Loading modules</div>
1052
- &nbsp;
1053
- <span class="uiLoaderEllipsis">
1054
- <span>.</span>
1055
- <span>.</span>
1056
- <span>.</span>
1057
- </span>
1058
- </div>
1059
- <main id="JSLINT_INPUT">
1060
- <div id="JSLINT_TITLEBOX">
1061
- <div style="float: left; margin-bottom: 16px;">
1062
- <div style="font-size: 50px;">JSLint</div>
1063
- <div id="JSLINT_EDITION" style="font-size: 14px;">&nbsp;</div>
1064
- </div>
1065
- <ul style="float: right; font-size: 14.5px; margin-top: -10px;">
1066
- <li><a href="help.html">Read the instructions.</a></li>
1067
- <li><a href="https://www.amazon.com/dp/1949815005/wrrrldwideweb"><i>How JavaScript Works</i> by Douglas Crockford.</a></li>
1068
- <li><a href="https://github.com/jslint-org/jslint/issues">Report a bug or issue.</a></li>
1069
- </ul>
1070
- </div>
1071
- <fieldset id="JSLINT_SOURCE">
1072
- <legend>Source</legend>
1073
- <textarea></textarea>
1074
- </fieldset>
1075
- <div class="center" id="JSLINT_BUTTONS">
1076
- <button class="center" name="JSLint" title="Ctrl + Enter">JSLint</button>
1077
- <button class="center" name="clear_source">Clear Source</button>
1078
- <button class="center" name="clear_options">Clear Options</button>
1079
- </div>
1080
- <fieldset id="JSLINT_OPTIONS">
1081
- <legend>Options</legend>
1082
- <div>
1083
- <div>Env...
1084
- <div title="Assume browser environment.">
1085
- <label><input type="checkbox" value="browser">browser</label>
1086
- </div>
1087
- <div title="Allow console.log() and friends.">
1088
- <label><input type="checkbox" value="devel">devel</label>
1089
- </div>
1090
- <div title="Assume Node.js environment.">
1091
- <label><input type="checkbox" value="node">node</label>
1092
- </div>
1093
- <div title="Include jslint stack-trace in warnings.">
1094
- <label><input type="checkbox" value="trace">trace</label>
1095
- </div>
1096
- </div>
1097
- <div>Allow...
1098
- <div title="Enable experimental warnings.">
1099
- <label><input type="checkbox" value="beta">beta</label>
1100
- </div>
1101
- <div title="Allow bitwise operators.">
1102
- <label><input type="checkbox" value="bitwise">bitwise</label>
1103
- </div>
1104
- <div title="Allow conversion operators.">
1105
- <label><input type="checkbox" value="convert">convert</label>
1106
- </div>
1107
- <div title="Allow for-statement.">
1108
- <label><input type="checkbox" value="for">for</label>
1109
- </div>
1110
- </div>
1111
- <div>&nbsp;
1112
- <div title="Allow get() and set().">
1113
- <label><input type="checkbox" value="getset">getset</label>
1114
- </div>
1115
- <div title="Use 2-space indent.">
1116
- <label><input type="checkbox" value="indent2">indent2</label>
1117
- </div>
1118
- <div title="Allow long lines.">
1119
- <label><input type="checkbox" value="long">long</label>
1120
- </div>
1121
- <div title="Allow weird property names.">
1122
- <label><input type="checkbox" value="name">name</label>
1123
- </div>
1124
- </div>
1125
- <div>&nbsp;
1126
- <div title="Allow single-quote strings.">
1127
- <label><input type="checkbox" value="single">single</label>
1128
- </div>
1129
- <div title="Allow 'this'.">
1130
- <label><input type="checkbox" value="this">this</label>
1131
- </div>
1132
- <div title="Allow unordered cases, params, properties, and variables.">
1133
- <label><input type="checkbox" value="unordered">unordered</label>
1134
- </div>
1135
- <div title="Allow unordered const and let declarations that are not at top of function-scope.">
1136
- <label><input type="checkbox" value="variable">variable</label>
1137
- </div>
1138
- </div>
1139
- <div>&nbsp;
1140
- <div title="Allow messy whitespace.">
1141
- <label><input type="checkbox" value="white">white</label>
1142
- </div>
1143
- </div>
1144
- <textarea
1145
- id="JSLINT_GLOBALS"
1146
- placeholder="imported globals (e.g. caches, indexedDb)"
1147
- spellcheck="false"
1148
- title="globals"
1149
- ></textarea>
1150
- </div>
1151
- </fieldset>
1152
- </main>
1153
- <div id="JSLINT_REPORT_HTML"></div>
1154
- <script defer src="asset_codemirror_rollup.js"></script>
1155
- <script type="module">
1156
- // browser.mjs
1157
- // Original Author: Douglas Crockford (https://www.jslint.com).
1158
-
1159
- // This is free and unencumbered software released into the public domain.
1160
-
1161
- // Anyone is free to copy, modify, publish, use, compile, sell, or
1162
- // distribute this software, either in source code form or as a compiled
1163
- // binary, for any purpose, commercial or non-commercial, and by any
1164
- // means.
1165
-
1166
- // In jurisdictions that recognize copyright laws, the author or authors
1167
- // of this software dedicate any and all copyright interest in the
1168
- // software to the public domain. We make this dedication for the benefit
1169
- // of the public at large and to the detriment of our heirs and
1170
- // successors. We intend this dedication to be an overt act of
1171
- // relinquishment in perpetuity of all present and future rights to this
1172
- // software under copyright law.
1173
-
1174
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1175
- // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1176
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1177
- // IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
1178
- // OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1179
- // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1180
- // OTHER DEALINGS IN THE SOFTWARE.
1181
-
1182
- // For more information, please refer to <https://unlicense.org/>
1183
-
1184
-
1185
- /*jslint beta, browser*/
1186
-
1187
- /*property
1188
- jslint_edition, jslint_report,
1189
- CodeMirror, Pos, Tab, addEventListener, checked, click, closest, column,
1190
- ctrlKey, currentTarget, dispatchEvent, display, dom_style_report_unmatched,
1191
- editor, error, extraKeys, focus, forEach, from, fromTextArea,
1192
- globals, gutters, indentSelection, indentUnit, indentWithTabs, innerHTML,
1193
- jslint, key, length, line, lineNumbers, lineWrapping, lint, lintOnChange,
1194
- map, matchBrackets, message, metaKey, mode, mode_stop, name, offsetWidth,
1195
- onclick, onkeyup, outerHTML, performLint, preventDefault, push,
1196
- querySelector, querySelectorAll, registerHelper, replace, replaceSelection,
1197
- result, reverse, search, setSize, setValue, severity,
1198
- showTrailingSpace, somethingSelected, sort, split, stopPropagation, style,
1199
- target, test, textContent, to, trim, value, warnings, width
1200
- */
1201
-
1202
- import jslint from "./jslint.mjs";
1203
-
1204
- // This is the web script companion file for JSLint. It includes code for
1205
- // interacting with the browser and displaying the reports.
1206
-
1207
- let editor;
1208
- let jslint_option_dict = {
1209
- lintOnChange: false
1210
- };
1211
- let mode_debug;
1212
-
1213
- function dom_style_report_unmatched() {
1214
-
1215
- // Debug css-style.
1216
-
1217
- let style_list = [];
1218
- Array.from(document.querySelectorAll("style")).forEach(function (elem) {
1219
- elem.innerHTML.replace((
1220
- /\/\*[\S\s]*?\*\/|;|\}/g
1221
- ), "\n").replace((
1222
- /^([^\n @].*?)[,{:].*?$/gm
1223
- ), function (match0, match1) {
1224
- let ii;
1225
- try {
1226
- ii = document.querySelectorAll(match1).length;
1227
- } catch (err) {
1228
- console.error(match1 + "\n" + err); //jslint-quiet
1229
- }
1230
- if (ii <= 1 && !(
1231
- /^0 (?:(body > )?(?:\.button|\.readonly|\.styleColorError|\.textarea|\.uiAnimateSlide|a|base64|body|code|div|input|pre|textarea)(?:,| \{))|^[1-9]\d*? #/m
1232
- ).test(ii + " " + match0)) {
1233
- style_list.push(ii + " " + match0);
1234
- }
1235
- return "";
1236
- });
1237
- });
1238
- style_list.sort().reverse().forEach(function (elem, ii, list) {
1239
- console.error( //jslint-quiet
1240
- "dom_style_report_unmatched " + (list.length - ii) + ". " + elem
1241
- );
1242
- });
1243
- }
1244
-
1245
- function jslint_plugin_codemirror(CodeMirror) {
1246
-
1247
- // This function will integrate jslint with CodeMirror's lint addon.
1248
- // Requires CodeMirror and jslint.
1249
-
1250
- CodeMirror.registerHelper("lint", "javascript", function (text, options) {
1251
- options.result = jslint.jslint(text, options, options.globals);
1252
- return options.result.warnings.map(function ({
1253
- column,
1254
- line,
1255
- message,
1256
- mode_stop
1257
- }) {
1258
- return {
1259
- from: CodeMirror.Pos(line - 1, column - 1), //jslint-quiet
1260
- message,
1261
- severity: (
1262
- mode_stop
1263
- ? "error"
1264
- : "warning"
1265
- ),
1266
- to: CodeMirror.Pos(line - 1, column) //jslint-quiet
1267
- };
1268
- });
1269
- });
1270
- }
1271
-
1272
- async function jslint_ui_call() {
1273
- // This function will run jslint in browser and create html-reports.
1274
-
1275
- // Show ui-loader-animation.
1276
-
1277
- document.querySelector("#uiLoader1 > div").textContent = "Linting";
1278
- document.querySelector("#uiLoader1").style.display = "flex";
1279
- try {
1280
-
1281
- // Wait awhile before running cpu-intensive linter so ui-loader doesn't jank.
1282
-
1283
- await new Promise(function (resolve) {
1284
- setTimeout(resolve);
1285
- });
1286
-
1287
- // Update jslint_option_dict from ui-inputs.
1288
-
1289
- document.querySelectorAll(
1290
- "#JSLINT_OPTIONS input[type=checkbox]"
1291
- ).forEach(function (elem) {
1292
- jslint_option_dict[elem.value] = elem.checked;
1293
- });
1294
-
1295
- // Execute linter.
1296
-
1297
- editor.performLint();
1298
-
1299
- // Generate the reports.
1300
- // Display the reports.
1301
-
1302
- document.querySelector(
1303
- "#JSLINT_REPORT_HTML"
1304
- ).outerHTML = jslint.jslint_report(jslint_option_dict.result);
1305
- jslint_ui_onresize();
1306
- } catch (err) {
1307
- console.error(err); //jslint-quiet
1308
- }
1309
-
1310
- // Hide ui-loader-animation.
1311
-
1312
- setTimeout(function () {
1313
- document.querySelector("#uiLoader1").style.display = "none";
1314
- }, 500);
1315
- }
1316
-
1317
- function jslint_ui_onresize() {
1318
- let content_width = document.querySelector(
1319
- "#JSLINT_OPTIONS"
1320
- ).offsetWidth;
1321
-
1322
- // Set explicit content-width for overflow to work properly.
1323
-
1324
- document.querySelectorAll(
1325
- ".JSLINT_ fieldset > div"
1326
- ).forEach(function (elem) {
1327
- if (!elem.closest("#JSLINT_OPTIONS")) {
1328
- elem.style.width = content_width + "px";
1329
- }
1330
- });
1331
- editor.setSize(content_width);
1332
- }
1333
-
1334
- (function () {
1335
- let CodeMirror = window.CodeMirror;
1336
-
1337
- // Init edition.
1338
-
1339
- document.querySelector("#JSLINT_EDITION").textContent = (
1340
- "Edition: " + jslint.jslint_edition
1341
- );
1342
-
1343
- // Init mode_debug.
1344
- mode_debug = (
1345
- /\bdebug=1\b/
1346
- ).test(location.search);
1347
-
1348
- // Init CodeMirror editor.
1349
-
1350
- editor = CodeMirror.fromTextArea(document.querySelector(
1351
- "#JSLINT_SOURCE textarea"
1352
- ), {
1353
- extraKeys: {
1354
- "Shift-Tab": "indentLess",
1355
- Tab: function (cm) {
1356
- if (cm.somethingSelected()) {
1357
- cm.indentSelection("add");
1358
- return;
1359
- }
1360
- cm.replaceSelection(" ");
1361
- }
1362
- },
1363
- gutters: ["CodeMirror-lint-markers"],
1364
- indentUnit: 4,
1365
- indentWithTabs: false,
1366
- lineNumbers: true,
1367
- lineWrapping: true,
1368
- lint: jslint_option_dict,
1369
- matchBrackets: true,
1370
- mode: "text/javascript",
1371
- showTrailingSpace: true
1372
- });
1373
- window.editor = editor;
1374
-
1375
- // Init CodeMirror linter.
1376
-
1377
- jslint_plugin_codemirror(CodeMirror);
1378
-
1379
- // Init event-handling.
1380
-
1381
- document.addEventListener("keydown", function (evt) {
1382
- switch ((evt.ctrlKey || evt.metaKey) && evt.key) {
1383
- case "Enter":
1384
- case "e":
1385
- evt.preventDefault();
1386
- evt.stopPropagation();
1387
- jslint_ui_call();
1388
- break;
1389
- }
1390
- });
1391
- document.querySelector(
1392
- "#JSLINT_BUTTONS"
1393
- ).onclick = function ({
1394
- target
1395
- }) {
1396
- switch (target.name) {
1397
- case "JSLint":
1398
- jslint_ui_call();
1399
- break;
1400
- case "clear_options":
1401
- document.querySelectorAll(
1402
- "#JSLINT_OPTIONS input[type=checkbox]"
1403
- ).forEach(function (elem) {
1404
- elem.checked = false;
1405
- });
1406
- document.querySelector("#JSLINT_GLOBALS").value = "";
1407
- document.querySelector("#JSLINT_OPTIONS").click();
1408
- document.querySelector("#JSLINT_GLOBALS").dispatchEvent(
1409
- new Event("keyup")
1410
- );
1411
- break;
1412
- case "clear_source":
1413
- editor.setValue("");
1414
- editor.focus();
1415
- break;
1416
- }
1417
- };
1418
- document.querySelector(
1419
- "#JSLINT_GLOBALS"
1420
- ).onkeyup = function ({
1421
- currentTarget
1422
- }) {
1423
- jslint_option_dict.globals = currentTarget.value.trim().split(
1424
- /[\s,;'"]+/
1425
- );
1426
- };
1427
- document.querySelector(
1428
- "#JSLINT_OPTIONS"
1429
- ).onclick = function (evt) {
1430
- let elem;
1431
- elem = evt.target.closest(
1432
- "#JSLINT_OPTIONS div[title]"
1433
- );
1434
- elem = elem && elem.querySelector("input[type=checkbox]");
1435
- if (elem && elem !== evt.target) {
1436
- evt.preventDefault();
1437
- evt.stopPropagation();
1438
- elem.checked = !elem.checked;
1439
- }
1440
- };
1441
- window.addEventListener("load", jslint_ui_onresize);
1442
- window.addEventListener("resize", jslint_ui_onresize);
1443
- if (!mode_debug) {
1444
- editor.setValue(String(`
1445
- #!/usr/bin/env node
1446
- /*jslint browser, node*/
1447
- /*global caches, indexedDb*/
1448
- import https from "https";
1449
- import jslint from \u0022./jslint.mjs\u0022;
1450
-
1451
- /*jslint-disable*/
1452
- Syntax error.\u0020\u0020\u0020\u0020
1453
- /*jslint-enable*/
1454
-
1455
- eval("console.log(\\"hello world\\");"); //jslint-quiet
1456
-
1457
- eval("console.log(\\"hello world\\");");
1458
-
1459
- // Optional directives.
1460
- // .... /*jslint beta*/ .......... Enable experimental warnings.
1461
- // .... /*jslint bitwise*/ ....... Allow bitwise operators.
1462
- // .... /*jslint browser*/ ....... Assume browser environment.
1463
- // .... /*jslint convert*/ ....... Allow conversion operators.
1464
- // .... /*jslint devel*/ ......... Allow console.log() and friends.
1465
- // .... /*jslint for*/ ........... Allow for-statement.
1466
- // .... /*jslint getset*/ ........ Allow get() and set().
1467
- // .... /*jslint indent2*/ ....... Use 2-space indent.
1468
- // .... /*jslint long*/ .......... Allow long lines.
1469
- // .... /*jslint name*/ .......... Allow weird property names.
1470
- // .... /*jslint node*/ .......... Assume Node.js environment.
1471
- // .... /*jslint single*/ ........ Allow single-quote strings.
1472
- // .... /*jslint this*/ .......... Allow 'this'.
1473
- // .... /*jslint trace*/ ......... Include jslint stack-trace in warnings.
1474
- // .... /*jslint unordered*/ ..... Allow unordered cases, params, properties,
1475
- // ................................... and variables.
1476
- // .... /*jslint variable*/ ...... Allow unordered const and let declarations
1477
- // ................................... that are not at top of function-scope.
1478
- // .... /*jslint white*/ ......... Allow messy whitespace.
1479
-
1480
- (async function () {
1481
- let result = await new Promise(function (resolve) {
1482
- https.request("https://www.jslint.com/jslint.mjs", function (res) {
1483
- result = "";
1484
- res.on("data", function (chunk) {
1485
- result += chunk;
1486
- }).on("end", function () {
1487
- resolve(result);
1488
- }).setEncoding("utf8");
1489
- }).end();
1490
- });
1491
- result = jslint.jslint(result);
1492
- result.warnings.forEach(function ({
1493
- formatted_message
1494
- }) {
1495
- console.error(formatted_message);
1496
- });
1497
- }());
1498
- `).trim() + "\n");
1499
- }
1500
- if (mode_debug) {
1501
- document.querySelector(
1502
- "#JSLINT_OPTIONS input[value=trace]"
1503
- ).click();
1504
- }
1505
- document.querySelector("button[name='JSLint']").click();
1506
-
1507
- // Debug css-style.
1508
-
1509
- window.dom_style_report_unmatched = dom_style_report_unmatched;
1510
- }());
1511
- </script>
1512
- </body></html>