r63207 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63206‎ | r63207 | r63208 >
Date:15:21, 3 March 2010
Author:jeroendedauw
Status:ok
Tags:
Comment:
Fixed style error from r63203
Modified paths:
  • /trunk/extensions/Storyboard/tags/Storyboard/Storyboard_body.php (modified) (history)
  • /trunk/extensions/Storyboard/tags/Storyboard/storyboard.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Storyboard/tags/Storyboard/storyboard.js
@@ -3,7 +3,7 @@
44 */
55
66 $j( document ).ready( function(){
7 - $j( '.storyboard' ).ajaxScroll( {
 7+ $j( '.ajaxscroll' ).ajaxScroll( {
88 updateBatch: updateStoryboard,
99 batchSize: 5,
1010 batchNum: 1
@@ -23,4 +23,4 @@
2424 // TODO: use data to create stories html
2525 }
2626 );
27 -}
 27+}
\ No newline at end of file
Index: trunk/extensions/Storyboard/tags/Storyboard/Storyboard_body.php
@@ -15,7 +15,7 @@
1616 }
1717
1818 class TagStoryboard {
19 -
 19+
2020 public static function render( $input, $args, $parser, $frame ) {
2121 global $wgOut, $wgJsMimeType, $wgScriptPath, $egStoryboardScriptPath, $egStoryboardWidth, $egStoryboardHeight;
2222
@@ -30,7 +30,6 @@
3131
3232 $output = Html::element( 'div', array(
3333 'class' => 'ajaxscroll',
34 - 'class' => 'storyboard',
3534 'style' => "height: $height; width: $width;"
3635 )
3736 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r63203Storyboard: Redo r63200 in a cleaner way, using a class instead of consecutiv...catrope15:03, 3 March 2010

Status & tagging log