Page MenuHomePhabricator

Add a line after JSDoc block descriptions in mw.Uri
Closed, ResolvedPublic

Description

JSDoc expects an empty comment line after a block description.

For example:

correct
		/**
		 * For example `http` (always present).
                 *
		 * @name mw.Uri.prototype.protocol
		 * @type {string}
		 */
incorrect
		/**
		 * For example `http` (always present).
		 * @name mw.Uri.prototype.protocol
		 * @type {string}
		 */

To do:

  1. In the Uri.js file, fix all the comment blocks so they conform to this convention.
  2. Run npm install grunt and grunt lint, and ensure that there are no warnings for this file