Update constructors of inspectors and dialogs as per changes in I345d6e6

This is harmless since the values were being passed through anyway.

Change-Id: Ie81afa6b5929047b624b4376f7d70db7a7d675a4
This commit is contained in:
Trevor Parscal 2014-03-05 17:07:20 -08:00
parent 27cda86183
commit 2a08584e8c
18 changed files with 54 additions and 54 deletions

View file

@ -12,12 +12,12 @@
* @extends ve.ui.MWTransclusionDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWAdvancedTransclusionDialog = function VeUiMWAdvancedTransclusionDialog( windowSet, config ) {
ve.ui.MWAdvancedTransclusionDialog = function VeUiMWAdvancedTransclusionDialog( surface, config ) {
// Parent constructor
ve.ui.MWTransclusionDialog.call( this, windowSet, config );
ve.ui.MWTransclusionDialog.call( this, surface, config );
};
/* Inheritance */

View file

@ -13,15 +13,15 @@
* @extends ve.ui.MWDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWBetaWelcomeDialog = function VeUiMWBetaWelcomeDialog( windowSet, config ) {
ve.ui.MWBetaWelcomeDialog = function VeUiMWBetaWelcomeDialog( surface, config ) {
// Configuration initialization
config = ve.extendObject( { 'size': 'medium', 'footless': false }, config );
// Parent constructor
ve.ui.MWDialog.call( this, windowSet, config );
ve.ui.MWDialog.call( this, surface, config );
};
/* Inheritance */

View file

@ -14,12 +14,12 @@
* @extends ve.ui.CommandHelpDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWCommandHelpDialog = function VeUiMWCommandHelpDialog( windowSet, config ) {
ve.ui.MWCommandHelpDialog = function VeUiMWCommandHelpDialog( surface, config ) {
// Parent constructor
ve.ui.CommandHelpDialog.call( this, windowSet, config );
ve.ui.CommandHelpDialog.call( this, surface, config );
};
/* Inheritance */

View file

@ -13,12 +13,12 @@
* @extends ve.ui.MWDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWMediaEditDialog = function VeUiMWMediaEditDialog( windowSet, config ) {
ve.ui.MWMediaEditDialog = function VeUiMWMediaEditDialog( surface, config ) {
// Parent constructor
ve.ui.MWDialog.call( this, windowSet, config );
ve.ui.MWDialog.call( this, surface, config );
// Properties
this.mediaNode = null;

View file

@ -14,15 +14,15 @@
* @extends ve.ui.MWDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWMediaInsertDialog = function VeUiMWMediaInsertDialog( windowSet, config ) {
ve.ui.MWMediaInsertDialog = function VeUiMWMediaInsertDialog( surface, config ) {
// Configuration initialization
config = ve.extendObject( { 'footless': true }, config );
// Parent constructor
ve.ui.MWDialog.call( this, windowSet, config );
ve.ui.MWDialog.call( this, surface, config );
// Properties
this.item = null;

View file

@ -12,12 +12,12 @@
* @extends ve.ui.MWDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWMetaDialog = function VeUiMWMetaDialog( windowSet, config ) {
ve.ui.MWMetaDialog = function VeUiMWMetaDialog( surface, config ) {
// Parent constructor
ve.ui.MWDialog.call( this, windowSet, config );
ve.ui.MWDialog.call( this, surface, config );
};
/* Inheritance */

View file

@ -12,12 +12,12 @@
* @extends ve.ui.MWDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWReferenceDialog = function VeUiMWReferenceDialog( windowSet, config ) {
ve.ui.MWReferenceDialog = function VeUiMWReferenceDialog( surface, config ) {
// Parent constructor
ve.ui.MWDialog.call( this, windowSet, config );
ve.ui.MWDialog.call( this, surface, config );
// Properties
this.ref = null;

View file

@ -12,12 +12,12 @@
* @extends ve.ui.MWDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWReferenceListDialog = function VeUiMWReferenceListDialog( windowSet, config ) {
ve.ui.MWReferenceListDialog = function VeUiMWReferenceListDialog( surface, config ) {
// Parent constructor
ve.ui.MWDialog.call( this, windowSet, config );
ve.ui.MWDialog.call( this, surface, config );
};
/* Inheritance */

View file

@ -17,15 +17,15 @@
* @extends ve.ui.MWDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Config options
*/
ve.ui.MWSaveDialog = function VeUiMWSaveDialog( windowSet, config ) {
ve.ui.MWSaveDialog = function VeUiMWSaveDialog( surface, config ) {
// Configuration initialization
config = ve.extendObject( { 'size': 'medium' }, config );
// Parent constructor
ve.ui.MWDialog.call( this, windowSet, config );
ve.ui.MWDialog.call( this, surface, config );
// Properties
this.sanityCheckVerified = false;

View file

@ -12,15 +12,15 @@
* @extends ve.ui.MWTransclusionDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWTemplateDialog = function VeUiMWTemplateDialog( windowSet, config ) {
ve.ui.MWTemplateDialog = function VeUiMWTemplateDialog( surface, config ) {
// Configuration initialization
config = ve.extendObject( { 'size': 'medium' }, config );
// Parent constructor
ve.ui.MWTransclusionDialog.call( this, windowSet, config );
ve.ui.MWTransclusionDialog.call( this, surface, config );
};
/* Inheritance */

View file

@ -12,12 +12,12 @@
* @extends ve.ui.MWDialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWTransclusionDialog = function VeUiMWTransclusionDialog( windowSet, config ) {
ve.ui.MWTransclusionDialog = function VeUiMWTransclusionDialog( surface, config ) {
// Parent constructor
ve.ui.MWDialog.call( this, windowSet, config );
ve.ui.MWDialog.call( this, surface, config );
// Properties
this.node = null;

View file

@ -12,12 +12,12 @@
* @extends ve.ui.MWExtensionInspector
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this inspector is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWAlienExtensionInspector = function VeUiMWAlienExtensionInspector( windowSet, config ) {
ve.ui.MWAlienExtensionInspector = function VeUiMWAlienExtensionInspector( surface, config ) {
// Parent constructor
ve.ui.MWExtensionInspector.call( this, windowSet, config );
ve.ui.MWExtensionInspector.call( this, surface, config );
};
/* Inheritance */

View file

@ -13,12 +13,12 @@
* @extends ve.ui.Inspector
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this inspector is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWExtensionInspector = function VeUiMWExtensionInspector( windowSet, config ) {
ve.ui.MWExtensionInspector = function VeUiMWExtensionInspector( surface, config ) {
// Parent constructor
ve.ui.Inspector.call( this, windowSet, config );
ve.ui.Inspector.call( this, surface, config );
};
/* Inheritance */

View file

@ -14,12 +14,12 @@
* @extends ve.ui.MWExtensionInspector
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this inspector is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWGalleryInspector = function VeUiMWGalleryInspector( windowSet, config ) {
ve.ui.MWGalleryInspector = function VeUiMWGalleryInspector( surface, config ) {
// Parent constructor
ve.ui.MWExtensionInspector.call( this, windowSet, config );
ve.ui.MWExtensionInspector.call( this, surface, config );
};
/* Inheritance */

View file

@ -12,12 +12,12 @@
* @extends ve.ui.MWExtensionInspector
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this inspector is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWHieroInspector = function VeUiMWHieroInspector( windowSet, config ) {
ve.ui.MWHieroInspector = function VeUiMWHieroInspector( surface, config ) {
// Parent constructor
ve.ui.MWExtensionInspector.call( this, windowSet, config );
ve.ui.MWExtensionInspector.call( this, surface, config );
};
/* Inheritance */

View file

@ -14,12 +14,12 @@
* @extends ve.ui.LinkInspector
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this inspector is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWLinkInspector = function VeUiMWLinkInspector( windowSet, config ) {
ve.ui.MWLinkInspector = function VeUiMWLinkInspector( surface, config ) {
// Parent constructor
ve.ui.LinkInspector.call( this, windowSet, config );
ve.ui.LinkInspector.call( this, surface, config );
};
/* Inheritance */

View file

@ -12,12 +12,12 @@
* @extends ve.ui.MWExtensionInspector
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this inspector is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWMathInspector = function VeUiMWMathInspector( windowSet, config ) {
ve.ui.MWMathInspector = function VeUiMWMathInspector( surface, config ) {
// Parent constructor
ve.ui.MWExtensionInspector.call( this, windowSet, config );
ve.ui.MWExtensionInspector.call( this, surface, config );
this.onChangeHandler = ve.debounce( ve.bind( this.updatePreview, this ), 250 );
};

View file

@ -13,12 +13,12 @@
* @extends ve.ui.Dialog
*
* @constructor
* @param {ve.ui.WindowSet} windowSet Window set this dialog is part of
* @param {ve.ui.Surface} surface Surface inspector is for
* @param {Object} [config] Configuration options
*/
ve.ui.MWDialog = function VeUiMWDialog( windowSet, config ) {
ve.ui.MWDialog = function VeUiMWDialog( surface, config ) {
// Parent constructor
ve.ui.Dialog.call( this, windowSet, config );
ve.ui.Dialog.call( this, surface, config );
};
/* Inheritance */