We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de62d77 commit aa3341bCopy full SHA for aa3341b
blocks_common/matrix.js
@@ -22,15 +22,8 @@
22
* @fileoverview Matrix blocks for Blockly.
23
* @author [email protected] (Kreg Hanning)
24
*/
25
-'use strict';
26
-
27
-goog.provide('Blockly.Blocks.matrix');
28
29
-goog.require('Blockly.Blocks');
30
31
-goog.require('Blockly.Colours');
32
33
-goog.require('Blockly.constants');
+import * as Blockly from 'blockly/core';
+import * as Constants from '../src/constants.js';
34
35
Blockly.Blocks['matrix'] = {
36
/**
@@ -46,7 +39,7 @@ Blockly.Blocks['matrix'] = {
46
39
"name": "MATRIX"
47
40
}
48
41
],
49
- "outputShape": Blockly.OUTPUT_SHAPE_ROUND,
42
+ "outputShape": Constants.OUTPUT_SHAPE_ROUND,
50
43
"output": "Number",
51
44
"extensions": ["colours_pen"]
52
45
});
0 commit comments