Skip to content

Commit 0af140e

Browse files
committed
Remove HTML tags from the rest of the modules reference examples
1 parent 12a5ee0 commit 0af140e

54 files changed

Lines changed: 1080 additions & 5144 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/core/constants.js

Lines changed: 10 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ export const WAIT = 'wait';
146146
* @final
147147
*
148148
* @example
149-
* <div>
150-
* <code>
151149
* function setup() {
152150
* createCanvas(100, 100);
153151
*
@@ -158,11 +156,8 @@ export const WAIT = 'wait';
158156
*
159157
* describe('The bottom-right quarter of a circle drawn in white on a gray background.');
160158
* }
161-
* </code>
162-
* </div>
163159
*
164-
* <div>
165-
* <code>
160+
* @example
166161
* function setup() {
167162
* createCanvas(100, 100);
168163
*
@@ -182,11 +177,8 @@ export const WAIT = 'wait';
182177
*
183178
* describe('Two black lines on a gray background. One line extends from the center to the right. The other line extends from the center to the bottom.');
184179
* }
185-
* </code>
186-
* </div>
187180
*
188-
* <div>
189-
* <code>
181+
* @example
190182
* function setup() {
191183
* createCanvas(100, 100);
192184
*
@@ -216,8 +208,6 @@ export const WAIT = 'wait';
216208
* fill(0, 0, 255);
217209
* circle(x2, 0, 20);
218210
* }
219-
* </code>
220-
* </div>
221211
*/
222212
export const HALF_PI = _PI / 2;
223213

@@ -235,8 +225,6 @@ export const HALF_PI = _PI / 2;
235225
* @final
236226
*
237227
* @example
238-
* <div>
239-
* <code>
240228
* function setup() {
241229
* createCanvas(100, 100);
242230
*
@@ -247,11 +235,8 @@ export const HALF_PI = _PI / 2;
247235
*
248236
* describe('The bottom half of a circle drawn in white on a gray background.');
249237
* }
250-
* </code>
251-
* </div>
252238
*
253-
* <div>
254-
* <code>
239+
* @example
255240
* function setup() {
256241
* createCanvas(100, 100);
257242
*
@@ -271,11 +256,8 @@ export const HALF_PI = _PI / 2;
271256
*
272257
* describe('A horizontal black line on a gray background.');
273258
* }
274-
* </code>
275-
* </div>
276259
*
277-
* <div>
278-
* <code>
260+
* @example
279261
* function setup() {
280262
* createCanvas(100, 100);
281263
*
@@ -305,8 +287,6 @@ export const HALF_PI = _PI / 2;
305287
* fill(0, 0, 255);
306288
* circle(x2, 0, 20);
307289
* }
308-
* </code>
309-
* </div>
310290
*/
311291
export const PI = _PI;
312292

@@ -325,8 +305,6 @@ export const PI = _PI;
325305
* @final
326306
*
327307
* @example
328-
* <div>
329-
* <code>
330308
* function setup() {
331309
* createCanvas(100, 100);
332310
*
@@ -337,11 +315,8 @@ export const PI = _PI;
337315
*
338316
* describe('A one-eighth slice of a circle drawn in white on a gray background.');
339317
* }
340-
* </code>
341-
* </div>
342318
*
343-
* <div>
344-
* <code>
319+
* @example
345320
* function setup() {
346321
* createCanvas(100, 100);
347322
*
@@ -361,11 +336,8 @@ export const PI = _PI;
361336
*
362337
* describe('Two black lines that form a "V" opening towards the bottom-right corner of a gray square.');
363338
* }
364-
* </code>
365-
* </div>
366339
*
367-
* <div>
368-
* <code>
340+
* @example
369341
* function setup() {
370342
* createCanvas(100, 100);
371343
*
@@ -395,8 +367,6 @@ export const PI = _PI;
395367
* fill(0, 0, 255);
396368
* circle(x2, 0, 20);
397369
* }
398-
* </code>
399-
* </div>
400370
*/
401371
export const QUARTER_PI = _PI / 4;
402372

@@ -415,8 +385,6 @@ export const QUARTER_PI = _PI / 4;
415385
* @final
416386
*
417387
* @example
418-
* <div>
419-
* <code>
420388
* function setup() {
421389
* createCanvas(100, 100);
422390
*
@@ -427,11 +395,8 @@ export const QUARTER_PI = _PI / 4;
427395
*
428396
* describe('A white circle drawn on a gray background.');
429397
* }
430-
* </code>
431-
* </div>
432398
*
433-
* <div>
434-
* <code>
399+
* @example
435400
* function setup() {
436401
* createCanvas(100, 100);
437402
*
@@ -456,11 +421,8 @@ export const QUARTER_PI = _PI / 4;
456421
* 'Two horizontal black lines on a gray background. A thick line extends from the center toward the right. A thin line extends from the end of the thick line.'
457422
* );
458423
* }
459-
* </code>
460-
* </div>
461424
*
462-
* <div>
463-
* <code>
425+
* @example
464426
* function setup() {
465427
* createCanvas(100, 100);
466428
*
@@ -490,8 +452,6 @@ export const QUARTER_PI = _PI / 4;
490452
* fill(0, 0, 255);
491453
* circle(x2, 0, 10);
492454
* }
493-
* </code>
494-
* </div>
495455
*/
496456
export const TAU = _PI * 2;
497457

@@ -510,8 +470,6 @@ export const TAU = _PI * 2;
510470
* @final
511471
*
512472
* @example
513-
* <div>
514-
* <code>
515473
* function setup() {
516474
* createCanvas(100, 100);
517475
*
@@ -522,11 +480,8 @@ export const TAU = _PI * 2;
522480
*
523481
* describe('A white circle drawn on a gray background.');
524482
* }
525-
* </code>
526-
* </div>
527483
*
528-
* <div>
529-
* <code>
484+
* @example
530485
* function setup() {
531486
* createCanvas(100, 100);
532487
*
@@ -551,11 +506,8 @@ export const TAU = _PI * 2;
551506
* 'Two horizontal black lines on a gray background. A thick line extends from the center toward the right. A thin line extends from the end of the thick line.'
552507
* );
553508
* }
554-
* </code>
555-
* </div>
556509
*
557-
* <div>
558-
* <code>
510+
* @example
559511
* function setup() {
560512
* createCanvas(100, 100);
561513
*
@@ -585,8 +537,6 @@ export const TAU = _PI * 2;
585537
* fill(0, 0, 255);
586538
* circle(x2, 0, 10);
587539
* }
588-
* </code>
589-
* </div>
590540
*/
591541
export const TWO_PI = _PI * 2;
592542

0 commit comments

Comments
 (0)