r73594 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73593‎ | r73594 | r73595 >
Date:06:22, 23 September 2010
Author:dale
Status:deferred
Tags:
Comment:
removed some extra commas
Modified paths:
  • /branches/MwEmbedStandAlone/modules/SmilPlayer/mw.SmilLayout.js (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/modules/SmilPlayer/mw.SmilLayout.js
@@ -437,7 +437,7 @@
438438
439439 var request = {
440440 'action' : 'parse',
441 - 'text': wikiTextTemplateCall,
 441+ 'text': wikiTextTemplateCall
442442 };
443443 // Check if we have the titleKey for the sequence and use that as context title
444444 var titleKey = this.smil.getEmbedPlayer().apiTitleKey;
@@ -618,13 +618,13 @@
619619 if( img.naturalWidth ){
620620 callback( {
621621 'width' : img.naturalWidth,
622 - 'height' : img.naturalHeight,
 622+ 'height' : img.naturalHeight
623623 } )
624624 } else {
625625 $j( img ).load(function(){
626626 callback( {
627627 'width' : this.naturalWidth,
628 - 'height' : this.naturalHeight,
 628+ 'height' : this.naturalHeight
629629 } )
630630 });
631631 }
@@ -967,7 +967,7 @@
968968
969969 // convert named font sizes to em:
970970 if( this.emFontSizeMap[ cssAttributes['font-size'] ] ){
971 - cssAttributes['font-size'] = sizeMap[ cssAttributes['font-size'] ];
 971+ cssAttributes['font-size'] = this.emFontSizeMap[ cssAttributes['font-size'] ];
972972 }
973973
974974 // If the font size is pixel based parent span will have no effect,

Status & tagging log