From 14e926a364585faff219a7b66a1a68b0ccafb99a Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Thu, 10 May 2018 12:04:05 -0700 Subject: [PATCH] Update comments in block_events.js They were inverted. --- core/block_events.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/block_events.js b/core/block_events.js index 131fb5d0d..a680d069f 100644 --- a/core/block_events.js +++ b/core/block_events.js @@ -145,7 +145,7 @@ Blockly.Events.Change.prototype.fromJson = function(json) { /** * Does this event record any change of state? - * @return {boolean} True if something changed. + * @return {boolean} False if something changed. */ Blockly.Events.Change.prototype.isNull = function() { return this.oldValue == this.newValue; @@ -470,7 +470,7 @@ Blockly.Events.Move.prototype.currentLocation_ = function() { /** * Does this event record any change of state? - * @return {boolean} True if something changed. + * @return {boolean} False if something changed. */ Blockly.Events.Move.prototype.isNull = function() { return this.oldParentId == this.newParentId &&