{"action":"created","issue":{"url":"https://api.github.com/repos/funcool/cuerdas/issues/33","repository_url":"https://api.github.com/repos/funcool/cuerdas","labels_url":"https://api.github.com/repos/funcool/cuerdas/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/funcool/cuerdas/issues/33/comments","events_url":"https://api.github.com/repos/funcool/cuerdas/issues/33/events","html_url":"https://github.com/funcool/cuerdas/pull/33","id":164015325,"number":33,"title":"Keyword safety","user":{"login":"atstp","id":5891072,"avatar_url":"https://avatars.githubusercontent.com/u/5891072?v=3","gravatar_id":"","url":"https://api.github.com/users/atstp","html_url":"https://github.com/atstp","followers_url":"https://api.github.com/users/atstp/followers","following_url":"https://api.github.com/users/atstp/following{/other_user}","gists_url":"https://api.github.com/users/atstp/gists{/gist_id}","starred_url":"https://api.github.com/users/atstp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atstp/subscriptions","organizations_url":"https://api.github.com/users/atstp/orgs","repos_url":"https://api.github.com/users/atstp/repos","events_url":"https://api.github.com/users/atstp/events{/privacy}","received_events_url":"https://api.github.com/users/atstp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-06T07:29:43Z","updated_at":"2016-07-09T01:37:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/funcool/cuerdas/pulls/33","html_url":"https://github.com/funcool/cuerdas/pull/33","diff_url":"https://github.com/funcool/cuerdas/pull/33.diff","patch_url":"https://github.com/funcool/cuerdas/pull/33.patch"},"body":"Follow up on #32 \r\n\r\nThis is a larger step than I mentioned in the issue, but it should (hopefully) be for the best: instead of using names like `dasherize`, `underscore`, and `classify` appropriate non-verbs were swapped in. It's a bit like what clojure does with `keyword`, `vector`, and `hash-map` being named after what they return instead of how they do it.  \r\n\r\nAll the new functions sit on top of a new `stylize` function to keep behaviour consistent: \r\n\r\n  * `camel` - always a lower case first letter, capitalized after that\r\n  * `snake` - all lower case, with `_` delimiting\r\n  * `phrase` - like the old humanize, a capital first letter\r\n  * `human` - just spaces and lower case\r\n  * `title` - capitalized words and spaces\r\n  * `pascal` - old `classify`, this seems to be the standard term\r\n  * `kebab` - old `dasherize`, kebab-case looks like the usual term \r\n\r\nThe next two are for `-moz-transition` <-> `MozTransition` and  `transition` <-> `transition`. Hopefully pulling them out makes things more predictable.\r\n\r\n  * `js-selector` - can yield either pascal or camel case depending on the input\r\n  * `css-selector` - dasherized with a potential `-` a the start\r\n\r\nAnd finally, since all the new versions are keyword-safe, there's the new cuerdas function for the reverse:\r\n\r\n  * `keyword` - safer version of the clojure version, dasherizes the arg\r\n\r\nThese new functions all have tests, but I haven't updated the docs yet (plus it's getting late here, so there are likely a few other errors). \r\n\r\nIn the current state, this PR is just for comments/opinions.\r\n "},"comment":{"url":"https://api.github.com/repos/funcool/cuerdas/issues/comments/231507214","html_url":"https://github.com/funcool/cuerdas/pull/33#issuecomment-231507214","issue_url":"https://api.github.com/repos/funcool/cuerdas/issues/33","id":231507214,"user":{"login":"atstp","id":5891072,"avatar_url":"https://avatars.githubusercontent.com/u/5891072?v=3","gravatar_id":"","url":"https://api.github.com/users/atstp","html_url":"https://github.com/atstp","followers_url":"https://api.github.com/users/atstp/followers","following_url":"https://api.github.com/users/atstp/following{/other_user}","gists_url":"https://api.github.com/users/atstp/gists{/gist_id}","starred_url":"https://api.github.com/users/atstp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atstp/subscriptions","organizations_url":"https://api.github.com/users/atstp/orgs","repos_url":"https://api.github.com/users/atstp/repos","events_url":"https://api.github.com/users/atstp/events{/privacy}","received_events_url":"https://api.github.com/users/atstp/received_events","type":"User","site_admin":false},"created_at":"2016-07-09T01:37:10Z","updated_at":"2016-07-09T01:37:10Z","body":"okay, i'll give it a look over later today, squash it down and it should be good to go.\r\n\r\nLet me know if there's anything you want and i'll do it then :+1: "}}
{"actor":{"display_login":"atstp"}}