Fix typo and set optional values

Change-Id: I43174f7c28e0f665decf88f92f9175bb4c69a3cb
This commit is contained in:
WMDE-Fisch 2017-08-23 17:01:03 +02:00
parent 722266888f
commit dcfb074916
3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@
view: null,
/**
* Inititializes the RevisionList from a list of Revisions
* Initializes the RevisionList from a list of Revisions
*
* @param {Revision[]} revs
*/

View file

@ -1,7 +1,7 @@
( function ( mw, $ ) {
/**
* @param {RevisionList} revisionList
* @param {string} dir
* @param {string} [dir]
* @constructor
*/
var RevisionListView = function ( revisionList, dir ) {

View file

@ -73,7 +73,7 @@
/**
* @param {string} name
* @param {boolean} defaultValue
* @param {boolean} [defaultValue]
* @return {boolean}
*/
loadBoolean: function ( name, defaultValue ) {