File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ const MECHANISM_FUNCTION = {
103103 */
104104 updateBlock_ : function ( this : MechanismBlock ) : void {
105105 // Add input sockets for the arguments.
106- for ( const i = 0 ; i < this . mrcArgs . length ; i ++ ) {
106+ for ( let i = 0 ; i < this . mrcArgs . length ; i ++ ) {
107107 const input = this . appendValueInput ( 'ARG' + i )
108108 . setAlign ( Blockly . inputs . Align . RIGHT )
109109 . appendField ( this . mrcArgs [ i ] . name ) ;
@@ -129,7 +129,7 @@ export const pythonFromBlock = function (
129129 let code = 'self.mechanisms["' + mechanismBlock . getFieldValue ( 'NAME' ) + '"] = '
130130 + mechanismBlock . getFieldValue ( 'TYPE' ) + '('
131131
132- for ( const i = 0 ; i < mechanismBlock . mrcArgs . length ; i ++ ) {
132+ for ( let i = 0 ; i < mechanismBlock . mrcArgs . length ; i ++ ) {
133133 const fieldName = 'ARG' + i ;
134134 if ( i != 0 ) {
135135 code += ', '
You can’t perform that action at this time.
0 commit comments