mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
Moving TODOs out of jsdoc comments. (#1965)
This commit is contained in:
committed by
GitHub
parent
ec4963f4b4
commit
cf3f914be8
@@ -191,9 +191,9 @@ Blockly.Events.CommentCreate.prototype.type = Blockly.Events.COMMENT_CREATE;
|
||||
|
||||
/**
|
||||
* Encode the event as JSON.
|
||||
* TODO (#1266): "Full" and "minimal" serialization.
|
||||
* @return {!Object} JSON representation.
|
||||
*/
|
||||
// TODO(#1266): "Full" and "minimal" serialization.
|
||||
Blockly.Events.CommentCreate.prototype.toJson = function() {
|
||||
var json = Blockly.Events.CommentCreate.superClass_.toJson.call(this);
|
||||
json['xml'] = Blockly.Xml.domToText(this.xml);
|
||||
@@ -255,9 +255,9 @@ Blockly.Events.CommentDelete.prototype.type = Blockly.Events.COMMENT_DELETE;
|
||||
|
||||
/**
|
||||
* Encode the event as JSON.
|
||||
* TODO (#1266): "Full" and "minimal" serialization.
|
||||
* @return {!Object} JSON representation.
|
||||
*/
|
||||
// TODO(#1266): "Full" and "minimal" serialization.
|
||||
Blockly.Events.CommentDelete.prototype.toJson = function() {
|
||||
var json = Blockly.Events.CommentDelete.superClass_.toJson.call(this);
|
||||
return json;
|
||||
@@ -357,9 +357,9 @@ Blockly.Events.CommentMove.prototype.setOldCoordinate = function(xy) {
|
||||
|
||||
/**
|
||||
* Encode the event as JSON.
|
||||
* TODO (#1266): "Full" and "minimal" serialization.
|
||||
* @return {!Object} JSON representation.
|
||||
*/
|
||||
// TODO(#1266): "Full" and "minimal" serialization.
|
||||
Blockly.Events.CommentMove.prototype.toJson = function() {
|
||||
var json = Blockly.Events.CommentMove.superClass_.toJson.call(this);
|
||||
if (this.newCoordinate_) {
|
||||
|
||||
Reference in New Issue
Block a user