r89133 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89132‎ | r89133 | r89134 >
Date:19:48, 29 May 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
added missing semicolons
Modified paths:
  • /trunk/extensions/SemanticWatchlist/specials/jquery.watchlistcondition.js (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticWatchlist/specials/jquery.watchlistcondition.js
@@ -163,29 +163,29 @@
164164 }
165165 } )
166166 );
167 - }
 167+ };
168168
169169 this.addPropertyDiv = function( property ) {
170170 var propDiv = $( '<div />' ).attr( 'class', 'propid' );
171 -
 171+
172172 var propInput = $( '<input />' ).attr( {
173173 'type': 'text',
174174 'value': property,
175175 'size': 30,
176176 'class': 'swl-group-prop'
177177 } );
178 -
 178+
179179 var removeButton = $( '<input />' ).attr( {
180180 'type': 'button',
181181 'value': mediaWiki.msg( 'swl-group-remove-property' )
182182 } );
183 -
 183+
184184 removeButton.click( function() {
185185 propDiv.remove();
186186 } );
187 -
 187+
188188 this.propsDiv.append( propDiv.html( propInput ).append( '&nbsp;' ).append( removeButton ) );
189 - }
 189+ };
190190
191191 this.getProperties = function() {
192192 var props = [];
@@ -195,7 +195,7 @@
196196 } );
197197
198198 return props;
199 - }
 199+ };
200200
201201 this.doSave = function( callback ) {
202202 var args = {
@@ -215,7 +215,7 @@
216216 callback( data.success );
217217 }
218218 );
219 - }
 219+ };
220220
221221 this.doDelete = function( callback ) {
222222 $.getJSON(
@@ -229,7 +229,7 @@
230230 callback( data.success );
231231 }
232232 );
233 - }
 233+ };
234234
235235 this.buildHtml();
236236

Status & tagging log