Commit 96eb7218 authored by Neil Fraser's avatar Neil Fraser

Merge pull request #140 from trodi/master

add another type annotation
parents d5e1abd7 37a3c74a
...@@ -37,6 +37,7 @@ goog.require('goog.dom'); ...@@ -37,6 +37,7 @@ goog.require('goog.dom');
* @constructor * @constructor
*/ */
Blockly.Connection = function(source, type) { Blockly.Connection = function(source, type) {
/** @type {!Blockly.Block} */
this.sourceBlock_ = source; this.sourceBlock_ = source;
/** @type {Blockly.Connection} */ /** @type {Blockly.Connection} */
this.targetConnection = null; this.targetConnection = null;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment