From 773f2e1bbc3ef7c46ba42dcc3623d5135a8759cb Mon Sep 17 00:00:00 2001 From: Tim Mickel Date: Mon, 2 May 2016 13:05:48 -0400 Subject: [PATCH] Improve JSDoc on Thread --- src/engine/thread.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/engine/thread.js b/src/engine/thread.js index f7fa1dd7e..ceb643ea0 100644 --- a/src/engine/thread.js +++ b/src/engine/thread.js @@ -5,12 +5,13 @@ */ function Thread (firstBlock) { /** - * Top block of the thread + * ID of top block of the thread + * @type {!string} */ this.topBlock = firstBlock; /** - * Next block that the thread will execute. - * @type {string} + * ID of next block that the thread will execute, or null if none. + * @type {?string} */ this.nextBlock = firstBlock; /**