{"action":"created","issue":{"url":"https://api.github.com/repos/codevise/pageflow/issues/537","repository_url":"https://api.github.com/repos/codevise/pageflow","labels_url":"https://api.github.com/repos/codevise/pageflow/issues/537/labels{/name}","comments_url":"https://api.github.com/repos/codevise/pageflow/issues/537/comments","events_url":"https://api.github.com/repos/codevise/pageflow/issues/537/events","html_url":"https://github.com/codevise/pageflow/issues/537","id":160872310,"number":537,"title":"Allow themes to include JavaScript","user":{"login":"tilsammans","id":14680,"avatar_url":"https://avatars.githubusercontent.com/u/14680?v=3","gravatar_id":"","url":"https://api.github.com/users/tilsammans","html_url":"https://github.com/tilsammans","followers_url":"https://api.github.com/users/tilsammans/followers","following_url":"https://api.github.com/users/tilsammans/following{/other_user}","gists_url":"https://api.github.com/users/tilsammans/gists{/gist_id}","starred_url":"https://api.github.com/users/tilsammans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tilsammans/subscriptions","organizations_url":"https://api.github.com/users/tilsammans/orgs","repos_url":"https://api.github.com/users/tilsammans/repos","events_url":"https://api.github.com/users/tilsammans/events{/privacy}","received_events_url":"https://api.github.com/users/tilsammans/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-17T11:56:24Z","updated_at":"2016-06-20T14:30:24Z","closed_at":"2016-06-20T14:30:24Z","body":"For some of our themes I find myself wanting to include JavaScript. There are just some cases where it's handy to have full control. Instead of having to inline it would be nice if Pageflow were to consider JavaScript for themes as well. A theme could (optionally) include an asset pipeline backed JavaScript file.\r\n\r\nThemes would then become a collection of JS + CSS instead of just CSS.\r\n\r\nBecause it's easy to make a royal mess this should probably be left to advanced customisers only and come with some warnings?"},"comment":{"url":"https://api.github.com/repos/codevise/pageflow/issues/comments/227159044","html_url":"https://github.com/codevise/pageflow/issues/537#issuecomment-227159044","issue_url":"https://api.github.com/repos/codevise/pageflow/issues/537","id":227159044,"user":{"login":"tilsammans","id":14680,"avatar_url":"https://avatars.githubusercontent.com/u/14680?v=3","gravatar_id":"","url":"https://api.github.com/users/tilsammans","html_url":"https://github.com/tilsammans","followers_url":"https://api.github.com/users/tilsammans/followers","following_url":"https://api.github.com/users/tilsammans/following{/other_user}","gists_url":"https://api.github.com/users/tilsammans/gists{/gist_id}","starred_url":"https://api.github.com/users/tilsammans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tilsammans/subscriptions","organizations_url":"https://api.github.com/users/tilsammans/orgs","repos_url":"https://api.github.com/users/tilsammans/repos","events_url":"https://api.github.com/users/tilsammans/events{/privacy}","received_events_url":"https://api.github.com/users/tilsammans/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T14:30:24Z","updated_at":"2016-06-20T14:30:24Z","body":"Sure, makes sense. More docs about these things would be helpful; widgets to me are still pretty obscure and they're impossible to manage through the editor, right? Until now I've been updating raw DB records when I needed to apply widgets to published stories ... and also removing them when the copy task copied them over."}}
{"actor":{"display_login":"tilsammans"}}