File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/lib/ruby-to-blocks-converter Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ const EventConverter = {
161
161
} ) ;
162
162
163
163
const createBroadcastBlockFunc = ( params , opcode ) => {
164
- const { args, rubyBlock } = params ;
164
+ const { args} = params ;
165
165
166
166
if ( ! converter . isStringOrBlock ( args [ 0 ] ) ) return null ;
167
167
Original file line number Diff line number Diff line change @@ -288,7 +288,9 @@ class RubyToBlocksConverter {
288
288
if ( ! numArgsToNumRubyBlockArgs ) numArgsToNumRubyBlockArgs = methodToNumArgs [ name ] = { } ;
289
289
290
290
let numRubyBlockArgsToCreateBlockFuncs = numArgsToNumRubyBlockArgs [ numArgs ] ;
291
- if ( ! numRubyBlockArgsToCreateBlockFuncs ) numRubyBlockArgsToCreateBlockFuncs = numArgsToNumRubyBlockArgs [ numArgs ] = { } ;
291
+ if ( ! numRubyBlockArgsToCreateBlockFuncs ) {
292
+ numRubyBlockArgsToCreateBlockFuncs = numArgsToNumRubyBlockArgs [ numArgs ] = { } ;
293
+ }
292
294
293
295
let createBlockFuncs = numRubyBlockArgsToCreateBlockFuncs [ numRubyBlockArgs ] ;
294
296
if ( ! createBlockFuncs ) createBlockFuncs = numRubyBlockArgsToCreateBlockFuncs [ numRubyBlockArgs ] = [ ] ;
You can’t perform that action at this time.
0 commit comments