r53913 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53912‎ | r53913 | r53914 >
Date:23:38, 28 July 2009
Author:tparscal
Status:deferred
Tags:
Comment:
More no conflict stuff.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/NavigableTOC/NavigableTOC.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/NavigableTOC/NavigableTOC.js
@@ -159,15 +159,15 @@
160160 } );
161161 };
162162 jQuery( document ).ready( function() {
163 - $( '#wpTextbox1' ).parseOutline();
164 - $( '#wpTextbox1' )
165 - .buildOutline( $( '#navigableTOC' ) )
166 - .updateOutline( $( '#navigableTOC' ) )
167 - .bind( 'keyup', { 'list': $( '#navigableTOC' ) }, function( event ) {
168 - $(this).parseOutline();
169 - $(this).buildOutline( event.data.list );
 163+ jQuery( '#wpTextbox1' ).parseOutline();
 164+ jQuery( '#wpTextbox1' )
 165+ .buildOutline( jQuery( '#navigableTOC' ) )
 166+ .updateOutline( jQuery( '#navigableTOC' ) )
 167+ .bind( 'keyup', { 'list': jQuery( '#navigableTOC' ) }, function( event ) {
 168+ jQuery(this).parseOutline();
 169+ jQuery(this).buildOutline( event.data.list );
170170 } )
171171 .bind( 'keyup mouseup scrollToPosition', function() {
172 - $(this).updateOutline( $( '#navigableTOC' ) );
 172+ jQuery(this).updateOutline( jQuery( '#navigableTOC' ) );
173173 } );
174174 });

Status & tagging log