{"action":"created","issue":{"url":"https://api.github.com/repos/evancz/elm-html/issues/30","labels_url":"https://api.github.com/repos/evancz/elm-html/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/evancz/elm-html/issues/30/comments","events_url":"https://api.github.com/repos/evancz/elm-html/issues/30/events","html_url":"https://github.com/evancz/elm-html/pull/30","id":54129396,"number":30,"title":"Added more support for attributes that take int as input","user":{"login":"TheSeamau5","id":3227869,"avatar_url":"https://avatars.githubusercontent.com/u/3227869?v=3","gravatar_id":"","url":"https://api.github.com/users/TheSeamau5","html_url":"https://github.com/TheSeamau5","followers_url":"https://api.github.com/users/TheSeamau5/followers","following_url":"https://api.github.com/users/TheSeamau5/following{/other_user}","gists_url":"https://api.github.com/users/TheSeamau5/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSeamau5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSeamau5/subscriptions","organizations_url":"https://api.github.com/users/TheSeamau5/orgs","repos_url":"https://api.github.com/users/TheSeamau5/repos","events_url":"https://api.github.com/users/TheSeamau5/events{/privacy}","received_events_url":"https://api.github.com/users/TheSeamau5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T00:12:04Z","updated_at":"2015-01-13T12:42:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/evancz/elm-html/pulls/30","html_url":"https://github.com/evancz/elm-html/pull/30","diff_url":"https://github.com/evancz/elm-html/pull/30.diff","patch_url":"https://github.com/evancz/elm-html/pull/30.patch"},"body":"Added:\r\n* `minlength : Int -> Attribute`\r\n\r\nChanged:\r\n* `coords`\r\n    * from : `String -> Attribute`\r\n    * to     : `List Int -> Attribute`\r\n\r\nAdded the helper functions:\r\n- `intProperty : String -> Int -> Attribute`\r\n- `listIntProperty : String -> List Int -> Attribute`\r\n\r\nin order to help clean up the code and remove unnecessary `toString`\r\ncalls."},"comment":{"url":"https://api.github.com/repos/evancz/elm-html/issues/comments/69738716","html_url":"https://github.com/evancz/elm-html/pull/30#issuecomment-69738716","issue_url":"https://api.github.com/repos/evancz/elm-html/issues/30","id":69738716,"user":{"login":"evancz","id":1658058,"avatar_url":"https://avatars.githubusercontent.com/u/1658058?v=3","gravatar_id":"","url":"https://api.github.com/users/evancz","html_url":"https://github.com/evancz","followers_url":"https://api.github.com/users/evancz/followers","following_url":"https://api.github.com/users/evancz/following{/other_user}","gists_url":"https://api.github.com/users/evancz/gists{/gist_id}","starred_url":"https://api.github.com/users/evancz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evancz/subscriptions","organizations_url":"https://api.github.com/users/evancz/orgs","repos_url":"https://api.github.com/users/evancz/repos","events_url":"https://api.github.com/users/evancz/events{/privacy}","received_events_url":"https://api.github.com/users/evancz/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T12:42:54Z","updated_at":"2015-01-13T12:42:54Z","body":"I think this PR should be [split up into a couple changes](https://github.com/elm-lang/core/blob/master/CONTRIBUTING.md#ground-rules) that can be evaluated independently. I'd say lets go for `minLength` but I am not sure about the other changes.\r\n\r\nI worry about about having too many opinions in this library, so I'd rather not make the `coords` change in the core. It seems to have [very specific shapes it can take](http://www.w3schools.com/tags/att_area_coords.asp) and I'd like to leave that to other libraries if people want exceptional levels of safety. The goal here is that people can read about stuff on MDN or StackOverflow and translate it to Elm pretty directly, ideally not looking at the docs."}}