r113884 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113883‎ | r113884 | r113885 >
Date:01:07, 15 March 2012
Author:krinkle
Status:ok
Tags:
Comment:
[CentralAuth JS] remove redunant function expression name, whitespace (follow-up r112930)
Modified paths:
  • /trunk/extensions/CentralAuth/modules/ext.centralauth.js (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/modules/ext.centralauth.js
@@ -6,8 +6,8 @@
77 y : 0
88 };
99
10 - $(document).on( 'mousemove', function updateCursorPosition( e ) {
11 - cursorPosition.x =
 10+ $(document).on( 'mousemove', function ( e ) {
 11+ cursorPosition.x =
1212 e.clientX
1313 + ( document.documentElement.scrollLeft || document.body.scrollLeft )
1414 - document.documentElement.clientLeft;
@@ -32,11 +32,11 @@
3333 content = document.getElementById( 'content' ) || document.getElementById( 'mw_content' ) || document.body;
3434 $(content).append( $methodHint );
3535 }
36 -
 36+
3737 hintHtml = mw.html.element( 'p', {
3838 'class': 'merge-method-help-name'
3939 }, mw.msg( 'centralauth-merge-method-' + methodName ) ) + mw.message( 'centralauth-merge-method-' + methodName + '-desc' ).escaped();
40 -
 40+
4141 $methodHint
4242 .html( hintHtml )
4343 .css({

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112930[CentralAuth] Refactor JS...krinkle00:50, 3 March 2012

Status & tagging log