r77872 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77871‎ | r77872 | r77873 >
Date:12:18, 6 December 2010
Author:reedy
Status:ok
Tags:
Comment:
bug 26265, a few explicit ; at end of blocks
Modified paths:
  • /trunk/phase3/skins/common/ajax.js (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/common/ajax.js
@@ -33,7 +33,7 @@
3434 e.appendChild( m );
3535
3636 return true;
37 -}
 37+};
3838
3939 /**
4040 * Compatibility wrapper for creating a new XMLHttpRequest object.
@@ -62,7 +62,7 @@
6363 }
6464
6565 return A;
66 -}
 66+};
6767
6868 /**
6969 * Perform an AJAX call to MediaWiki. Calls are handled by AjaxDispatcher.php
@@ -164,7 +164,7 @@
165165 delete x;
166166
167167 return true;
168 -}
 168+};
169169
170170 /**
171171 * @return boolean whether the browser supports XMLHttpRequest
@@ -174,4 +174,4 @@
175175 var supportsAjax = request ? true : false;
176176 delete request;
177177 return supportsAjax;
178 -}
 178+};

Follow-up revisions

RevisionCommit summaryAuthorDate
r77922(bug 26265) Many semicolons are missing from JavaScript files...reedy22:29, 6 December 2010
r77923(bug 26265) Many semicolons are missing from JavaScript files...reedy22:30, 6 December 2010
r77924(bug 26265) Many semicolons are missing from JavaScript files...reedy22:30, 6 December 2010
r77926(bug 26265) Many semicolons are missing from JavaScript files...reedy22:34, 6 December 2010
r77928Some more unterminated statements (bug 26265)reedy22:51, 6 December 2010
r77932Wikibasha: bug 26265 - Missing ; from JSreedy23:32, 6 December 2010

Status & tagging log