Index: trunk/extensions/Collection/js/bookcreator.js |
— | — | @@ -72,7 +72,7 @@ |
73 | 73 | function createDiv() { |
74 | 74 | addremove_link = $('<a href="javascript:void(0)" />'); |
75 | 75 | popup_div = $('<div id="collectionpopup" />'); |
76 | | - popup_div.append(addremove_link) |
| 76 | + popup_div.append(addremove_link); |
77 | 77 | $('body').append(popup_div); |
78 | 78 | popup_div.hide(); |
79 | 79 | } |
Index: trunk/extensions/Collection/js/jstorage.js |
— | — | @@ -137,7 +137,7 @@ |
138 | 138 | // If userData is used as the storage engine, additional |
139 | 139 | if(this._storage_elm){ |
140 | 140 | try{ |
141 | | - this._storage_elm.setAttribute("jStorage",this._storage_service.jStorage) |
| 141 | + this._storage_elm.setAttribute("jStorage",this._storage_service.jStorage); |
142 | 142 | this._storage_elm.save("jStorage"); |
143 | 143 | }catch(E){/* probably cache is full, nothing is saved this way*/} |
144 | 144 | } |
— | — | @@ -206,7 +206,7 @@ |
207 | 207 | this._save(); |
208 | 208 | return true; |
209 | 209 | } |
210 | | - } |
| 210 | + }; |
211 | 211 | // load saved data from browser |
212 | 212 | $.jStorage._init(); |
213 | 213 | })(typeof jQuery != "undefined" && jQuery || $); |
\ No newline at end of file |
Index: trunk/extensions/OggHandler/OggPlayer.js |
— | — | @@ -720,7 +720,7 @@ |
721 | 721 | if ( !xiphQtVersion || xiphQtVersion == '0.0' ) { |
722 | 722 | var div = document.createElement( 'div' ); |
723 | 723 | div.className = 'ogg-player-options'; |
724 | | - div.style.cssText = 'width:' + ( params.width - 10 ) + 'px;' |
| 724 | + div.style.cssText = 'width:' + ( params.width - 10 ) + 'px;'; |
725 | 725 | div.innerHTML = this_.getMsg( 'ogg-no-xiphqt' ); |
726 | 726 | var optionsDiv = document.getElementById( params.id + '_options_box' ); |
727 | 727 | if ( optionsDiv ) { |
Index: trunk/extensions/CommunityVoice/Resources/CommunityVoice.js |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | return true; |
28 | 28 | } |
29 | 29 | return false; |
30 | | - } |
| 30 | + }; |
31 | 31 | /** |
32 | 32 | * Removes an object form pool |
33 | 33 | * @param id ID number of object to remove |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | return true; |
41 | 41 | } |
42 | 42 | return false; |
43 | | - } |
| 43 | + }; |
44 | 44 | /** |
45 | 45 | * Gets an object from pool |
46 | 46 | * @param id ID number of object to get |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | |
82 | 82 | this.getId = function() { |
83 | 83 | return id; |
84 | | - } |
| 84 | + }; |
85 | 85 | |
86 | 86 | this.rate = function( |
87 | 87 | newRating |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | ); |
114 | 114 | // Restores current request type |
115 | 115 | sajax_request_type = oldRequestType; |
116 | | - } |
| 116 | + }; |
117 | 117 | |
118 | 118 | this.respond = function( |
119 | 119 | request |
— | — | @@ -149,21 +149,21 @@ |
150 | 150 | } |
151 | 151 | // Updates UI |
152 | 152 | self.update(); |
153 | | - } |
| 153 | + }; |
154 | 154 | |
155 | 155 | this.lock = function() { |
156 | 156 | locked = true; |
157 | 157 | for ( star in stars ) { |
158 | 158 | stars[star].style.cursor = 'default'; |
159 | 159 | } |
160 | | - } |
| 160 | + }; |
161 | 161 | |
162 | 162 | this.unlock = function() { |
163 | 163 | locked = false; |
164 | 164 | for ( star in stars ) { |
165 | 165 | stars[star].style.cursor = 'pointer'; |
166 | 166 | } |
167 | | - } |
| 167 | + }; |
168 | 168 | |
169 | 169 | this.update = function( |
170 | 170 | hoveredStar |
— | — | @@ -191,7 +191,7 @@ |
192 | 192 | labels.stats.className = 'stats'; |
193 | 193 | labels.status.innerHTML = messages.status[status]; |
194 | 194 | labels.status.className = status; |
195 | | - } |
| 195 | + }; |
196 | 196 | |
197 | 197 | // Loops 5 times (once per star) |
198 | 198 | for ( var i = 0; i < 5; i++ ) { |
Index: trunk/extensions/ProofreadPage/proofread.js |
— | — | @@ -579,7 +579,7 @@ |
580 | 580 | ); |
581 | 581 | } |
582 | 582 | } |
583 | | -} |
| 583 | +}; |
584 | 584 | |
585 | 585 | function pr_zoom_wheel( evt ) { |
586 | 586 | evt = evt ? evt : window.event ? window.event : null; |
— | — | @@ -936,7 +936,7 @@ |
937 | 937 | } |
938 | 938 | form.elements['wpSummary'].value = '/* ' + text + ' */ '; |
939 | 939 | form.elements['wpProofreader'].value = self.proofreadpage_username; |
940 | | -} |
| 940 | +}; |
941 | 941 | |
942 | 942 | function pr_add_quality_buttons() { |
943 | 943 | var ig = document.getElementById( 'wpWatchthis' ); |
Index: trunk/extensions/wikihiero/index.php |
— | — | @@ -127,13 +127,13 @@ |
128 | 128 | |
129 | 129 | function LangLink(l) |
130 | 130 | { |
131 | | - document.wh_form.lang.value = l |
132 | | - document.wh_form.submit() |
| 131 | + document.wh_form.lang.value = l; |
| 132 | + document.wh_form.submit(); |
133 | 133 | } |
134 | 134 | |
135 | 135 | function DisableScale(l) |
136 | 136 | { |
137 | | - document.wh_form.scale.disabled = l |
| 137 | + document.wh_form.scale.disabled = l; |
138 | 138 | } |
139 | 139 | |
140 | 140 | </SCRIPT> |
Index: trunk/extensions/CategoryTree/CategoryTree.js |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | div.style.display= 'block'; |
34 | 34 | lnk.innerHTML= categoryTreeCollapseBulletMsg; |
35 | 35 | lnk.title= categoryTreeCollapseMsg; |
36 | | - lnk.onclick= function() { categoryTreeCollapseNode(cat, options, lnk) } |
| 36 | + lnk.onclick= function() { categoryTreeCollapseNode(cat, options, lnk) }; |
37 | 37 | |
38 | 38 | if (!lnk.className.match(/(^| )CategoryTreeLoaded($| )/)) { |
39 | 39 | categoryTreeLoadNode(cat, options, lnk, div); |
— | — | @@ -53,7 +53,7 @@ |
54 | 54 | lnk.className= 'CategoryTreeLoaded'; |
55 | 55 | lnk.innerHTML= categoryTreeCollapseBulletMsg; |
56 | 56 | lnk.title= categoryTreeCollapseMsg; |
57 | | - lnk.onclick= function() { categoryTreeCollapseNode(cat, options, lnk) } |
| 57 | + lnk.onclick= function() { categoryTreeCollapseNode(cat, options, lnk) }; |
58 | 58 | |
59 | 59 | categoryTreeLoadChildren(cat, options, div) |
60 | 60 | } |
— | — | @@ -116,7 +116,7 @@ |
117 | 117 | retryLink.innerHTML = categoryTreeRetryMsg; |
118 | 118 | retryLink.onclick = function() { |
119 | 119 | categoryTreeLoadChildren(cat, options, div, enc); |
120 | | - } |
| 120 | + }; |
121 | 121 | div.appendChild(retryLink); |
122 | 122 | return; |
123 | 123 | } |
Index: trunk/extensions/Translate/utils/JsSelectToInput.js |
— | — | @@ -1,9 +1,9 @@ |
2 | 2 | function appendFromSelect(selectid,targetid) { |
3 | 3 | var select = document.getElementById(selectid); |
4 | 4 | var target = document.getElementById(targetid); |
5 | | - if(!target || !select) return |
| 5 | + if(!target || !select) return; |
6 | 6 | var atxt = select.options[select.selectedIndex].value; |
7 | | - if(!atxt) return |
| 7 | + if(!atxt) return; |
8 | 8 | /* Ugly hack */ |
9 | 9 | target.value = target.value.replace(/default/, '' ); |
10 | 10 | if(target.value.replace(/[\s\t\n]/ig,'') != '') atxt = ', ' + atxt; |
Index: trunk/extensions/AjaxQueryPages/AjaxQueryPages.js |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | |
6 | 6 | wgAjaxQueryPages.onLoad = function() { |
7 | 7 | wgAjaxQueryPages.replacelinks( document ); |
8 | | -} |
| 8 | +}; |
9 | 9 | |
10 | 10 | wgAjaxQueryPages.replacelinks = function( target ) { |
11 | 11 | var elsPrev = getElementsByClassName(target, "a", "mw-prevlink"); |