diff --git a/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js b/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js index 87949654..f2a2a333 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js +++ b/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js @@ -19,7 +19,7 @@ var */ function Dialog( config ) { // Parent constructor - Dialog.parent.call( this, config ); + Dialog.super.call( this, config ); this.model = null; this.modified = false; diff --git a/modules/ext.templateDataGenerator.editTemplatePage/widgets/LanguageResultWidget.js b/modules/ext.templateDataGenerator.editTemplatePage/widgets/LanguageResultWidget.js index 226e824a..ddb832c8 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/widgets/LanguageResultWidget.js +++ b/modules/ext.templateDataGenerator.editTemplatePage/widgets/LanguageResultWidget.js @@ -10,7 +10,7 @@ */ function LanguageResultWidget( config ) { // Parent constructor - LanguageResultWidget.parent.call( this, config ); + LanguageResultWidget.super.call( this, config ); // Mixin constructors OO.ui.mixin.TabIndexedElement.call( this ); diff --git a/modules/ext.templateDataGenerator.editTemplatePage/widgets/LanguageSearchWidget.js b/modules/ext.templateDataGenerator.editTemplatePage/widgets/LanguageSearchWidget.js index de3a279e..651fba9b 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/widgets/LanguageSearchWidget.js +++ b/modules/ext.templateDataGenerator.editTemplatePage/widgets/LanguageSearchWidget.js @@ -17,7 +17,7 @@ function LanguageSearchWidget( config ) { }, config ); // Parent constructor - LanguageSearchWidget.parent.call( this, config ); + LanguageSearchWidget.super.call( this, config ); // Properties this.filteredLanguageResultWidgets = []; @@ -46,7 +46,7 @@ OO.inheritClass( LanguageSearchWidget, OO.ui.SearchWidget ); */ LanguageSearchWidget.prototype.onQueryChange = function () { // Parent method - LanguageSearchWidget.parent.prototype.onQueryChange.apply( this, arguments ); + LanguageSearchWidget.super.prototype.onQueryChange.apply( this, arguments ); // Populate this.addResults(); diff --git a/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamImportWidget.js b/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamImportWidget.js index c939b8ed..e3f68842 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamImportWidget.js +++ b/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamImportWidget.js @@ -9,7 +9,7 @@ function ParamImportWidget( config ) { config = config || {}; // Parent constructor - ParamImportWidget.parent.call( this, Object.assign( { + ParamImportWidget.super.call( this, Object.assign( { icon: 'parameter-set' }, config ) ); diff --git a/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamSelectWidget.js b/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamSelectWidget.js index 85e7ae37..665e6a52 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamSelectWidget.js +++ b/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamSelectWidget.js @@ -9,7 +9,7 @@ */ function ParamSelectWidget( config ) { // Parent constructor - ParamSelectWidget.parent.call( this, config ); + ParamSelectWidget.super.call( this, config ); // Mixin constructors OO.ui.mixin.DraggableGroupElement.call( this, Object.assign( {}, config, { $group: this.$element } ) ); @@ -28,7 +28,7 @@ ParamSelectWidget.prototype.onMouseDown = function ( e ) { if ( $( e.target ).closest( '.oo-ui-draggableElement-handle' ).length || e.shiftKey ) { return true; } - return ParamSelectWidget.parent.prototype.onMouseDown.apply( this, arguments ); + return ParamSelectWidget.super.prototype.onMouseDown.apply( this, arguments ); }; module.exports = ParamSelectWidget; diff --git a/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamWidget.js b/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamWidget.js index b86518fa..dcd75476 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamWidget.js +++ b/modules/ext.templateDataGenerator.editTemplatePage/widgets/ParamWidget.js @@ -12,7 +12,7 @@ function ParamWidget( data, config ) { config = config || {}; // Parent constructor - ParamWidget.parent.call( this, Object.assign( {}, config, { data: data.key, icon: 'menu' } ) ); + ParamWidget.super.call( this, Object.assign( {}, config, { data: data.key, icon: 'menu' } ) ); // Mixin constructors OO.ui.mixin.DraggableElement.call( this, $.extend( { $handle: this.$icon } ) );