soiz1 commited on
Commit
9fc0954
·
verified ·
1 Parent(s): 77352ac

Update src/extensions/jg_dev/index.js

Browse files
Files changed (1) hide show
  1. src/extensions/jg_dev/index.js +150 -0
src/extensions/jg_dev/index.js CHANGED
@@ -316,6 +316,14 @@ class JgDevBlocks {
316
  }
317
  }
318
  },
 
 
 
 
 
 
 
 
319
  {
320
  opcode: 'costumeTypeTest',
321
  blockType: BlockType.REPORTER,
@@ -366,6 +374,148 @@ class JgDevBlocks {
366
  }
367
  }
368
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
369
  {
370
  blockType: BlockType.LABEL,
371
  text: "switching test cases"
 
316
  }
317
  }
318
  },
319
+ {
320
+ opcode: 'docsScreenshotBlock',
321
+ text: 'text',
322
+ blockType: BlockType.REPORTER,
323
+ blockShape: BlockShape.TICKET,
324
+ color1: '#0088FF',
325
+ disableMonitor: true
326
+ },
327
  {
328
  opcode: 'costumeTypeTest',
329
  blockType: BlockType.REPORTER,
 
374
  }
375
  }
376
  },
377
+ {
378
+ blockType: BlockType.LABEL,
379
+ text: "Native CUSTOM_SHAPES"
380
+ },
381
+ {
382
+ opcode: 'customShapeOCTAGONAL',
383
+ text: 'custom shape OCTAGONAL [TEST]',
384
+ forceOutputType: BlockShape.OCTAGONAL,
385
+ blockShape: BlockShape.OCTAGONAL,
386
+ blockType: BlockType.REPORTER,
387
+ arguments: {
388
+ TEST: {
389
+ type: ArgumentType.STRING,
390
+ }
391
+ }
392
+ },
393
+ {
394
+ opcode: 'customShapeBUMPED',
395
+ text: 'custom shape BUMPED [TEST]',
396
+ forceOutputType: BlockShape.BUMPED,
397
+ blockShape: BlockShape.BUMPED,
398
+ blockType: BlockType.REPORTER,
399
+ arguments: {
400
+ TEST: {
401
+ type: ArgumentType.STRING,
402
+ }
403
+ }
404
+ },
405
+ {
406
+ opcode: 'customShapeINDENTED',
407
+ text: 'custom shape INDENTED [TEST]',
408
+ forceOutputType: BlockShape.INDENTED,
409
+ blockShape: BlockShape.INDENTED,
410
+ blockType: BlockType.REPORTER,
411
+ arguments: {
412
+ TEST: {
413
+ type: ArgumentType.STRING,
414
+ }
415
+ }
416
+ },
417
+ {
418
+ opcode: 'customShapeSCRAPPED',
419
+ text: 'custom shape SCRAPPED [TEST]',
420
+ forceOutputType: BlockShape.SCRAPPED,
421
+ blockShape: BlockShape.SCRAPPED,
422
+ blockType: BlockType.REPORTER,
423
+ arguments: {
424
+ TEST: {
425
+ type: ArgumentType.STRING,
426
+ }
427
+ }
428
+ },
429
+ {
430
+ opcode: 'customShapeARROW',
431
+ text: 'custom shape ARROW [TEST]',
432
+ forceOutputType: BlockShape.ARROW,
433
+ blockShape: BlockShape.ARROW,
434
+ blockType: BlockType.REPORTER,
435
+ arguments: {
436
+ TEST: {
437
+ type: ArgumentType.STRING,
438
+ }
439
+ }
440
+ },
441
+ {
442
+ opcode: 'customShapeTICKET',
443
+ text: 'custom shape TICKET [TEST]',
444
+ forceOutputType: BlockShape.TICKET,
445
+ blockShape: BlockShape.TICKET,
446
+ blockType: BlockType.REPORTER,
447
+ arguments: {
448
+ TEST: {
449
+ type: ArgumentType.STRING,
450
+ }
451
+ }
452
+ },
453
+ {
454
+ opcode: 'customShapeInputOCTAGONAL',
455
+ arguments: {
456
+ TEST: {
457
+ shape: BlockShape.OCTAGONAL,
458
+ check: BlockShape.OCTAGONAL,
459
+ }
460
+ },
461
+ text: 'custom shape [TEST]',
462
+ blockType: BlockType.REPORTER,
463
+ },
464
+ {
465
+ opcode: 'customShapeInputBUMPED',
466
+ arguments: {
467
+ TEST: {
468
+ shape: BlockShape.BUMPED,
469
+ check: BlockShape.BUMPED,
470
+ }
471
+ },
472
+ text: 'custom shape [TEST]',
473
+ blockType: BlockType.REPORTER,
474
+ },
475
+ {
476
+ opcode: 'customShapeInputINDENTED',
477
+ arguments: {
478
+ TEST: {
479
+ shape: BlockShape.INDENTED,
480
+ check: BlockShape.INDENTED,
481
+ }
482
+ },
483
+ text: 'custom shape [TEST]',
484
+ blockType: BlockType.REPORTER,
485
+ },
486
+ {
487
+ opcode: 'customShapeInputSCRAPPED',
488
+ arguments: {
489
+ TEST: {
490
+ shape: BlockShape.SCRAPPED,
491
+ check: BlockShape.SCRAPPED,
492
+ }
493
+ },
494
+ text: 'custom shape [TEST]',
495
+ blockType: BlockType.REPORTER,
496
+ },
497
+ {
498
+ opcode: 'customShapeInputARROW',
499
+ arguments: {
500
+ TEST: {
501
+ shape: BlockShape.ARROW,
502
+ check: BlockShape.ARROW,
503
+ }
504
+ },
505
+ text: 'custom shape [TEST]',
506
+ blockType: BlockType.REPORTER,
507
+ },
508
+ {
509
+ opcode: 'customShapeInputTICKET',
510
+ arguments: {
511
+ TEST: {
512
+ shape: BlockShape.TICKET,
513
+ check: BlockShape.TICKET,
514
+ }
515
+ },
516
+ text: 'custom shape [TEST]',
517
+ blockType: BlockType.REPORTER,
518
+ },
519
  {
520
  blockType: BlockType.LABEL,
521
  text: "switching test cases"