{"action":"created","issue":{"url":"https://api.github.com/repos/iodine/react-native-drawer-layout/issues/21","labels_url":"https://api.github.com/repos/iodine/react-native-drawer-layout/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/iodine/react-native-drawer-layout/issues/21/comments","events_url":"https://api.github.com/repos/iodine/react-native-drawer-layout/issues/21/events","html_url":"https://github.com/iodine/react-native-drawer-layout/pull/21","id":121939513,"number":21,"title":"Added babel support","user":{"login":"DanielMSchmidt","id":1337046,"avatar_url":"https://avatars.githubusercontent.com/u/1337046?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielMSchmidt","html_url":"https://github.com/DanielMSchmidt","followers_url":"https://api.github.com/users/DanielMSchmidt/followers","following_url":"https://api.github.com/users/DanielMSchmidt/following{/other_user}","gists_url":"https://api.github.com/users/DanielMSchmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielMSchmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielMSchmidt/subscriptions","organizations_url":"https://api.github.com/users/DanielMSchmidt/orgs","repos_url":"https://api.github.com/users/DanielMSchmidt/repos","events_url":"https://api.github.com/users/DanielMSchmidt/events{/privacy}","received_events_url":"https://api.github.com/users/DanielMSchmidt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-13T19:49:51Z","updated_at":"2015-12-15T20:21:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iodine/react-native-drawer-layout/pulls/21","html_url":"https://github.com/iodine/react-native-drawer-layout/pull/21","diff_url":"https://github.com/iodine/react-native-drawer-layout/pull/21.diff","patch_url":"https://github.com/iodine/react-native-drawer-layout/pull/21.patch"},"body":"Hi there,\r\n\r\nI just gave the problem #14 and #19 a try. Somehow the previously merged commits are shown in the diff too, although they should be in master here already, I don't know why. Anyways: \r\n\r\nWhat I did:\r\n\r\n- added build script using babel and used it as prepublish script\r\n- checked in the `dist/` folder with the compiled files\r\n- removed section from readme\r\n- added myself as contributor =)\r\n\r\nPros:\r\n\r\n- the user doesn't need to enable babel options in his project\r\n- only the compiled source gets shipped\r\n- the build command gets executed before publishing\r\n\r\nCons:\r\n\r\n- I had to use Babel 5 due to an issue with decorators\r\n  (http://phabricator.babeljs.io/T2645). IMHO moving to 6 later on should be no problem at all\r\n- File referencing does not work, but it shouldn't be necessary in the\r\n  first place for this library"},"comment":{"url":"https://api.github.com/repos/iodine/react-native-drawer-layout/issues/comments/164885757","html_url":"https://github.com/iodine/react-native-drawer-layout/pull/21#issuecomment-164885757","issue_url":"https://api.github.com/repos/iodine/react-native-drawer-layout/issues/21","id":164885757,"user":{"login":"DanielMSchmidt","id":1337046,"avatar_url":"https://avatars.githubusercontent.com/u/1337046?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielMSchmidt","html_url":"https://github.com/DanielMSchmidt","followers_url":"https://api.github.com/users/DanielMSchmidt/followers","following_url":"https://api.github.com/users/DanielMSchmidt/following{/other_user}","gists_url":"https://api.github.com/users/DanielMSchmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielMSchmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielMSchmidt/subscriptions","organizations_url":"https://api.github.com/users/DanielMSchmidt/orgs","repos_url":"https://api.github.com/users/DanielMSchmidt/repos","events_url":"https://api.github.com/users/DanielMSchmidt/events{/privacy}","received_events_url":"https://api.github.com/users/DanielMSchmidt/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T20:21:36Z","updated_at":"2015-12-15T20:21:36Z","body":"Hi, would you still like to have this merged? "}}