{"action":"created","issue":{"url":"https://api.github.com/repos/sehongpark/cloudstudying.kr/issues/14","repository_url":"https://api.github.com/repos/sehongpark/cloudstudying.kr","labels_url":"https://api.github.com/repos/sehongpark/cloudstudying.kr/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/sehongpark/cloudstudying.kr/issues/14/comments","events_url":"https://api.github.com/repos/sehongpark/cloudstudying.kr/issues/14/events","html_url":"https://github.com/sehongpark/cloudstudying.kr/issues/14","id":306661510,"number":14,"title":"turbolinks problems","user":{"login":"sehongpark","id":23492405,"avatar_url":"https://avatars1.githubusercontent.com/u/23492405?v=4","gravatar_id":"","url":"https://api.github.com/users/sehongpark","html_url":"https://github.com/sehongpark","followers_url":"https://api.github.com/users/sehongpark/followers","following_url":"https://api.github.com/users/sehongpark/following{/other_user}","gists_url":"https://api.github.com/users/sehongpark/gists{/gist_id}","starred_url":"https://api.github.com/users/sehongpark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sehongpark/subscriptions","organizations_url":"https://api.github.com/users/sehongpark/orgs","repos_url":"https://api.github.com/users/sehongpark/repos","events_url":"https://api.github.com/users/sehongpark/events{/privacy}","received_events_url":"https://api.github.com/users/sehongpark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-19T22:30:10Z","updated_at":"2018-03-19T23:04:44Z","closed_at":null,"author_association":"OWNER","body":"# turbolinks problems\r\n  + https://stackoverflow.com/questions/18770517/rails-4-how-to-use-document-ready-with-turbo-links"},"comment":{"url":"https://api.github.com/repos/sehongpark/cloudstudying.kr/issues/comments/374415396","html_url":"https://github.com/sehongpark/cloudstudying.kr/issues/14#issuecomment-374415396","issue_url":"https://api.github.com/repos/sehongpark/cloudstudying.kr/issues/14","id":374415396,"user":{"login":"sehongpark","id":23492405,"avatar_url":"https://avatars1.githubusercontent.com/u/23492405?v=4","gravatar_id":"","url":"https://api.github.com/users/sehongpark","html_url":"https://github.com/sehongpark","followers_url":"https://api.github.com/users/sehongpark/followers","following_url":"https://api.github.com/users/sehongpark/following{/other_user}","gists_url":"https://api.github.com/users/sehongpark/gists{/gist_id}","starred_url":"https://api.github.com/users/sehongpark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sehongpark/subscriptions","organizations_url":"https://api.github.com/users/sehongpark/orgs","repos_url":"https://api.github.com/users/sehongpark/repos","events_url":"https://api.github.com/users/sehongpark/events{/privacy}","received_events_url":"https://api.github.com/users/sehongpark/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T23:04:44Z","updated_at":"2018-03-19T23:04:44Z","author_association":"OWNER","body":"##\r\nI usually do the following for my rails 4 projects:\r\n\r\nIn application.js\r\n```\r\nfunction onInit(callback){\r\n    $(document).ready(callback);\r\n    $(document).on('page:load', callback);\r\n}\r\n```\r\nThen in the rest of the .js files, instead of using $(function (){}) I call onInit(function(){})\r\n\r\n"}}
{"actor":{"display_login":"sehongpark"}}