Index: branches/MwEmbedStandAlone/modules/Sequencer/mw.TimedEffectsEdit.js |
— | — | @@ -34,8 +34,8 @@ |
35 | 35 | 'pSeq': null, |
36 | 36 | |
37 | 37 | // The requested edit action |
38 | | - 'edit_action': null, |
39 | | -}; |
| 38 | + 'edit_action': null |
| 39 | +} |
40 | 40 | |
41 | 41 | mw.TimedEffectsEdit = function( options ) { |
42 | 42 | return this.init( options ); |
Index: branches/MwEmbedStandAlone/modules/Sequencer/mw.Sequencer.js |
— | — | @@ -1537,7 +1537,7 @@ |
1538 | 1538 | this.plObj.ctrlBuilder.addControlHooks( $j( '#' + this.timeline_id + '_pl_control' ) ); |
1539 | 1539 | |
1540 | 1540 | // render out the "jump" div |
1541 | | - if ( this.timeline_mode == 'time' ) { |
| 1541 | + if ( this.timeline_mode == 'time' ) { // Closure reports this line as inactive -papy |
1542 | 1542 | /*$j('#'+this.timeline_id+'_head_jump').width(pixle_length); |
1543 | 1543 | //output times every 50pixles |
1544 | 1544 | var out=''; |
Index: branches/MwEmbedStandAlone/modules/Sequencer/playlistEmbed.js |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | 'fullscreen': false, |
28 | 28 | 'time_display': true, |
29 | 29 | 'volume_control': true, |
30 | | - 'overlays': true, |
| 30 | + 'overlays': true |
31 | 31 | }, |
32 | 32 | |
33 | 33 | /** |
— | — | @@ -64,4 +64,4 @@ |
65 | 65 | getClipsInRange: function( range ) { |
66 | 66 | |
67 | 67 | } |
68 | | -} |
\ No newline at end of file |
| 68 | +} |
Index: branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js |
— | — | @@ -399,10 +399,9 @@ |
400 | 400 | |
401 | 401 | /** |
402 | 402 | * Checks if a source is "on" |
403 | | - * @return |
| 403 | + * @return {Boolean} |
404 | 404 | * true if source is on |
405 | 405 | * false if source is off |
406 | | - * @type {Boolean} |
407 | 406 | */ |
408 | 407 | isSourceEnabled: function( source ) { |
409 | 408 | for(var i in this.enabledSources ) { |
— | — | @@ -860,7 +859,7 @@ |
861 | 860 | * with some timedText features |
862 | 861 | * |
863 | 862 | * @param {Object} source Source object to extend |
864 | | - * @param {Object} {Optional} textProvider The text provider interface ( to load source from api ) |
| 863 | + * @param {Object} textProvider [Optional] The text provider interface ( to load source from api ) |
865 | 864 | */ |
866 | 865 | TextSource = function( source , textProvider) { |
867 | 866 | return this.init( source, textProvider ); |
— | — | @@ -1193,7 +1192,7 @@ |
1194 | 1193 | |
1195 | 1194 | /** |
1196 | 1195 | * Loads a single text source by titleKey |
1197 | | - * @param {titleKey} |
| 1196 | + * @param {Object} titleKey |
1198 | 1197 | */ |
1199 | 1198 | loadTitleKey: function( titleKey, callback ) { |
1200 | 1199 | var request = { |
— | — | @@ -1366,4 +1365,4 @@ |
1367 | 1366 | } |
1368 | 1367 | } ); |
1369 | 1368 | } |
1370 | | -} )( jQuery ); |
\ No newline at end of file |
| 1369 | +} )( jQuery ); |
Index: branches/MwEmbedStandAlone/modules/TimedText/mw.TimedTextEdit.js |
— | — | @@ -136,8 +136,7 @@ |
137 | 137 | |
138 | 138 | /** |
139 | 139 | * Creates an interface for a given stage id |
140 | | - * @return the jquery interface |
141 | | - * @type {Object} |
| 140 | + * @return {Object} the jquery interface |
142 | 141 | */ |
143 | 142 | createInterface: function( edit_stage_id) { |
144 | 143 | $target = $j('#tab-' + edit_stage_id); |
Index: branches/MwEmbedStandAlone/modules/TimedText/remotes/RemoteMwTimedText.js |
— | — | @@ -127,7 +127,7 @@ |
128 | 128 | /** |
129 | 129 | * Gets the properties of a given title as a resource |
130 | 130 | * @param {String} fileTitle Title of media asset to embed |
131 | | - * @param {Function} {Optional} callback Function to call once asset is embedded |
| 131 | + * @param {Function} callback [Optional] Function to call once asset is embedded |
132 | 132 | */ |
133 | 133 | getTitleResource: function( fileTitle, callback ) { |
134 | 134 | var _this = this; |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | 'poster' : page.imageinfo[0].thumburl, |
183 | 183 | 'src' : page.imageinfo[0].url, |
184 | 184 | 'width' : page.imageinfo[0].width, |
185 | | - 'height': page.imageinfo[0].height, |
| 185 | + 'height': page.imageinfo[0].height |
186 | 186 | }; |
187 | 187 | } |
188 | | -}; |
\ No newline at end of file |
| 188 | +}; |