Index: branches/MwEmbedStandAlone/modules/AddMedia/mw.Firefogg.js |
— | — | @@ -647,7 +647,7 @@ |
648 | 648 | var previewTimer = setInterval( function() { |
649 | 649 | if ( _this.fogg.status() != "encoding" ) { |
650 | 650 | clearInterval( previewTimer ); |
651 | | - _this.show_preview == false; |
| 651 | + _this.show_preview == false; // Closure compiler marks this as irrelevant -papy |
652 | 652 | } |
653 | 653 | if ( _this.show_preview == true ) { |
654 | 654 | v.load(); |
Index: branches/MwEmbedStandAlone/modules/AddMedia/mw.FirefoggGUI.js |
— | — | @@ -149,9 +149,9 @@ |
150 | 150 | 'maxSize' : 1080, |
151 | 151 | 'videoQuality' : 6, |
152 | 152 | 'audioQuality' : 3, |
153 | | - 'noUpscaling' : true, |
| 153 | + 'noUpscaling' : true |
154 | 154 | } |
155 | | - }, |
| 155 | + } |
156 | 156 | } |
157 | 157 | }, |
158 | 158 | |
— | — | @@ -180,7 +180,7 @@ |
181 | 181 | 'default' : 1, |
182 | 182 | 'range' : { 'min': -1, 'max': 10 }, |
183 | 183 | 'type' : 'slider', |
184 | | - 'group' : 'quality', |
| 184 | + 'group' : 'quality' |
185 | 185 | }, |
186 | 186 | 'videoCodec': { |
187 | 187 | 'default' : "theora", |
— | — | @@ -211,7 +211,7 @@ |
212 | 212 | 'videoBitrate': { |
213 | 213 | 'range' : { 'min' : 1, 'max' : 16778 }, |
214 | 214 | 'type' : "slider", |
215 | | - 'group' : "advVideo", |
| 215 | + 'group' : "advVideo" |
216 | 216 | } , |
217 | 217 | 'twopass': { |
218 | 218 | 'type' : "boolean", |
— | — | @@ -290,7 +290,7 @@ |
291 | 291 | 'group' : 'meta' |
292 | 292 | }, |
293 | 293 | 'license': { |
294 | | - 'type' : 'string', |
| 294 | + 'type' : 'string' |
295 | 295 | }, |
296 | 296 | 'contact': { |
297 | 297 | 'type' : 'string', |
Index: branches/MwEmbedStandAlone/modules/AddMedia/mw.RemoteSearchDriver.js |
— | — | @@ -529,7 +529,7 @@ |
530 | 530 | * Get license icon html |
531 | 531 | * @param license_key the license key (ie "by-sa" or "by-nc-sa" etc) |
532 | 532 | * |
533 | | - * @return {jQuery element} A div containing the license icons. |
| 533 | + * @return {Element} A div containing the license icons. |
534 | 534 | */ |
535 | 535 | getLicenseIconHtml: function( licenseObj ) { |
536 | 536 | |
— | — | @@ -1552,7 +1552,7 @@ |
1553 | 1553 | * |
1554 | 1554 | * @param {Object} Object to store in context. |
1555 | 1555 | * |
1556 | | - * @return {function} A callback to retrieve the context. |
| 1556 | + * @return {Function} A callback to retrieve the context. |
1557 | 1557 | */ |
1558 | 1558 | storeContext: function( contextObject ) { |
1559 | 1559 | var context = contextObject; |
— | — | @@ -2275,7 +2275,7 @@ |
2276 | 2276 | /** |
2277 | 2277 | * Check if a given content provider is local. |
2278 | 2278 | * @param {Object} provider Provider object to be checked |
2279 | | - * @return |
| 2279 | + * @return {Boolean} |
2280 | 2280 | */ |
2281 | 2281 | isProviderLocal: function( provider ) { |
2282 | 2282 | if ( provider.local ) { |
— | — | @@ -2477,7 +2477,7 @@ |
2478 | 2478 | _this.doApiImport( resource, function() { |
2479 | 2479 | $j( '#rsd_resource_import' ).remove(); |
2480 | 2480 | _this.clipEdit.updateInsertControlActions(); |
2481 | | - callback |
| 2481 | + callback // Closure reports that this line is irrelevant -papy |
2482 | 2482 | }); |
2483 | 2483 | } else { |
2484 | 2484 | mw.log( "Error: import mode is not form or API (can not copy asset)" ); |
— | — | @@ -2961,7 +2961,7 @@ |
2962 | 2962 | /** |
2963 | 2963 | * Create controls for selecting result display layout (e.g. box, list) |
2964 | 2964 | * |
2965 | | - * @return {jQuery element} The layout element to embed in the page. |
| 2965 | + * @return {Element} The layout element to embed in the page. |
2966 | 2966 | */ |
2967 | 2967 | createLayoutSelector: function() { |
2968 | 2968 | |
— | — | @@ -3030,7 +3030,7 @@ |
3031 | 3031 | * |
3032 | 3032 | * @param The current content provider. |
3033 | 3033 | * |
3034 | | - * @return {jQuery element} A description element for embedding. |
| 3034 | + * @return {Element} A description element for embedding. |
3035 | 3035 | */ |
3036 | 3036 | createSearchDescription: function( provider ) { |
3037 | 3037 | var resultsFromMsg = gM( 'mwe-results_from', |
— | — | @@ -3056,7 +3056,7 @@ |
3057 | 3057 | * Results Header controls like box vs list view |
3058 | 3058 | * & search description |
3059 | 3059 | * |
3060 | | - * @return {jQuery element} The header for embedding in the result set. |
| 3060 | + * @return {Element} The header for embedding in the result set. |
3061 | 3061 | */ |
3062 | 3062 | createResultsHeader: function() { |
3063 | 3063 | var _this = this; |
— | — | @@ -3083,7 +3083,7 @@ |
3084 | 3084 | /** |
3085 | 3085 | * Creates the footer of the search results (paging). |
3086 | 3086 | * |
3087 | | - * @return {jQuery element} The footer for embedding in the result set. |
| 3087 | + * @return {Element} The footer for embedding in the result set. |
3088 | 3088 | */ |
3089 | 3089 | createResultsFooter: function() { |
3090 | 3090 | var _this = this; |
— | — | @@ -3100,7 +3100,7 @@ |
3101 | 3101 | /** |
3102 | 3102 | * Generates an HTML control for paging between search results. |
3103 | 3103 | * |
3104 | | - * @return {jQuery element} paging control for current results |
| 3104 | + * @return {Element} paging control for current results |
3105 | 3105 | */ |
3106 | 3106 | createPagingControl: function( target ) { |
3107 | 3107 | var _this = this; |
— | — | @@ -3197,4 +3197,4 @@ |
3198 | 3198 | // Run / update search display: |
3199 | 3199 | this.showResults( ); |
3200 | 3200 | } |
3201 | | -}; |
\ No newline at end of file |
| 3201 | +}; |
Index: branches/MwEmbedStandAlone/modules/AddMedia/jquery.dragDropFile.js |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | $j( 'body' ).append( |
50 | 50 | $j('<div />') |
51 | 51 | .attr( { |
52 | | - 'title' : gM( 'mwe-upload-multi', fileCount ) |
| 52 | + 'title' : gM( 'mwe-upload-multi', fileCount ); |
53 | 53 | 'id' : 'multiple_file_input' |
54 | 54 | } ) |
55 | 55 | .css({ |