{"action":"created","issue":{"url":"https://api.github.com/repos/jashkenas/backbone/issues/4024","repository_url":"https://api.github.com/repos/jashkenas/backbone","labels_url":"https://api.github.com/repos/jashkenas/backbone/issues/4024/labels{/name}","comments_url":"https://api.github.com/repos/jashkenas/backbone/issues/4024/comments","events_url":"https://api.github.com/repos/jashkenas/backbone/issues/4024/events","html_url":"https://github.com/jashkenas/backbone/pull/4024","id":151978655,"number":4024,"title":"Collection & Model Mixin","user":{"login":"megawac","id":3475472,"avatar_url":"https://avatars.githubusercontent.com/u/3475472?v=3","gravatar_id":"","url":"https://api.github.com/users/megawac","html_url":"https://github.com/megawac","followers_url":"https://api.github.com/users/megawac/followers","following_url":"https://api.github.com/users/megawac/following{/other_user}","gists_url":"https://api.github.com/users/megawac/gists{/gist_id}","starred_url":"https://api.github.com/users/megawac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megawac/subscriptions","organizations_url":"https://api.github.com/users/megawac/orgs","repos_url":"https://api.github.com/users/megawac/repos","events_url":"https://api.github.com/users/megawac/events{/privacy}","received_events_url":"https://api.github.com/users/megawac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-04-29T22:08:14Z","updated_at":"2017-01-24T05:03:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jashkenas/backbone/pulls/4024","html_url":"https://github.com/jashkenas/backbone/pull/4024","diff_url":"https://github.com/jashkenas/backbone/pull/4024.diff","patch_url":"https://github.com/jashkenas/backbone/pull/4024.patch"},"body":"Adds Collection & Model mixins for adding custom implementations of iterator/check methods to base collection and model. The main motivation of this is to add some `lodash` methods that were missing on the prototype.\n\nIdeally one could do\n\n``` js\nBackbone.Collection.mixin({\n  sum: lodash.sum,\n  take: lodash.take\n});\n```\n\nHowever, I don't have a good idea of how to support iteratees, so things like `collection.sum('value')`\n\nThoughts? /cc @akre54 @jridgewell \n"},"comment":{"url":"https://api.github.com/repos/jashkenas/backbone/issues/comments/274710719","html_url":"https://github.com/jashkenas/backbone/pull/4024#issuecomment-274710719","issue_url":"https://api.github.com/repos/jashkenas/backbone/issues/4024","id":274710719,"user":{"login":"rafde","id":833429,"avatar_url":"https://avatars.githubusercontent.com/u/833429?v=3","gravatar_id":"","url":"https://api.github.com/users/rafde","html_url":"https://github.com/rafde","followers_url":"https://api.github.com/users/rafde/followers","following_url":"https://api.github.com/users/rafde/following{/other_user}","gists_url":"https://api.github.com/users/rafde/gists{/gist_id}","starred_url":"https://api.github.com/users/rafde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafde/subscriptions","organizations_url":"https://api.github.com/users/rafde/orgs","repos_url":"https://api.github.com/users/rafde/repos","events_url":"https://api.github.com/users/rafde/events{/privacy}","received_events_url":"https://api.github.com/users/rafde/received_events","type":"User","site_admin":false},"created_at":"2017-01-24T05:03:42Z","updated_at":"2017-01-24T05:03:42Z","body":"how has this not been merged yet?"}}
{"actor":{"display_login":"rafde"}}