From eb0eeb240a37302675841547fe8e35feac939c47 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 7 Aug 2013 17:45:48 +0800 Subject: [PATCH] clean up: Consistently use MW instead of Mw in constructor names Most of 'em already do. Fixed the remaining ones. Change-Id: I1a7ccb27dd66a33265dcaddaa7d34953d328ff87 --- modules/ve-mw/ce/ve.ce.MWResizableNode.js | 4 ++-- modules/ve-mw/dm/annotations/ve.dm.MWNowikiAnnotation.js | 2 +- modules/ve-mw/ui/tools/buttons/ve.ui.MWLinkButtonTool.js | 2 +- .../ve-mw/ui/tools/buttons/ve.ui.MWReferenceListButtonTool.js | 2 +- .../ve-mw/ui/tools/buttons/ve.ui.MWTransclusionButtonTool.js | 2 +- .../ve-mw/ui/tools/dropdowns/ve.ui.MWFormatDropdownTool.js | 2 +- modules/ve-mw/ui/widgets/ve.ui.MWCategoryPopupWidget.js | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/ve-mw/ce/ve.ce.MWResizableNode.js b/modules/ve-mw/ce/ve.ce.MWResizableNode.js index 0426e9fe4c..ae1da33d96 100644 --- a/modules/ve-mw/ce/ve.ce.MWResizableNode.js +++ b/modules/ve-mw/ce/ve.ce.MWResizableNode.js @@ -15,7 +15,7 @@ * @constructor * @param {jQuery} [$resizable=this.$] Resizable DOM element */ -ve.ce.MWResizableNode = function VeCeMwResizableNode( $resizable ) { +ve.ce.MWResizableNode = function VeCeMWResizableNode( $resizable ) { ve.ce.ResizableNode.call( this, $resizable ); }; @@ -38,4 +38,4 @@ ve.ce.MWResizableNode.prototype.getAttributeChanges = function ( width, height ) attrChanges.defaultSize = false; } return attrChanges; -}; \ No newline at end of file +}; diff --git a/modules/ve-mw/dm/annotations/ve.dm.MWNowikiAnnotation.js b/modules/ve-mw/dm/annotations/ve.dm.MWNowikiAnnotation.js index abbb3d7863..02dbb790d0 100644 --- a/modules/ve-mw/dm/annotations/ve.dm.MWNowikiAnnotation.js +++ b/modules/ve-mw/dm/annotations/ve.dm.MWNowikiAnnotation.js @@ -16,7 +16,7 @@ * @constructor * @param {Object} element [description] */ -ve.dm.MWNowikiAnnotation = function VeDmMwNowikiAnnotation( element ) { +ve.dm.MWNowikiAnnotation = function VeDmMWNowikiAnnotation( element ) { // Parent constructor ve.dm.Annotation.call( this, element ); }; diff --git a/modules/ve-mw/ui/tools/buttons/ve.ui.MWLinkButtonTool.js b/modules/ve-mw/ui/tools/buttons/ve.ui.MWLinkButtonTool.js index 613b8ca890..2f8fc756f5 100644 --- a/modules/ve-mw/ui/tools/buttons/ve.ui.MWLinkButtonTool.js +++ b/modules/ve-mw/ui/tools/buttons/ve.ui.MWLinkButtonTool.js @@ -14,7 +14,7 @@ * @param {ve.ui.Toolbar} toolbar * @param {Object} [config] Config options */ -ve.ui.MWLinkButtonTool = function VeUiMwLinkButtonTool( toolbar, config ) { +ve.ui.MWLinkButtonTool = function VeUiMWLinkButtonTool( toolbar, config ) { // Parent constructor ve.ui.LinkButtonTool.call( this, toolbar, config ); }; diff --git a/modules/ve-mw/ui/tools/buttons/ve.ui.MWReferenceListButtonTool.js b/modules/ve-mw/ui/tools/buttons/ve.ui.MWReferenceListButtonTool.js index afe940e249..6b76563fdd 100644 --- a/modules/ve-mw/ui/tools/buttons/ve.ui.MWReferenceListButtonTool.js +++ b/modules/ve-mw/ui/tools/buttons/ve.ui.MWReferenceListButtonTool.js @@ -14,7 +14,7 @@ * @param {ve.ui.Toolbar} toolbar * @param {Object} [config] Config options */ -ve.ui.MWReferenceListButtonTool = function VeUiMwReferenceListButtonTool( toolbar, config ) { +ve.ui.MWReferenceListButtonTool = function VeUiMWReferenceListButtonTool( toolbar, config ) { // Parent constructor ve.ui.DialogButtonTool.call( this, toolbar, config ); }; diff --git a/modules/ve-mw/ui/tools/buttons/ve.ui.MWTransclusionButtonTool.js b/modules/ve-mw/ui/tools/buttons/ve.ui.MWTransclusionButtonTool.js index f8d3757779..359d3fad42 100644 --- a/modules/ve-mw/ui/tools/buttons/ve.ui.MWTransclusionButtonTool.js +++ b/modules/ve-mw/ui/tools/buttons/ve.ui.MWTransclusionButtonTool.js @@ -14,7 +14,7 @@ * @param {ve.ui.Toolbar} toolbar * @param {Object} [config] Config options */ -ve.ui.MWTransclusionButtonTool = function VeUiMwTransclusionButtonTool( toolbar, config ) { +ve.ui.MWTransclusionButtonTool = function VeUiMWTransclusionButtonTool( toolbar, config ) { // Parent constructor ve.ui.DialogButtonTool.call( this, toolbar, config ); }; diff --git a/modules/ve-mw/ui/tools/dropdowns/ve.ui.MWFormatDropdownTool.js b/modules/ve-mw/ui/tools/dropdowns/ve.ui.MWFormatDropdownTool.js index 504212e94b..008997b399 100644 --- a/modules/ve-mw/ui/tools/dropdowns/ve.ui.MWFormatDropdownTool.js +++ b/modules/ve-mw/ui/tools/dropdowns/ve.ui.MWFormatDropdownTool.js @@ -13,7 +13,7 @@ * @constructor * @param {ve.ui.Toolbar} toolbar */ -ve.ui.MWFormatDropdownTool = function VeUiMwFormatDropdownTool( toolbar, config ) { +ve.ui.MWFormatDropdownTool = function VeUiMWFormatDropdownTool( toolbar, config ) { // Parent constructor ve.ui.FormatDropdownTool.call( this, toolbar, config ); }; diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWCategoryPopupWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWCategoryPopupWidget.js index 248eadbe48..bd10559fd4 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWCategoryPopupWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWCategoryPopupWidget.js @@ -14,7 +14,7 @@ * @constructor * @param {Object} [config] Config options */ -ve.ui.MWCategoryPopupWidget = function VeUiMwCategoryPopupWidget ( config ) { +ve.ui.MWCategoryPopupWidget = function VeUiMWCategoryPopupWidget ( config ) { // Configuration initialization config = ve.extendObject( {}, config, { 'autoClose': true } );