r54465 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54464‎ | r54465 | r54466 >
Date:17:52, 5 August 2009
Author:tparscal
Status:deferred
Tags:
Comment:
Removed debug output.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins.combined.js (modified) (history)
  • /trunk/extensions/UsabilityInitiative/js/plugins.combined.min.js (modified) (history)
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js
@@ -401,7 +401,6 @@
402402 $.eachAsync( sectionQueue, {
403403 'bulk': 0,
404404 'loop': function( i, s ) {
405 - console.log( i );
406405 s.$sections.append(
407406 $.wikiEditor.modules.toolbar.fn.buildSection(
408407 s.context, s.section, s.config
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.js
@@ -1260,7 +1260,6 @@
12611261 $.eachAsync( sectionQueue, {
12621262 'bulk': 0,
12631263 'loop': function( i, s ) {
1264 - console.log( i );
12651264 s.$sections.append(
12661265 $.wikiEditor.modules.toolbar.fn.buildSection(
12671266 s.context, s.section, s.config
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.min.js
@@ -88,7 +88,7 @@
8989 $page.append($characters);}
9090 break;}
9191 return $page;},build:function(context,config){var $tabs=$('<div></div>').addClass('tabs').appendTo(context.modules.$toolbar);var $sections=$('<div></div>').addClass('sections').appendTo(context.modules.$toolbar);context.modules.$toolbar.append($('<div></div>').addClass('break'));var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');var sectionQueue=[];for(section in config){if(section=='main'){context.modules.$toolbar.prepend($.wikiEditor.modules.toolbar.fn.buildSection(context,section,config[section]));}else{sectionQueue[sectionQueue.length]={'context':context,'$sections':$sections,'$tabs':$tabs,'section':section,'config':config[section],'selected':(selected==section)};}}
92 -$.eachAsync(sectionQueue,{'bulk':0,'loop':function(i,s){console.log(i);s.$sections.append($.wikiEditor.modules.toolbar.fn.buildSection(s.context,s.section,s.config).css('display',s.selected?'block':'none'));s.$tabs.append($('<span></span>').attr({'class':'tab tab-'+s.section,'rel':s.section}).append($('<a></a>').addClass(s.selected?'current':null).attr('href','#').text($.wikiEditor.modules.toolbar.fn.autoMsg(s.config,'label')).data('context',s.context).click(function(){var $section=$(this).data('context').$ui.find('.section-'+
 92+$.eachAsync(sectionQueue,{'bulk':0,'loop':function(i,s){s.$sections.append($.wikiEditor.modules.toolbar.fn.buildSection(s.context,s.section,s.config).css('display',s.selected?'block':'none'));s.$tabs.append($('<span></span>').attr({'class':'tab tab-'+s.section,'rel':s.section}).append($('<a></a>').addClass(s.selected?'current':null).attr('href','#').text($.wikiEditor.modules.toolbar.fn.autoMsg(s.config,'label')).data('context',s.context).click(function(){var $section=$(this).data('context').$ui.find('.section-'+
9393 $(this).parent().attr('rel'));$(this).blur();var show=$section.css('display')=='none';$section.parent().children().hide();$(this).parent().parent().find('a').removeClass('current');if(show){$section.show();$(this).addClass('current');}
9494 $.cookie('wikiEditor-'+
9595 $(this).data('context').instance+'-toolbar-section',show?$section.attr('rel'):null);return false;})));}});}}};})(jQuery);
\ No newline at end of file

Status & tagging log