GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: reenable the note block and picker field (#48) · SnoopyMod/scratch-blocks@de62d77

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • blocks_common
    • note.js
  • core
    • field_note.js
  • src
    • index.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎blocks_common/note.js‎

Copy file name to clipboardExpand all lines: blocks_common/note.js
+8-14Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,9 @@
2222
* @fileoverview Note block.
2323
* @author [email protected] (Eric Rosenbaum)
2424
*/
25-
'use strict';
26-
27-
goog.provide('Blockly.Blocks.note');
28-
29-
goog.require('Blockly.Blocks');
30-
31-
goog.require('Blockly.Colours');
32-
33-
goog.require('Blockly.constants');
25+
import * as Blockly from 'blockly/core';
26+
import {Colours} from '../core/colours.js';
27+
import * as Constants from '../src/constants.js';
3428

3529
Blockly.Blocks['note'] = {
3630
/**
@@ -47,12 +41,12 @@ Blockly.Blocks['note'] = {
4741
"value": 60
4842
}
4943
],
50-
"outputShape": Blockly.OUTPUT_SHAPE_ROUND,
44+
"outputShape": Constants.OUTPUT_SHAPE_ROUND,
5145
"output": "Number",
52-
"colour": Blockly.Colours.textField,
53-
"colourSecondary": Blockly.Colours.textField,
54-
"colourTertiary": Blockly.Colours.textField,
55-
"colourQuaternary": Blockly.Colours.textField
46+
"colour": Colours.textField,
47+
"colourSecondary": Colours.textField,
48+
"colourTertiary": Colours.textField,
49+
"colourQuaternary": Colours.textField
5650
});
5751
}
5852
};

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.