From 279a9560afff5413355ce7570224cc6a9e01e36a Mon Sep 17 00:00:00 2001
From: Andrew Sliwinski <andrewsliwinski@acm.org>
Date: Mon, 24 Oct 2016 12:04:06 -0400
Subject: [PATCH] Resolve JSDoc lint errors

---
 src/io/keyboard.js | 8 ++++----
 src/io/mouse.js    | 7 ++++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/io/keyboard.js b/src/io/keyboard.js
index 6b1d28d93..c85ce3a92 100644
--- a/src/io/keyboard.js
+++ b/src/io/keyboard.js
@@ -40,7 +40,7 @@ Keyboard.prototype._scratchKeyToKeyCode = function (keyName) {
 
 /**
  * Convert a DOM keyCode into a Scratch key name.
- * @param  {number} Key code from DOM event.
+ * @param  {number} keyCode Key code from DOM event.
  * @return {Any} Scratch key argument.
  * @private
  */
@@ -61,7 +61,7 @@ Keyboard.prototype._keyCodeToScratchKey = function (keyCode) {
 
 /**
  * Keyboard DOM event handler.
- * @param  {object} DOM event.
+ * @param  {object} data DOM event.
  * @return {void}
  */
 Keyboard.prototype.postData = function (data) {
@@ -88,8 +88,8 @@ Keyboard.prototype.postData = function (data) {
 
 /**
  * Get key down state for a specified Scratch key name.
- * @param  {Any} Scratch key argument.
- * @return {boolean}
+ * @param  {Any} key Scratch key argument.
+ * @return {boolean} Is the specified key down?
  */
 Keyboard.prototype.getKeyIsDown = function (key) {
     if (key == 'any') {
diff --git a/src/io/mouse.js b/src/io/mouse.js
index 368c84701..824206962 100644
--- a/src/io/mouse.js
+++ b/src/io/mouse.js
@@ -14,9 +14,10 @@ function Mouse (runtime) {
 
 /**
  * Activate "event_whenthisspriteclicked" hats if needed.
- * @param  {int} X position to be sent to the renderer.
- * @param  {int} Y position to be sent to the renderer.
+ * @param  {int} x X position to be sent to the renderer.
+ * @param  {int} y Y position to be sent to the renderer.
  * @return {void}
+ * @private
  */
 Mouse.prototype._activateClickHats = function (x, y) {
     if (this.runtime.renderer) {
@@ -35,7 +36,7 @@ Mouse.prototype._activateClickHats = function (x, y) {
 
 /**
  * Mouse DOM event handler.
- * @param  {object} DOM event.
+ * @param  {object} data DOM event.
  * @return {void}
  */
 Mouse.prototype.postData = function(data) {