r98192 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98191‎ | r98192 | r98193 >
Date:23:10, 26 September 2011
Author:raindrift
Status:ok
Tags:
Comment:
slightly more clear syntax
Modified paths:
  • /trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedPlayer.js (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedPlayer.js
@@ -186,7 +186,7 @@
187187 $( mw ).trigger( 'checkPlayerWaitForMetaData', playerElement );
188188
189189 // Update the waitForMeta object if set to boolean false:
190 - waitForMeta = ( playerElement.waitForMeta === false )? false : true;
 190+ waitForMeta = !! playerElement.waitForMeta;
191191
192192
193193 // Confirm we want to wait for meta data ( if not already set to false by module )

Status & tagging log