r88136 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88135‎ | r88136 | r88137 >
Date:09:10, 15 May 2011
Author:tparscal
Status:ok
Tags:
Comment:
Fixes regression in r88125 - if batch is empty we should bail early
Modified paths:
  • /trunk/phase3/resources/mediawiki/mediawiki.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/mediawiki/mediawiki.js
@@ -984,6 +984,10 @@
985985 }
986986 }
987987 }
 988+ // Early exit if there's nothing to load
 989+ if ( !batch.length ) {
 990+ return;
 991+ }
988992 // Clean up the queue
989993 queue = [];
990994 // Always order modules alphabetically to help reduce cache

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r88125Removed the go() call, and the suspended until go() is called behavior.tparscal23:12, 14 May 2011

Status & tagging log