{"action":"created","issue":{"url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/22","labels_url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/22/comments","events_url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/22/events","html_url":"https://github.com/miguelcobain/ember-cli-selectize/pull/22","id":57921015,"number":22,"title":"Simplify template generation","user":{"login":"salzhrani","id":302896,"avatar_url":"https://avatars.githubusercontent.com/u/302896?v=3","gravatar_id":"","url":"https://api.github.com/users/salzhrani","html_url":"https://github.com/salzhrani","followers_url":"https://api.github.com/users/salzhrani/followers","following_url":"https://api.github.com/users/salzhrani/following{/other_user}","gists_url":"https://api.github.com/users/salzhrani/gists{/gist_id}","starred_url":"https://api.github.com/users/salzhrani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salzhrani/subscriptions","organizations_url":"https://api.github.com/users/salzhrani/orgs","repos_url":"https://api.github.com/users/salzhrani/repos","events_url":"https://api.github.com/users/salzhrani/events{/privacy}","received_events_url":"https://api.github.com/users/salzhrani/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-17T12:58:56Z","updated_at":"2015-02-17T20:00:16Z","closed_at":"2015-02-17T19:15:42Z","pull_request":{"url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/pulls/22","html_url":"https://github.com/miguelcobain/ember-cli-selectize/pull/22","diff_url":"https://github.com/miguelcobain/ember-cli-selectize/pull/22.diff","patch_url":"https://github.com/miguelcobain/ember-cli-selectize/pull/22.patch"},"body":"Although the current implementation relies on Ember views and templates which can be preferable but the fact of the matter getting strings out of templates and views is via a public API and has changed wildly between handlebars and htmlbars. Also it is more expensive to build a view and then getting its element html rather compared to constructing simple html strings and handing them to selectize. What this PR does is bind the render functions to functions passed as attributes.\r\n\r\nIf you think this is a valid approach I can update tweak it more, if not feel free to close it."},"comment":{"url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/comments/74740900","html_url":"https://github.com/miguelcobain/ember-cli-selectize/pull/22#issuecomment-74740900","issue_url":"https://api.github.com/repos/miguelcobain/ember-cli-selectize/issues/22","id":74740900,"user":{"login":"miguelcobain","id":631691,"avatar_url":"https://avatars.githubusercontent.com/u/631691?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcobain","html_url":"https://github.com/miguelcobain","followers_url":"https://api.github.com/users/miguelcobain/followers","following_url":"https://api.github.com/users/miguelcobain/following{/other_user}","gists_url":"https://api.github.com/users/miguelcobain/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcobain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcobain/subscriptions","organizations_url":"https://api.github.com/users/miguelcobain/orgs","repos_url":"https://api.github.com/users/miguelcobain/repos","events_url":"https://api.github.com/users/miguelcobain/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcobain/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T20:00:16Z","updated_at":"2015-02-17T20:00:16Z","body":"Done!"}}