{"action":"created","issue":{"url":"https://api.github.com/repos/harvesthq/chosen/issues/2618","repository_url":"https://api.github.com/repos/harvesthq/chosen","labels_url":"https://api.github.com/repos/harvesthq/chosen/issues/2618/labels{/name}","comments_url":"https://api.github.com/repos/harvesthq/chosen/issues/2618/comments","events_url":"https://api.github.com/repos/harvesthq/chosen/issues/2618/events","html_url":"https://github.com/harvesthq/chosen/pull/2618","id":158374956,"number":2618,"title":"Allow for a transliteration callback","user":{"login":"hanoii","id":677879,"avatar_url":"https://avatars.githubusercontent.com/u/677879?v=3","gravatar_id":"","url":"https://api.github.com/users/hanoii","html_url":"https://github.com/hanoii","followers_url":"https://api.github.com/users/hanoii/followers","following_url":"https://api.github.com/users/hanoii/following{/other_user}","gists_url":"https://api.github.com/users/hanoii/gists{/gist_id}","starred_url":"https://api.github.com/users/hanoii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanoii/subscriptions","organizations_url":"https://api.github.com/users/hanoii/orgs","repos_url":"https://api.github.com/users/hanoii/repos","events_url":"https://api.github.com/users/hanoii/events{/privacy}","received_events_url":"https://api.github.com/users/hanoii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-03T14:05:54Z","updated_at":"2016-06-06T14:48:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/harvesthq/chosen/pulls/2618","html_url":"https://github.com/harvesthq/chosen/pull/2618","diff_url":"https://github.com/harvesthq/chosen/pull/2618.diff","patch_url":"https://github.com/harvesthq/chosen/pull/2618.patch"},"body":"I needed a way to transliterate the items and search of what's on the dropdown. This made me do #2523 which was rightfully not accepted. I would still like to push a change that would allow me to do that without maintaining a custom fork of the project. Ir order to do so, I provided a harmless patch that simply adds the option to provide a transliteration callback.\r\n\r\nAs the previous pull request, this also attempts to fix or help with #536 .\r\n\r\nPlease double-check that:\r\n\r\n  - [x] All changes were made in CoffeeScript files, **not** JavaScript files.\r\n  - [x] You used [Grunt](https://github.com/harvesthq/chosen/blob/master/contributing.md#grunt) to build the JavaScript files and tested them locally.\r\n  - [x] You've updated both the jQuery *and* Prototype versions.\r\n  - [x] You haven't manually updated the version number in `package.json`.\r\n  - [x] If necessary, you've updated [the documentation](https://github.com/harvesthq/chosen/blob/master/public/options.html).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/harvesthq/chosen/issues/comments/223981579","html_url":"https://github.com/harvesthq/chosen/pull/2618#issuecomment-223981579","issue_url":"https://api.github.com/repos/harvesthq/chosen/issues/2618","id":223981579,"user":{"login":"hanoii","id":677879,"avatar_url":"https://avatars.githubusercontent.com/u/677879?v=3","gravatar_id":"","url":"https://api.github.com/users/hanoii","html_url":"https://github.com/hanoii","followers_url":"https://api.github.com/users/hanoii/followers","following_url":"https://api.github.com/users/hanoii/following{/other_user}","gists_url":"https://api.github.com/users/hanoii/gists{/gist_id}","starred_url":"https://api.github.com/users/hanoii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanoii/subscriptions","organizations_url":"https://api.github.com/users/hanoii/orgs","repos_url":"https://api.github.com/users/hanoii/repos","events_url":"https://api.github.com/users/hanoii/events{/privacy}","received_events_url":"https://api.github.com/users/hanoii/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T14:48:11Z","updated_at":"2016-06-06T14:48:11Z","body":"Well, it is a function that'd be called by chosen, so I think theoretically is a [callback](https://en.wikipedia.org/wiki/Callback_(computer_programming)), and I like the immediate reasoning that something that named xxx_callback would be likely a function, but I won't push this too hard, so let me know the naming of your preference and I'll update the PR."}}
{"actor":{"display_login":"hanoii"}}