Permalink
Browse files

defaults added to top, where they belong

  • Loading branch information...
1 parent 38372f1 commit 66a6f35e16e44c9a231899c4b1d155bcf2354709 @bensternthal committed Aug 7, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 SmartsheetIframe.php
View
@@ -21,6 +21,12 @@
'description' => 'This extension allows embedding of a smartsheet within an iframe.'
);
+//Defaults
+$wgSmartsheetTagName = 'smartsheet'; // The tag name to be processed
+$wgSmartsheetPublishURL = 'http://publish.smartsheet.com/'; // The URL for smartsheet published sheets
+$wgSmartsheetIframeWidth = 1000; // Default width
+$wgSmartsheetIframeHeight = 700; // Default height
+
// Hooks for plugin display
$wgHooks['ParserFirstCallInit'][] = 'SmartsheetParserInit';
@@ -63,10 +69,4 @@ function SmartsheetRender($input, array $args) {
'</iframe>';
return $output;
-}
-
-//Defaults
-$wgSmartsheetTagName = 'smartsheet'; // The tag name to be processed
-$wgSmartsheetPublishURL = 'http://publish.smartsheet.com/'; // The URL for smartsheet published sheets
-$wgSmartsheetIframeWidth = 1000; // Default width
-$wgSmartsheetIframeHeight = 700; // Default height
+}

0 comments on commit 66a6f35

Please sign in to comment.