{"comment":{"url":"https://api.github.com/repos/StylishThemes/GitHub-Dark-Script/comments/17629142","html_url":"https://github.com/StylishThemes/GitHub-Dark-Script/commit/d9e2e9b85ef0a90d6040e22d9fb857c40dfb2df4#commitcomment-17629142","id":17629142,"user":{"login":"Mottie","id":136959,"avatar_url":"https://avatars.githubusercontent.com/u/136959?v=3","gravatar_id":"","url":"https://api.github.com/users/Mottie","html_url":"https://github.com/Mottie","followers_url":"https://api.github.com/users/Mottie/followers","following_url":"https://api.github.com/users/Mottie/following{/other_user}","gists_url":"https://api.github.com/users/Mottie/gists{/gist_id}","starred_url":"https://api.github.com/users/Mottie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mottie/subscriptions","organizations_url":"https://api.github.com/users/Mottie/orgs","repos_url":"https://api.github.com/users/Mottie/repos","events_url":"https://api.github.com/users/Mottie/events{/privacy}","received_events_url":"https://api.github.com/users/Mottie/received_events","type":"User","site_admin":false},"position":121,"line":374,"path":"github-dark-script.user.js","commit_id":"d9e2e9b85ef0a90d6040e22d9fb857c40dfb2df4","created_at":"2016-05-26T12:47:48Z","updated_at":"2016-05-26T12:47:48Z","body":"So it looks like it's this line that prevents the pasted in style from working, or really it re-fetches the style when the panel closes.\r\n\r\nI had the script set up to only get the style & theme from `raw.githubusercontent` once a day unless you use the force update button. Without it, you'll get a FOUC when GitHub isn't using ajax to load content. But lately, even before these updates, I've been noticing a lot more FOUC - I'm not sure what's up with that - so I switched back to using Stylish until I had more time to figure it out.\r\n\r\nAlso, in reference to the other comment above, I originally added all the functions inside the `ghd` object to make debugging easier since it's pretty much impossible to access the code from the console. So, I'm fine with making them into scoped functions & variables.\r\n\r\nI'll work on a rewrite this weekend, unless you get to it first. :wink: "}}
{"actor":{"display_login":"Mottie"}}