r103882 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103881‎ | r103882 | r103883 >
Date:01:54, 22 November 2011
Author:raindrift
Status:ok
Tags:
Comment:
whitespace fixes
Modified paths:
  • /trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedTypes.js (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedTypes.js
@@ -36,15 +36,15 @@
3737 // MediaPlayers object ( supports methods for quering set of browser players )
3838 mediaPlayers: null,
3939
40 - // Detect flag for completion
41 - detect_done:false,
 40+ // Detect flag for completion
 41+ detect_done:false,
4242
43 - /**
44 - * Runs the detect method and update the detect_done flag
45 - *
46 - * @constructor
47 - */
48 - init: function() {
 43+ /**
 44+ * Runs the detect method and update the detect_done flag
 45+ *
 46+ * @constructor
 47+ */
 48+ init: function() {
4949 // detect supported types
5050 this.detect();
5151 this.detect_done = true;
@@ -82,9 +82,9 @@
8383 mw.log( "embedPlayer: running detect" );
8484 // In Mozilla, navigator.javaEnabled() only tells us about preferences, we need to
8585 // search navigator.mimeTypes to see if it's installed
86 - try{
 86+ try {
8787 var javaEnabled = navigator.javaEnabled();
88 - } catch ( e ){
 88+ } catch ( e ) {
8989
9090 }
9191 // Some browsers filter out duplicate mime types, hiding some plugins

Status & tagging log