{"action":"created","issue":{"url":"https://api.github.com/repos/kurtharriger/elm-battleship/issues/1","repository_url":"https://api.github.com/repos/kurtharriger/elm-battleship","labels_url":"https://api.github.com/repos/kurtharriger/elm-battleship/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kurtharriger/elm-battleship/issues/1/comments","events_url":"https://api.github.com/repos/kurtharriger/elm-battleship/issues/1/events","html_url":"https://github.com/kurtharriger/elm-battleship/issues/1","id":146850503,"number":1,"title":"Add a license please","user":{"login":"Zimmi48","id":1108325,"avatar_url":"https://avatars.githubusercontent.com/u/1108325?v=3","gravatar_id":"","url":"https://api.github.com/users/Zimmi48","html_url":"https://github.com/Zimmi48","followers_url":"https://api.github.com/users/Zimmi48/followers","following_url":"https://api.github.com/users/Zimmi48/following{/other_user}","gists_url":"https://api.github.com/users/Zimmi48/gists{/gist_id}","starred_url":"https://api.github.com/users/Zimmi48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zimmi48/subscriptions","organizations_url":"https://api.github.com/users/Zimmi48/orgs","repos_url":"https://api.github.com/users/Zimmi48/repos","events_url":"https://api.github.com/users/Zimmi48/events{/privacy}","received_events_url":"https://api.github.com/users/Zimmi48/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-08T08:07:20Z","updated_at":"2016-04-08T19:46:11Z","closed_at":"2016-04-08T19:46:11Z","body":"Hello,\r\n\r\nThanks a lot for your helpful native JS library for drag and drop.\r\nMaybe it would make sense to package it as a real library to distribute on Elm package site.\r\nIn the meantime, I would appreciate if you could add a license to this repository (or just to the header of Native/DragDrop.js) : thus I would feel more legitimate to re-use it in my own logic game https://github.com/Zimmi48/logicgame.\r\nFinally let me add that my only reason to go native was to make my game work on Firefox. For whatever reason they require a call to dataTransfer.setData so that dragging works, so I had to add the following line in your JS code:\r\n``// This stupid setData call is necessary to make drag and drop work on FF\r\nevent.dataTransfer.setData(\"text\",\"\");``\r\n\r\nThanks,\r\nThéo"},"comment":{"url":"https://api.github.com/repos/kurtharriger/elm-battleship/issues/comments/207574765","html_url":"https://github.com/kurtharriger/elm-battleship/issues/1#issuecomment-207574765","issue_url":"https://api.github.com/repos/kurtharriger/elm-battleship/issues/1","id":207574765,"user":{"login":"kurtharriger","id":112603,"avatar_url":"https://avatars.githubusercontent.com/u/112603?v=3","gravatar_id":"","url":"https://api.github.com/users/kurtharriger","html_url":"https://github.com/kurtharriger","followers_url":"https://api.github.com/users/kurtharriger/followers","following_url":"https://api.github.com/users/kurtharriger/following{/other_user}","gists_url":"https://api.github.com/users/kurtharriger/gists{/gist_id}","starred_url":"https://api.github.com/users/kurtharriger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurtharriger/subscriptions","organizations_url":"https://api.github.com/users/kurtharriger/orgs","repos_url":"https://api.github.com/users/kurtharriger/repos","events_url":"https://api.github.com/users/kurtharriger/events{/privacy}","received_events_url":"https://api.github.com/users/kurtharriger/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T19:46:11Z","updated_at":"2016-04-08T19:46:11Z","body":"Glad you found it useful.  Updated project with a very liberal license."}}