File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -225,12 +225,12 @@ const writeTextWithoutShadow = {
225225 {
226226 'type' : 'field_input' ,
227227 'name' : 'TEXT' ,
228- 'text' : 'bit'
228+ 'text' : 'bit' ,
229229 } ,
230230 ] ,
231231 'previousStatement' : null ,
232232 'nextStatement' : null ,
233- 'colour' : 225
233+ 'colour' : 225 ,
234234} ;
235235
236236const writeTextWithShadow = {
@@ -242,16 +242,15 @@ const writeTextWithShadow = {
242242 {
243243 'type' : 'input_value' ,
244244 'name' : 'TEXT' ,
245- 'check' : 'String'
246- }
245+ 'check' : 'String' ,
246+ } ,
247247 ] ,
248248 'previousStatement' : null ,
249249 'nextStatement' : null ,
250- 'colour' : 225
250+ 'colour' : 225 ,
251251} ;
252252
253- const textBlock =
254- {
253+ const textBlock = {
255254 'type' : 'text_only' ,
256255 'tooltip' : '' ,
257256 'helpUrl' : '' ,
@@ -260,11 +259,11 @@ const textBlock =
260259 {
261260 'type' : 'field_input' ,
262261 'name' : 'TEXT' ,
263- 'text' : 'micro'
262+ 'text' : 'micro' ,
264263 } ,
265264 ] ,
266265 'output' : 'String' ,
267- 'colour' : 225
266+ 'colour' : 225 ,
268267} ;
269268
270269// Create the block definitions for all the JSON-only blocks.
@@ -278,7 +277,7 @@ const jsonBlocks = Blockly.common.createBlockDefinitionsFromJsonArray([
278277 simpleCircle ,
279278 writeTextWithoutShadow ,
280279 writeTextWithShadow ,
281- textBlock
280+ textBlock ,
282281] ) ;
283282
284283export const blocks = {
Original file line number Diff line number Diff line change @@ -102,4 +102,4 @@ sketch.fill(0x000000);
102102sketch.textSize(100);
103103sketch.text(${ text } , 50, 350);\n` ;
104104 return code ;
105- } ;
105+ } ;
You can’t perform that action at this time.
0 commit comments