Index: trunk/phase3/skins/common/wikibits.js |
— | — | @@ -763,7 +763,7 @@ |
764 | 764 | if ( ts_alternate_row_colors ) { |
765 | 765 | ts_alternate( table ); |
766 | 766 | } |
767 | | -} |
| 767 | +}; |
768 | 768 | |
769 | 769 | window.ts_initTransformTable = function() { |
770 | 770 | if ( typeof wgSeparatorTransformTable == 'undefined' |
— | — | @@ -816,11 +816,11 @@ |
817 | 817 | "[-+\u2212]?" + digitClass + "+%?" + // Generic localised |
818 | 818 | ")$", "i" |
819 | 819 | ); |
820 | | -} |
| 820 | +}; |
821 | 821 | |
822 | 822 | window.ts_toLowerCase = function( s ) { |
823 | 823 | return s.toLowerCase(); |
824 | | -} |
| 824 | +}; |
825 | 825 | |
826 | 826 | window.ts_dateToSortKey = function( date ) { |
827 | 827 | // y2k notes: two digit years less than 50 are treated as 20XX, greater than 50 are treated as 19XX |
— | — | @@ -885,7 +885,7 @@ |
886 | 886 | } |
887 | 887 | } |
888 | 888 | return '00000000'; |
889 | | -} |
| 889 | +}; |
890 | 890 | |
891 | 891 | window.ts_parseFloat = function( s ) { |
892 | 892 | if ( !s ) { |
— | — | @@ -906,15 +906,15 @@ |
907 | 907 | } |
908 | 908 | var num = parseFloat( s.replace(/[, ]/g, '').replace("\u2212", '-') ); |
909 | 909 | return ( isNaN( num ) ? -Infinity : num ); |
910 | | -} |
| 910 | +}; |
911 | 911 | |
912 | 912 | window.ts_currencyToSortKey = function( s ) { |
913 | 913 | return ts_parseFloat(s.replace(/[^-\u22120-9.,]/g,'')); |
914 | | -} |
| 914 | +}; |
915 | 915 | |
916 | 916 | window.ts_sort_generic = function( a, b ) { |
917 | 917 | return a[1] < b[1] ? -1 : a[1] > b[1] ? 1 : a[2] - b[2]; |
918 | | -} |
| 918 | +}; |
919 | 919 | |
920 | 920 | window.ts_alternate = function( table ) { |
921 | 921 | // Take object table and get all it's tbodies. |
— | — | @@ -937,7 +937,7 @@ |
938 | 938 | tableRows[j].className = newClassName + ( j % 2 == 0 ? 'even' : 'odd' ); |
939 | 939 | } |
940 | 940 | } |
941 | | -} |
| 941 | +}; |
942 | 942 | |
943 | 943 | /* |
944 | 944 | * End of table sorting code |
— | — | @@ -997,7 +997,7 @@ |
998 | 998 | messageDiv.innerHTML = message; |
999 | 999 | } |
1000 | 1000 | return true; |
1001 | | -} |
| 1001 | +}; |
1002 | 1002 | |
1003 | 1003 | /** |
1004 | 1004 | * Inject a cute little progress spinner after the specified element |
— | — | @@ -1015,7 +1015,7 @@ |
1016 | 1016 | } else { |
1017 | 1017 | element.parentNode.appendChild( spinner ); |
1018 | 1018 | } |
1019 | | -} |
| 1019 | +}; |
1020 | 1020 | |
1021 | 1021 | /** |
1022 | 1022 | * Remove a progress spinner added with injectSpinner() |
— | — | @@ -1027,7 +1027,7 @@ |
1028 | 1028 | if( spinner ) { |
1029 | 1029 | spinner.parentNode.removeChild( spinner ); |
1030 | 1030 | } |
1031 | | -} |
| 1031 | +}; |
1032 | 1032 | |
1033 | 1033 | window.runOnloadHook = function() { |
1034 | 1034 | // don't run anything below this for non-dom browsers |
— | — | @@ -1047,7 +1047,7 @@ |
1048 | 1048 | for ( var i = 0; i < onloadFuncts.length; i++ ) { |
1049 | 1049 | onloadFuncts[i](); |
1050 | 1050 | } |
1051 | | -} |
| 1051 | +}; |
1052 | 1052 | |
1053 | 1053 | /** |
1054 | 1054 | * Add an event handler to an element |
— | — | @@ -1062,11 +1062,11 @@ |
1063 | 1063 | } else if( element.attachEvent ) { |
1064 | 1064 | element.attachEvent( 'on' + attach, handler ); |
1065 | 1065 | } |
1066 | | -} |
| 1066 | +}; |
1067 | 1067 | |
1068 | 1068 | window.hookEvent = function( hookName, hookFunct ) { |
1069 | 1069 | addHandler( window, hookName, hookFunct ); |
1070 | | -} |
| 1070 | +}; |
1071 | 1071 | |
1072 | 1072 | /** |
1073 | 1073 | * Add a click event handler to an element |
— | — | @@ -1076,7 +1076,7 @@ |
1077 | 1077 | */ |
1078 | 1078 | window.addClickHandler = function( element, handler ) { |
1079 | 1079 | addHandler( element, 'click', handler ); |
1080 | | -} |
| 1080 | +}; |
1081 | 1081 | |
1082 | 1082 | /** |
1083 | 1083 | * Removes an event handler from an element |
— | — | @@ -1091,7 +1091,7 @@ |
1092 | 1092 | } else if( window.detachEvent ) { |
1093 | 1093 | element.detachEvent( 'on' + remove, handler ); |
1094 | 1094 | } |
1095 | | -} |
| 1095 | +}; |
1096 | 1096 | // note: all skins should call runOnloadHook() at the end of html output, |
1097 | 1097 | // so the below should be redundant. It's there just in case. |
1098 | 1098 | hookEvent( 'load', runOnloadHook ); |
Index: trunk/phase3/resources/jquery/jquery.textSelection.js |
— | — | @@ -173,7 +173,7 @@ |
174 | 174 | if ( preRange.compareEndPoints( "StartToEnd", preRange ) == 0 ) { |
175 | 175 | preFinished = true; |
176 | 176 | } else { |
177 | | - preRange.moveEnd( "character", -1 ) |
| 177 | + preRange.moveEnd( "character", -1 ); |
178 | 178 | if ( preRange.text == preText ) { |
179 | 179 | rawPreText += "\r\n"; |
180 | 180 | } else { |
Index: trunk/phase3/resources/jquery/jquery.collapsibleTabs.js |
— | — | @@ -112,4 +112,4 @@ |
113 | 113 | $.collapsibleTabs.handleResize(); |
114 | 114 | } |
115 | 115 | }; |
116 | | -} )( jQuery ) |
\ No newline at end of file |
| 116 | +} )( jQuery ); |
\ No newline at end of file |
Index: trunk/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -910,7 +910,7 @@ |
911 | 911 | return formatVersionNumber( registry[module].version ); |
912 | 912 | } |
913 | 913 | return null; |
914 | | - } |
| 914 | + }; |
915 | 915 | |
916 | 916 | /* Cache document ready status */ |
917 | 917 | |
— | — | @@ -954,7 +954,7 @@ |
955 | 955 | */ |
956 | 956 | this.Cdata = function( value ) { |
957 | 957 | this.value = value; |
958 | | - } |
| 958 | + }; |
959 | 959 | |
960 | 960 | /** |
961 | 961 | * Create an HTML element string, with safe escaping. |
Index: trunk/phase3/resources/mediawiki.language/languages/bs.js |
— | — | @@ -17,4 +17,4 @@ |
18 | 18 | default: |
19 | 19 | return forms[2]; |
20 | 20 | } |
21 | | -} |
| 21 | +}; |
Index: trunk/phase3/resources/mediawiki.language/languages/mt.js |
— | — | @@ -14,4 +14,4 @@ |
15 | 15 | return forms[2]; |
16 | 16 | } |
17 | 17 | return forms[3]; |
18 | | -} |
| 18 | +}; |