Merge "build: Enable jscs jsDoc rule 'checkTypes' and make pass"

This commit is contained in:
jenkins-bot 2015-08-19 23:02:13 +00:00 committed by Gerrit Code Review
commit 0b0e17591c
3 changed files with 4 additions and 3 deletions

View file

@ -10,6 +10,7 @@
"see": true
}
},
"checkTypes": "strictNativeCase",
"checkParamNames": true,
"checkRedundantAccess": true,
"checkRedundantReturns": true,

View file

@ -253,7 +253,7 @@ ve.dm.MWReferenceNode.static.remapInternalListKeys = function ( dataElement, int
* @static
* @param {Object} dataElement Element data
* @param {ve.dm.InternalList} internalList Internal list
* @return {Number} Index
* @return {number} Index
*/
ve.dm.MWReferenceNode.static.getIndex = function ( dataElement, internalList ) {
var listIndex = dataElement.attributes.listIndex,
@ -313,7 +313,7 @@ ve.dm.MWReferenceNode.prototype.getInternalItem = function () {
/**
* Gets the index for the reference
*
* @return {Number} Index
* @return {number} Index
*/
ve.dm.MWReferenceNode.prototype.getIndex = function () {
return this.constructor.static.getIndex( this.element, this.getDocument().getInternalList() );

View file

@ -12,7 +12,7 @@
* @abstract
* @extends OO.ui.PopupTool
* @constructor
* @param {String} title Title
* @param {string} title Title
* @param {OO.ui.ToolGroup} toolGroup
* @param {Object} [config]
*/