{"action":"created","comment":{"url":"https://api.github.com/repos/ebryn/backburner.js/pulls/comments/33843305","id":33843305,"diff_hunk":"@@ -73,6 +78,44 @@ Backburner.prototype = {\n     }\n   },\n \n+  _trigger: function(eventName /* ...args */) {\n+    var callbacks = this._eventCallbacks[eventName];\n+    if (callbacks) {\n+      var args = Array.prototype.slice.call(arguments, 1);","path":"lib/backburner.js","position":28,"original_position":28,"commit_id":"6dcd8495a2a76a6f54bec0ad1586e6f23ea3315a","original_commit_id":"6dcd8495a2a76a6f54bec0ad1586e6f23ea3315a","user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"body":"This is a deopt","created_at":"2015-07-03T06:45:02Z","updated_at":"2015-07-03T06:45:02Z","html_url":"https://github.com/ebryn/backburner.js/pull/144#discussion_r33843305","pull_request_url":"https://api.github.com/repos/ebryn/backburner.js/pulls/144","_links":{"self":{"href":"https://api.github.com/repos/ebryn/backburner.js/pulls/comments/33843305"},"html":{"href":"https://github.com/ebryn/backburner.js/pull/144#discussion_r33843305"},"pull_request":{"href":"https://api.github.com/repos/ebryn/backburner.js/pulls/144"}}},"pull_request":{"url":"https://api.github.com/repos/ebryn/backburner.js/pulls/144","id":39145260,"html_url":"https://github.com/ebryn/backburner.js/pull/144","diff_url":"https://github.com/ebryn/backburner.js/pull/144.diff","patch_url":"https://github.com/ebryn/backburner.js/pull/144.patch","issue_url":"https://api.github.com/repos/ebryn/backburner.js/issues/144","number":144,"state":"open","locked":false,"title":"Add eventing system for when run loop ends","user":{"login":"asakusuma","id":597574,"avatar_url":"https://avatars.githubusercontent.com/u/597574?v=3","gravatar_id":"","url":"https://api.github.com/users/asakusuma","html_url":"https://github.com/asakusuma","followers_url":"https://api.github.com/users/asakusuma/followers","following_url":"https://api.github.com/users/asakusuma/following{/other_user}","gists_url":"https://api.github.com/users/asakusuma/gists{/gist_id}","starred_url":"https://api.github.com/users/asakusuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asakusuma/subscriptions","organizations_url":"https://api.github.com/users/asakusuma/orgs","repos_url":"https://api.github.com/users/asakusuma/repos","events_url":"https://api.github.com/users/asakusuma/events{/privacy}","received_events_url":"https://api.github.com/users/asakusuma/received_events","type":"User","site_admin":false},"body":"Provide API for hooking callbacks into when any runloop completes.\r\n\r\nAddresses https://github.com/ebryn/backburner.js/issues/142","created_at":"2015-07-03T04:28:55Z","updated_at":"2015-07-03T06:45:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2fc3a00a7825132131bb644bf69005f2ec2027b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ebryn/backburner.js/pulls/144/commits","review_comments_url":"https://api.github.com/repos/ebryn/backburner.js/pulls/144/comments","review_comment_url":"https://api.github.com/repos/ebryn/backburner.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ebryn/backburner.js/issues/144/comments","statuses_url":"https://api.github.com/repos/ebryn/backburner.js/statuses/6dcd8495a2a76a6f54bec0ad1586e6f23ea3315a","head":{"label":"asakusuma:events","ref":"events","sha":"6dcd8495a2a76a6f54bec0ad1586e6f23ea3315a","user":{"login":"asakusuma","id":597574,"avatar_url":"https://avatars.githubusercontent.com/u/597574?v=3","gravatar_id":"","url":"https://api.github.com/users/asakusuma","html_url":"https://github.com/asakusuma","followers_url":"https://api.github.com/users/asakusuma/followers","following_url":"https://api.github.com/users/asakusuma/following{/other_user}","gists_url":"https://api.github.com/users/asakusuma/gists{/gist_id}","starred_url":"https://api.github.com/users/asakusuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asakusuma/subscriptions","organizations_url":"https://api.github.com/users/asakusuma/orgs","repos_url":"https://api.github.com/users/asakusuma/repos","events_url":"https://api.github.com/users/asakusuma/events{/privacy}","received_events_url":"https://api.github.com/users/asakusuma/received_events","type":"User","site_admin":false},"repo":{"id":38445120,"name":"backburner.js","full_name":"asakusuma/backburner.js","owner":{"login":"asakusuma","id":597574,"avatar_url":"https://avatars.githubusercontent.com/u/597574?v=3","gravatar_id":"","url":"https://api.github.com/users/asakusuma","html_url":"https://github.com/asakusuma","followers_url":"https://api.github.com/users/asakusuma/followers","following_url":"https://api.github.com/users/asakusuma/following{/other_user}","gists_url":"https://api.github.com/users/asakusuma/gists{/gist_id}","starred_url":"https://api.github.com/users/asakusuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asakusuma/subscriptions","organizations_url":"https://api.github.com/users/asakusuma/orgs","repos_url":"https://api.github.com/users/asakusuma/repos","events_url":"https://api.github.com/users/asakusuma/events{/privacy}","received_events_url":"https://api.github.com/users/asakusuma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asakusuma/backburner.js","description":"A rewrite of the Ember.js run loop as a generic microlibrary","fork":true,"url":"https://api.github.com/repos/asakusuma/backburner.js","forks_url":"https://api.github.com/repos/asakusuma/backburner.js/forks","keys_url":"https://api.github.com/repos/asakusuma/backburner.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asakusuma/backburner.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asakusuma/backburner.js/teams","hooks_url":"https://api.github.com/repos/asakusuma/backburner.js/hooks","issue_events_url":"https://api.github.com/repos/asakusuma/backburner.js/issues/events{/number}","events_url":"https://api.github.com/repos/asakusuma/backburner.js/events","assignees_url":"https://api.github.com/repos/asakusuma/backburner.js/assignees{/user}","branches_url":"https://api.github.com/repos/asakusuma/backburner.js/branches{/branch}","tags_url":"https://api.github.com/repos/asakusuma/backburner.js/tags","blobs_url":"https://api.github.com/repos/asakusuma/backburner.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asakusuma/backburner.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asakusuma/backburner.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/asakusuma/backburner.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asakusuma/backburner.js/statuses/{sha}","languages_url":"https://api.github.com/repos/asakusuma/backburner.js/languages","stargazers_url":"https://api.github.com/repos/asakusuma/backburner.js/stargazers","contributors_url":"https://api.github.com/repos/asakusuma/backburner.js/contributors","subscribers_url":"https://api.github.com/repos/asakusuma/backburner.js/subscribers","subscription_url":"https://api.github.com/repos/asakusuma/backburner.js/subscription","commits_url":"https://api.github.com/repos/asakusuma/backburner.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/asakusuma/backburner.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/asakusuma/backburner.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/asakusuma/backburner.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/asakusuma/backburner.js/contents/{+path}","compare_url":"https://api.github.com/repos/asakusuma/backburner.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asakusuma/backburner.js/merges","archive_url":"https://api.github.com/repos/asakusuma/backburner.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asakusuma/backburner.js/downloads","issues_url":"https://api.github.com/repos/asakusuma/backburner.js/issues{/number}","pulls_url":"https://api.github.com/repos/asakusuma/backburner.js/pulls{/number}","milestones_url":"https://api.github.com/repos/asakusuma/backburner.js/milestones{/number}","notifications_url":"https://api.github.com/repos/asakusuma/backburner.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asakusuma/backburner.js/labels{/name}","releases_url":"https://api.github.com/repos/asakusuma/backburner.js/releases{/id}","created_at":"2015-07-02T16:52:14Z","updated_at":"2015-07-02T16:52:15Z","pushed_at":"2015-07-03T04:26:44Z","git_url":"git://github.com/asakusuma/backburner.js.git","ssh_url":"git@github.com:asakusuma/backburner.js.git","clone_url":"https://github.com/asakusuma/backburner.js.git","svn_url":"https://github.com/asakusuma/backburner.js","homepage":"","size":1044,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ebryn:master","ref":"master","sha":"4a0105a4a0bc4cf73bdf3e554aea14f3f438876c","user":{"login":"ebryn","id":3018,"avatar_url":"https://avatars.githubusercontent.com/u/3018?v=3","gravatar_id":"","url":"https://api.github.com/users/ebryn","html_url":"https://github.com/ebryn","followers_url":"https://api.github.com/users/ebryn/followers","following_url":"https://api.github.com/users/ebryn/following{/other_user}","gists_url":"https://api.github.com/users/ebryn/gists{/gist_id}","starred_url":"https://api.github.com/users/ebryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebryn/subscriptions","organizations_url":"https://api.github.com/users/ebryn/orgs","repos_url":"https://api.github.com/users/ebryn/repos","events_url":"https://api.github.com/users/ebryn/events{/privacy}","received_events_url":"https://api.github.com/users/ebryn/received_events","type":"User","site_admin":false},"repo":{"id":9349744,"name":"backburner.js","full_name":"ebryn/backburner.js","owner":{"login":"ebryn","id":3018,"avatar_url":"https://avatars.githubusercontent.com/u/3018?v=3","gravatar_id":"","url":"https://api.github.com/users/ebryn","html_url":"https://github.com/ebryn","followers_url":"https://api.github.com/users/ebryn/followers","following_url":"https://api.github.com/users/ebryn/following{/other_user}","gists_url":"https://api.github.com/users/ebryn/gists{/gist_id}","starred_url":"https://api.github.com/users/ebryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebryn/subscriptions","organizations_url":"https://api.github.com/users/ebryn/orgs","repos_url":"https://api.github.com/users/ebryn/repos","events_url":"https://api.github.com/users/ebryn/events{/privacy}","received_events_url":"https://api.github.com/users/ebryn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ebryn/backburner.js","description":"A rewrite of the Ember.js run loop as a generic microlibrary","fork":false,"url":"https://api.github.com/repos/ebryn/backburner.js","forks_url":"https://api.github.com/repos/ebryn/backburner.js/forks","keys_url":"https://api.github.com/repos/ebryn/backburner.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ebryn/backburner.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ebryn/backburner.js/teams","hooks_url":"https://api.github.com/repos/ebryn/backburner.js/hooks","issue_events_url":"https://api.github.com/repos/ebryn/backburner.js/issues/events{/number}","events_url":"https://api.github.com/repos/ebryn/backburner.js/events","assignees_url":"https://api.github.com/repos/ebryn/backburner.js/assignees{/user}","branches_url":"https://api.github.com/repos/ebryn/backburner.js/branches{/branch}","tags_url":"https://api.github.com/repos/ebryn/backburner.js/tags","blobs_url":"https://api.github.com/repos/ebryn/backburner.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ebryn/backburner.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ebryn/backburner.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ebryn/backburner.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ebryn/backburner.js/statuses/{sha}","languages_url":"https://api.github.com/repos/ebryn/backburner.js/languages","stargazers_url":"https://api.github.com/repos/ebryn/backburner.js/stargazers","contributors_url":"https://api.github.com/repos/ebryn/backburner.js/contributors","subscribers_url":"https://api.github.com/repos/ebryn/backburner.js/subscribers","subscription_url":"https://api.github.com/repos/ebryn/backburner.js/subscription","commits_url":"https://api.github.com/repos/ebryn/backburner.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ebryn/backburner.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ebryn/backburner.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ebryn/backburner.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ebryn/backburner.js/contents/{+path}","compare_url":"https://api.github.com/repos/ebryn/backburner.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ebryn/backburner.js/merges","archive_url":"https://api.github.com/repos/ebryn/backburner.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ebryn/backburner.js/downloads","issues_url":"https://api.github.com/repos/ebryn/backburner.js/issues{/number}","pulls_url":"https://api.github.com/repos/ebryn/backburner.js/pulls{/number}","milestones_url":"https://api.github.com/repos/ebryn/backburner.js/milestones{/number}","notifications_url":"https://api.github.com/repos/ebryn/backburner.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ebryn/backburner.js/labels{/name}","releases_url":"https://api.github.com/repos/ebryn/backburner.js/releases{/id}","created_at":"2013-04-10T15:50:01Z","updated_at":"2015-06-30T20:09:49Z","pushed_at":"2015-07-03T04:28:55Z","git_url":"git://github.com/ebryn/backburner.js.git","ssh_url":"git@github.com:ebryn/backburner.js.git","clone_url":"https://github.com/ebryn/backburner.js.git","svn_url":"https://github.com/ebryn/backburner.js","homepage":"","size":1044,"stargazers_count":278,"watchers_count":278,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":14,"forks":53,"open_issues":14,"watchers":278,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ebryn/backburner.js/pulls/144"},"html":{"href":"https://github.com/ebryn/backburner.js/pull/144"},"issue":{"href":"https://api.github.com/repos/ebryn/backburner.js/issues/144"},"comments":{"href":"https://api.github.com/repos/ebryn/backburner.js/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/ebryn/backburner.js/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/ebryn/backburner.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ebryn/backburner.js/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/ebryn/backburner.js/statuses/6dcd8495a2a76a6f54bec0ad1586e6f23ea3315a"}}}}