Improve JSDoc on Thread

This commit is contained in:
Tim Mickel 2016-05-02 13:05:48 -04:00
parent 7a5341b863
commit 773f2e1bbc

View file

@ -5,12 +5,13 @@
*/ */
function Thread (firstBlock) { function Thread (firstBlock) {
/** /**
* Top block of the thread * ID of top block of the thread
* @type {!string}
*/ */
this.topBlock = firstBlock; this.topBlock = firstBlock;
/** /**
* Next block that the thread will execute. * ID of next block that the thread will execute, or null if none.
* @type {string} * @type {?string}
*/ */
this.nextBlock = firstBlock; this.nextBlock = firstBlock;
/** /**