mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
Lint
This commit is contained in:
@@ -103,7 +103,7 @@ Blockly.JavaScript.ORDER_LOGICAL_AND = 13; // &&
|
||||
Blockly.JavaScript.ORDER_LOGICAL_OR = 14; // ||
|
||||
Blockly.JavaScript.ORDER_CONDITIONAL = 15; // ?:
|
||||
Blockly.JavaScript.ORDER_ASSIGNMENT = 16; // = += -= **= *= /= %= <<= >>= ...
|
||||
Blockly.JavaScript.ORDER_YIELD = 17; // yield
|
||||
Blockly.JavaScript.ORDER_YIELD = 17; // yield
|
||||
Blockly.JavaScript.ORDER_COMMA = 18; // ,
|
||||
Blockly.JavaScript.ORDER_NONE = 99; // (...)
|
||||
|
||||
|
||||
@@ -430,7 +430,7 @@ Blockly.PHP['lists_getSublist'] = function(block) {
|
||||
' $at1 = count($list) - 1 - $at1;',
|
||||
' } else if ($where1 == \'FIRST\') {',
|
||||
' $at1 = 0;',
|
||||
' } else if ($where1 != \'FROM_START\'){',
|
||||
' } else if ($where1 != \'FROM_START\') {',
|
||||
' throw new Exception(\'Unhandled option (lists_get_sublist).\');',
|
||||
' }',
|
||||
' $length = 0;',
|
||||
|
||||
@@ -174,7 +174,7 @@ Blockly.PHP['text_getSubstring'] = function(block) {
|
||||
' $at1 = strlen($text) - 1 - $at1;',
|
||||
' } else if ($where1 == \'FIRST\') {',
|
||||
' $at1 = 0;',
|
||||
' } else if ($where1 != \'FROM_START\'){',
|
||||
' } else if ($where1 != \'FROM_START\') {',
|
||||
' throw new Exception(\'Unhandled option (text_get_substring).\');',
|
||||
' }',
|
||||
' $length = 0;',
|
||||
|
||||
Reference in New Issue
Block a user