mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Merge "Remove trailing commas"
This commit is contained in:
commit
6c5d83449d
|
@ -53,7 +53,7 @@ ve.ce.Surface = function VeCeSurface( $container, model, surface ) {
|
|||
'cut': ve.bind( this.onCut, this ),
|
||||
'copy': ve.bind( this.onCopy, this ),
|
||||
'paste': ve.bind( this.onPaste, this ),
|
||||
'dragover drop': ve.bind( this.onDragoverDrop, this ),
|
||||
'dragover drop': ve.bind( this.onDragoverDrop, this )
|
||||
} );
|
||||
if ( $.browser.msie ) {
|
||||
this.$.on( 'beforepaste', ve.bind( this.onPaste, this ) );
|
||||
|
@ -190,7 +190,7 @@ ve.ce.Surface.prototype.documentOnFocus = function () {
|
|||
'mouseup.ve-ce-Surface': ve.bind( this.onDocumentMouseUp, this ),
|
||||
'mousemove.ve-ce-Surface': ve.bind( this.onDocumentMouseMove, this ),
|
||||
'compositionstart.ve-ce-Surface': ve.bind( this.onDocumentCompositionStart, this ),
|
||||
'compositionend.ve-ce-Surface': ve.bind( this.onDocumentCompositionEnd, this ),
|
||||
'compositionend.ve-ce-Surface': ve.bind( this.onDocumentCompositionEnd, this )
|
||||
} );
|
||||
this.surfaceObserver.start( true );
|
||||
};
|
||||
|
@ -1453,4 +1453,4 @@ ve.ce.Surface.prototype.enableRendering = function () {
|
|||
*/
|
||||
ve.ce.Surface.prototype.disableRendering = function () {
|
||||
this.renderingEnabled = false;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1069,7 +1069,7 @@ ve.dm.example.domToDataCases = {
|
|||
[ {
|
||||
'type': 'link/MWexternal',
|
||||
'data': {
|
||||
'href': 'http://www.mediawiki.org/',
|
||||
'href': 'http://www.mediawiki.org/'
|
||||
},
|
||||
'htmlTagName': 'a',
|
||||
'htmlAttributes': {
|
||||
|
@ -1083,7 +1083,7 @@ ve.dm.example.domToDataCases = {
|
|||
[ {
|
||||
'type': 'link/MWexternal',
|
||||
'data': {
|
||||
'href': 'http://www.mediawiki.org/',
|
||||
'href': 'http://www.mediawiki.org/'
|
||||
},
|
||||
'htmlTagName': 'a',
|
||||
'htmlAttributes': {
|
||||
|
@ -1097,7 +1097,7 @@ ve.dm.example.domToDataCases = {
|
|||
[ {
|
||||
'type': 'link/MWexternal',
|
||||
'data': {
|
||||
'href': 'http://www.mediawiki.org/',
|
||||
'href': 'http://www.mediawiki.org/'
|
||||
},
|
||||
'htmlTagName': 'a',
|
||||
'htmlAttributes': {
|
||||
|
@ -1118,7 +1118,7 @@ ve.dm.example.domToDataCases = {
|
|||
[ {
|
||||
'type': 'link/MWexternal',
|
||||
'data': {
|
||||
'href': 'http://www.mediawiki.org/',
|
||||
'href': 'http://www.mediawiki.org/'
|
||||
},
|
||||
'htmlTagName': 'a',
|
||||
'htmlAttributes': {
|
||||
|
@ -1132,7 +1132,7 @@ ve.dm.example.domToDataCases = {
|
|||
[ {
|
||||
'type': 'link/MWexternal',
|
||||
'data': {
|
||||
'href': 'http://www.mediawiki.org/',
|
||||
'href': 'http://www.mediawiki.org/'
|
||||
},
|
||||
'htmlTagName': 'a',
|
||||
'htmlAttributes': {
|
||||
|
|
|
@ -37,10 +37,10 @@ ve.ui.Inspector = function VeUiInspector( context ) {
|
|||
|
||||
// Events
|
||||
this.$closeButton.on( {
|
||||
'click': ve.bind( this.onCloseButtonClick, this ),
|
||||
'click': ve.bind( this.onCloseButtonClick, this )
|
||||
} );
|
||||
this.$removeButton.on( {
|
||||
'click': ve.bind( this.onRemoveButtonClick, this ),
|
||||
'click': ve.bind( this.onRemoveButtonClick, this )
|
||||
} );
|
||||
this.$form.on( {
|
||||
'submit': ve.bind( this.onFormSubmit, this ),
|
||||
|
|
|
@ -31,7 +31,7 @@ ve.ui.TextInputMenuWidget = function VeUiTextInputMenuWidget( $$, $container ) {
|
|||
// Events
|
||||
this.$.on( {
|
||||
'mousedown': ve.bind( this.onMouseDown, this ),
|
||||
'mouseup': ve.bind( this.onMouseUp, this ),
|
||||
'mouseup': ve.bind( this.onMouseUp, this )
|
||||
} );
|
||||
|
||||
// Initialization
|
||||
|
|
|
@ -136,7 +136,7 @@ ve.Trigger.static.keyAliases = {
|
|||
// Longhand
|
||||
'control': 'ctrl', 'alternate': 'alt',
|
||||
// Symbols
|
||||
'⌘': 'meta', '⎇': 'alt', '⇧': 'shift', '⏎': 'enter', '⌫': 'backspace', '⎋': 'escape',
|
||||
'⌘': 'meta', '⎇': 'alt', '⇧': 'shift', '⏎': 'enter', '⌫': 'backspace', '⎋': 'escape'
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue