mirror of
https://github.com/google/blockly.git
synced 2026-01-24 01:00:11 +01:00
Update comments in block_events.js
They were inverted.
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user