{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/ember-osf/issues/102","repository_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf","labels_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf/issues/102/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf/issues/102/events","html_url":"https://github.com/CenterForOpenScience/ember-osf/pull/102","id":165593269,"number":102,"title":"Flatten dropzone-widget events","user":{"login":"el1t","id":5885378,"avatar_url":"https://avatars.githubusercontent.com/u/5885378?v=3","gravatar_id":"","url":"https://api.github.com/users/el1t","html_url":"https://github.com/el1t","followers_url":"https://api.github.com/users/el1t/followers","following_url":"https://api.github.com/users/el1t/following{/other_user}","gists_url":"https://api.github.com/users/el1t/gists{/gist_id}","starred_url":"https://api.github.com/users/el1t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/el1t/subscriptions","organizations_url":"https://api.github.com/users/el1t/orgs","repos_url":"https://api.github.com/users/el1t/repos","events_url":"https://api.github.com/users/el1t/events{/privacy}","received_events_url":"https://api.github.com/users/el1t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-14T15:43:58Z","updated_at":"2016-07-14T17:03:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/ember-osf/pulls/102","html_url":"https://github.com/CenterForOpenScience/ember-osf/pull/102","diff_url":"https://github.com/CenterForOpenScience/ember-osf/pull/102.diff","patch_url":"https://github.com/CenterForOpenScience/ember-osf/pull/102.patch"},"body":"## Ticket\r\nNone.\r\n\r\n# Purpose\r\nImprove `dropzone-widget` ease of use by exposing event bindings to the component itself, rather than using a listeners object. This allows directly passing actions in to the component (e.g. `success`, `addedfile`).\r\n\r\nAlso, prevent dropzone from rebinding `this` to itself in event listeners. This allows listeners (typically Ember components or controllers) to retain their context.\r\n\r\n# Notes for Reviewers\r\n- Perhaps passing the component and the dropzone object to each listener is unnecessary\r\n- Dropzone allows binding multiple listeners to an event, so `addedfile` will not be overwritten\r\n\r\n## Routes Added/Updated\r\nNone, this is a component."},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/ember-osf/issues/comments/232727695","html_url":"https://github.com/CenterForOpenScience/ember-osf/pull/102#issuecomment-232727695","issue_url":"https://api.github.com/repos/CenterForOpenScience/ember-osf/issues/102","id":232727695,"user":{"login":"el1t","id":5885378,"avatar_url":"https://avatars.githubusercontent.com/u/5885378?v=3","gravatar_id":"","url":"https://api.github.com/users/el1t","html_url":"https://github.com/el1t","followers_url":"https://api.github.com/users/el1t/followers","following_url":"https://api.github.com/users/el1t/following{/other_user}","gists_url":"https://api.github.com/users/el1t/gists{/gist_id}","starred_url":"https://api.github.com/users/el1t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/el1t/subscriptions","organizations_url":"https://api.github.com/users/el1t/orgs","repos_url":"https://api.github.com/users/el1t/repos","events_url":"https://api.github.com/users/el1t/events{/privacy}","received_events_url":"https://api.github.com/users/el1t/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T17:03:49Z","updated_at":"2016-07-14T17:03:49Z","body":"`npm run check-style` passes now, sorry about that!"}}
{"actor":{"display_login":"el1t"}}