r77844 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77843‎ | r77844 | r77845 >
Date:23:31, 5 December 2010
Author:aaron
Status:ok
Tags:
Comment:
Bracket cleanup
Modified paths:
  • /trunk/extensions/FlaggedRevs/client/flaggedrevs.js (modified) (history)
  • /trunk/extensions/FlaggedRevs/client/review.js (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/client/flaggedrevs.js
@@ -160,7 +160,7 @@
161161 if( checkbox ) {
162162 checkbox.onclick = FlaggedRevs.updateSaveButton;
163163 }
164 -}
 164+};
165165
166166 FlaggedRevs.updateSaveButton = function() {
167167 var checkbox = document.getElementById("wpReviewEdit");
@@ -176,7 +176,7 @@
177177 save.title = FlaggedRevs.messages.tooltipSubmit;
178178 }
179179 }
180 -}
 180+};
181181
182182 FlaggedRevs.getRevisionContents = function() {
183183 //get the contents div and replace it with actual parsed article contents via an API call.
@@ -228,13 +228,13 @@
229229 }
230230 }
231231 }
232 -}
 232+};
233233
234234 FlaggedRevs.setJSTriggers = function() {
235235 FlaggedRevs.enableShowhide();
236236 FlaggedRevs.setCheckTrigger();
237237 FlaggedRevs.getRevisionContents();
238 -}
 238+};
239239
240240 //TODO figure out the correct way to do this
241241 window.onload = FlaggedRevs.setJSTriggers;
Index: trunk/extensions/FlaggedRevs/client/review.js
@@ -60,7 +60,7 @@
6161
6262 // Update colors of <select>
6363 FlaggedRevs.updateRatingFormColors();
64 -}
 64+};
6565
6666 /*
6767 * Disable 'accept' button if the revision was already reviewed
@@ -73,7 +73,7 @@
7474 asubmit.disabled = 'disabled';
7575 }
7676 }
77 -}
 77+};
7878
7979 hookEvent( "load", FlaggedRevs.maybeDisableAcceptButton );
8080
@@ -91,7 +91,7 @@
9292 }
9393 }
9494 }
95 -}
 95+};
9696
9797 hookEvent( "load", FlaggedRevs.updateRatingFormColors );
9898
@@ -309,7 +309,7 @@
310310 if( diffHeaderItems && response != '' ) {
311311 diffHeaderItems.innerHTML = response;
312312 }
313 -}
 313+};
314314
315315 wgAjaxReview.onLoad = function() {
316316 var asubmit = document.getElementById("mw-fr-submit-accept");

Follow-up revisions

RevisionCommit summaryAuthorDate
r78352Merged r77844 and r77845 from trunkpdhanda00:29, 14 December 2010

Status & tagging log