mirror of
https://github.com/google/blockly.git
synced 2026-03-18 11:10:11 +01:00
Fix parasitic transitivity of setPreviousStatement and setNextStatement.
This commit is contained in:
@@ -86,7 +86,8 @@ Blockly.JavaScript['unittest_main'].defineAssert_ = function(block) {
|
||||
' function equals(a, b) {',
|
||||
' if (a === b) {',
|
||||
' return true;',
|
||||
' } else if ((typeof a == "number") && (typeof b == "number") && (a.toPrecision(15) == b.toPrecision(15))) {',
|
||||
' } else if ((typeof a == "number") && (typeof b == "number") &&',
|
||||
' (a.toPrecision(15) == b.toPrecision(15))) {',
|
||||
' return true;',
|
||||
' } else if (a instanceof Array && b instanceof Array) {',
|
||||
' if (a.length != b.length) {',
|
||||
|
||||
Reference in New Issue
Block a user