From: Antonio Ospite Date: Sat, 1 Sep 2012 10:48:07 +0000 (+0200) Subject: Re-indent the initCommand initializer for rai.tv X-Git-Url: https://git.ao2.it/GM_direct_download_links.git/commitdiff_plain/15d19652007f2070866f213a27dc3f425366bf10?ds=inline Re-indent the initCommand initializer for rai.tv This shows better that initCommand is a first level member of a site object. Signed-off-by: Antonio Ospite --- diff --git a/direct_download_links.user.js b/direct_download_links.user.js index 7c19b3c..37bca00 100644 --- a/direct_download_links.user.js +++ b/direct_download_links.user.js @@ -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:\/\/[^,]*)/,