{"action":"created","issue":{"url":"https://api.github.com/repos/gelform/kanban-wordpress-plugin/issues/19","labels_url":"https://api.github.com/repos/gelform/kanban-wordpress-plugin/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/gelform/kanban-wordpress-plugin/issues/19/comments","events_url":"https://api.github.com/repos/gelform/kanban-wordpress-plugin/issues/19/events","html_url":"https://github.com/gelform/kanban-wordpress-plugin/issues/19","id":108946709,"number":19,"title":"Move ALL inline JavaScript to external file","user":{"login":"wpsmith","id":817366,"avatar_url":"https://avatars.githubusercontent.com/u/817366?v=3","gravatar_id":"","url":"https://api.github.com/users/wpsmith","html_url":"https://github.com/wpsmith","followers_url":"https://api.github.com/users/wpsmith/followers","following_url":"https://api.github.com/users/wpsmith/following{/other_user}","gists_url":"https://api.github.com/users/wpsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/wpsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpsmith/subscriptions","organizations_url":"https://api.github.com/users/wpsmith/orgs","repos_url":"https://api.github.com/users/wpsmith/repos","events_url":"https://api.github.com/users/wpsmith/events{/privacy}","received_events_url":"https://api.github.com/users/wpsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-29T19:55:51Z","updated_at":"2015-10-03T12:47:10Z","closed_at":null,"body":"Move all inline JavaScript to a file. If any dynamic values need to be created use ```wp_localize_script()```.\r\n\r\nhttps://codex.wordpress.org/Function_Reference/wp_localize_script"},"comment":{"url":"https://api.github.com/repos/gelform/kanban-wordpress-plugin/issues/comments/145245803","html_url":"https://github.com/gelform/kanban-wordpress-plugin/issues/19#issuecomment-145245803","issue_url":"https://api.github.com/repos/gelform/kanban-wordpress-plugin/issues/19","id":145245803,"user":{"login":"gelform","id":2414813,"avatar_url":"https://avatars.githubusercontent.com/u/2414813?v=3","gravatar_id":"","url":"https://api.github.com/users/gelform","html_url":"https://github.com/gelform","followers_url":"https://api.github.com/users/gelform/followers","following_url":"https://api.github.com/users/gelform/following{/other_user}","gists_url":"https://api.github.com/users/gelform/gists{/gist_id}","starred_url":"https://api.github.com/users/gelform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gelform/subscriptions","organizations_url":"https://api.github.com/users/gelform/orgs","repos_url":"https://api.github.com/users/gelform/repos","events_url":"https://api.github.com/users/gelform/events{/privacy}","received_events_url":"https://api.github.com/users/gelform/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T12:47:10Z","updated_at":"2015-10-03T12:47:10Z","body":"Since I'm using a custom enque_script function, there is no wp_localize_script() available. I'll think about adding support for it, but not sure we gain anything by it other than being more wordpress-y :-)"}}