Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.templateEditor.js |
— | — | @@ -253,7 +253,7 @@ |
254 | 254 | $template.parent().attr('contentEditable', 'false'); |
255 | 255 | } |
256 | 256 | |
257 | | - $template.click( function(event) {event.preventDefault(); return false;} ) |
| 257 | + $template.click( function(event) {event.preventDefault(); return false;}; ) |
258 | 258 | |
259 | 259 | $template.find( '.wikiEditor-template-name' ) |
260 | 260 | .click( function( event ) { |
— | — | @@ -378,7 +378,7 @@ |
379 | 379 | .val( paramVal ) |
380 | 380 | .each( function() { |
381 | 381 | $(this).css( 'height', $(this).val().length > 24 ? '4.5em' : '1.5em' ); |
382 | | - } ) |
| 382 | + } ); |
383 | 383 | $rows = $rows.not( $row ); |
384 | 384 | } else { |
385 | 385 | // Create a new row |
— | — | @@ -623,7 +623,7 @@ |
624 | 624 | */ |
625 | 625 | this.getAllInitialParams = function(){ |
626 | 626 | return params; |
627 | | - } |
| 627 | + }; |
628 | 628 | /** |
629 | 629 | * Get original template text |
630 | 630 | */ |
— | — | @@ -647,7 +647,7 @@ |
648 | 648 | |
649 | 649 | this.isCollapsible = function() { |
650 | 650 | return collapsible; |
651 | | - } |
| 651 | + }; |
652 | 652 | |
653 | 653 | /** |
654 | 654 | * Update ranges if there's been a change in one or more 'segments' of the template. |
Index: trunk/extensions/WikiEditor/modules/contentCollector.js |
— | — | @@ -431,7 +431,7 @@ |
432 | 432 | numLinesAfter : wrapData.numLinesAfter, |
433 | 433 | lines : lineStrings |
434 | 434 | }; |
435 | | - } |
| 435 | + }; |
436 | 436 | |
437 | 437 | return cc; |
438 | 438 | } |
Index: trunk/extensions/WikiEditor/modules/ext.wikiEditor.addMediaWizard.js |
— | — | @@ -12,4 +12,4 @@ |
13 | 13 | 'http://prototype.wikimedia.org/s-2/js/mwEmbed/remotes/mediaWiki.js?&uselang=' + wgUserLanguage, |
14 | 14 | 'text/javascript' |
15 | 15 | ); |
16 | | -} |
\ No newline at end of file |
| 16 | +}; |
\ No newline at end of file |
Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.iframe.js |
— | — | @@ -1140,7 +1140,7 @@ |
1141 | 1141 | if ( preRange.compareEndPoints( "StartToEnd", preRange ) == 0 ) { |
1142 | 1142 | postFinished = true; |
1143 | 1143 | } else { |
1144 | | - preRange.moveEnd( "character", -1 ) |
| 1144 | + preRange.moveEnd( "character", -1 ); |
1145 | 1145 | if ( preRange.text == preText ) { |
1146 | 1146 | rawPreText += "\r\n"; |
1147 | 1147 | } else { |
— | — | @@ -1152,7 +1152,7 @@ |
1153 | 1153 | if ( periRange.compareEndPoints( "StartToEnd", periRange ) == 0 ) { |
1154 | 1154 | periFinished = true; |
1155 | 1155 | } else { |
1156 | | - periRange.moveEnd( "character", -1 ) |
| 1156 | + periRange.moveEnd( "character", -1 ); |
1157 | 1157 | if ( periRange.text == periText ) { |
1158 | 1158 | rawPeriText += "\r\n"; |
1159 | 1159 | } else { |
— | — | @@ -1164,7 +1164,7 @@ |
1165 | 1165 | if ( postRange.compareEndPoints("StartToEnd", postRange) == 0 ) { |
1166 | 1166 | postFinished = true; |
1167 | 1167 | } else { |
1168 | | - postRange.moveEnd( "character", -1 ) |
| 1168 | + postRange.moveEnd( "character", -1 ); |
1169 | 1169 | if ( postRange.text == postText ) { |
1170 | 1170 | rawPostText += "\r\n"; |
1171 | 1171 | } else { |