Re-indent the initCommand initializer for rai.tv
authorAntonio Ospite <ospite@studenti.unina.it>
Sat, 1 Sep 2012 10:48:07 +0000 (12:48 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Sat, 1 Sep 2012 10:49:45 +0000 (12:49 +0200)
This shows better that initCommand is a first level member of a site
object.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
direct_download_links.user.js

index 7c19b3c..37bca00 100644 (file)
@@ -102,10 +102,10 @@ var supported_sites = [
   },
   {
     locationRegexp: /^http:\/\/www\.rai\.tv\/.*$/,
-      initCommand: function(site) {
-        unsafeWindow.Silverlight.isInstalled = function(version) {
-          return true;
-        };
+    initCommand: function(site) {
+      unsafeWindow.Silverlight.isInstalled = function(version) {
+        return true;
+      };
     },
     urlContainerXPath: '//div[@id="silverlightControlHost" or @id="SilverlightPlayer"]',
     urlRegexp: /mediaUri=(http:\/\/[^,]*)/,