dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix @covers for FileBackend"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki
/
mediawiki.Upload.Dialog.js
diff --git
a/resources/src/mediawiki/mediawiki.Upload.Dialog.js
b/resources/src/mediawiki/mediawiki.Upload.Dialog.js
index
a719ffe
..
9d9c0a6
100644
(file)
--- a/
resources/src/mediawiki/mediawiki.Upload.Dialog.js
+++ b/
resources/src/mediawiki/mediawiki.Upload.Dialog.js
@@
-29,6
+29,9
@@
* @uses mw.Upload
* @uses mw.Upload.BookletLayout
* @extends OO.ui.ProcessDialog
* @uses mw.Upload
* @uses mw.Upload.BookletLayout
* @extends OO.ui.ProcessDialog
+ *
+ * @constructor
+ * @param {Object} [config] Configuration options
* @cfg {Function} [bookletClass=mw.Upload.BookletLayout] Booklet class to be
* used for the steps
* @cfg {Object} [booklet] Booklet constructor configuration
* @cfg {Function} [bookletClass=mw.Upload.BookletLayout] Booklet class to be
* used for the steps
* @cfg {Object} [booklet] Booklet constructor configuration
@@
-57,7
+60,6
@@
* @inheritdoc
* @property title
*/
* @inheritdoc
* @property title
*/
- /*jshint -W024*/
mw.Upload.Dialog.static.title = mw.msg( 'upload-dialog-title' );
/**
mw.Upload.Dialog.static.title = mw.msg( 'upload-dialog-title' );
/**
@@
-97,8
+99,6
@@
}
];
}
];
- /*jshint +W024*/
-
/* Methods */
/**
/* Methods */
/**
@@
-125,6
+125,7
@@
* @return {mw.Upload.BookletLayout} An upload booklet
*/
mw.Upload.Dialog.prototype.createUploadBooklet = function () {
* @return {mw.Upload.BookletLayout} An upload booklet
*/
mw.Upload.Dialog.prototype.createUploadBooklet = function () {
+ // eslint-disable-next-line new-cap
return new this.bookletClass( $.extend( {
$overlay: this.$overlay
}, this.bookletConfig ) );
return new this.bookletClass( $.extend( {
$overlay: this.$overlay
}, this.bookletConfig ) );