Merge "Remove trailing commas"

This commit is contained in:
jenkins-bot 2013-02-02 00:26:59 +00:00 committed by Gerrit Code Review
commit 6c5d83449d
5 changed files with 12 additions and 12 deletions

View file

@ -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;
};
};

View file

@ -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': {

View file

@ -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 ),

View file

@ -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

View file

@ -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'
};
/**