{"action":"opened","number":391,"pull_request":{"url":"https://api.github.com/repos/reflux/refluxjs/pulls/391","id":41935168,"html_url":"https://github.com/reflux/refluxjs/pull/391","diff_url":"https://github.com/reflux/refluxjs/pull/391.diff","patch_url":"https://github.com/reflux/refluxjs/pull/391.patch","issue_url":"https://api.github.com/repos/reflux/refluxjs/issues/391","number":391,"state":"open","locked":false,"title":"Extended Reflux.createActions to accept a mixed array of strings and definition objects","user":{"login":"simonvizzini","id":10862380,"avatar_url":"https://avatars.githubusercontent.com/u/10862380?v=3","gravatar_id":"","url":"https://api.github.com/users/simonvizzini","html_url":"https://github.com/simonvizzini","followers_url":"https://api.github.com/users/simonvizzini/followers","following_url":"https://api.github.com/users/simonvizzini/following{/other_user}","gists_url":"https://api.github.com/users/simonvizzini/gists{/gist_id}","starred_url":"https://api.github.com/users/simonvizzini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonvizzini/subscriptions","organizations_url":"https://api.github.com/users/simonvizzini/orgs","repos_url":"https://api.github.com/users/simonvizzini/repos","events_url":"https://api.github.com/users/simonvizzini/events{/privacy}","received_events_url":"https://api.github.com/users/simonvizzini/received_events","type":"User","site_admin":false},"body":"I want to be able to create async and non-async actions in one go, like this:\r\n\r\n``var actions = Reflux.createActions(['foo', 'bar', { baz: { asyncResult: true } }]);``\r\n\r\ninstead of having to do something ugly like this:\r\n\r\n``var actions = Reflux.createActions({ foo: {}, bar: {}, baz: { asyncResult: true }});``\r\n\r\nRegarding the tests, I think they could be merged with the existing createActions([]) tests, but for now I simply copy&pasted and adjusted them. Let me know and I'll gladly merge them.\r\n\r\nLet me know what you think, thanks!","created_at":"2015-08-07T21:29:49Z","updated_at":"2015-08-07T21:29:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reflux/refluxjs/pulls/391/commits","review_comments_url":"https://api.github.com/repos/reflux/refluxjs/pulls/391/comments","review_comment_url":"https://api.github.com/repos/reflux/refluxjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reflux/refluxjs/issues/391/comments","statuses_url":"https://api.github.com/repos/reflux/refluxjs/statuses/7089e13aa23dfad62d8b036b82de69b9ac50db3a","head":{"label":"simonvizzini:master","ref":"master","sha":"7089e13aa23dfad62d8b036b82de69b9ac50db3a","user":{"login":"simonvizzini","id":10862380,"avatar_url":"https://avatars.githubusercontent.com/u/10862380?v=3","gravatar_id":"","url":"https://api.github.com/users/simonvizzini","html_url":"https://github.com/simonvizzini","followers_url":"https://api.github.com/users/simonvizzini/followers","following_url":"https://api.github.com/users/simonvizzini/following{/other_user}","gists_url":"https://api.github.com/users/simonvizzini/gists{/gist_id}","starred_url":"https://api.github.com/users/simonvizzini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonvizzini/subscriptions","organizations_url":"https://api.github.com/users/simonvizzini/orgs","repos_url":"https://api.github.com/users/simonvizzini/repos","events_url":"https://api.github.com/users/simonvizzini/events{/privacy}","received_events_url":"https://api.github.com/users/simonvizzini/received_events","type":"User","site_admin":false},"repo":{"id":40379497,"name":"refluxjs","full_name":"simonvizzini/refluxjs","owner":{"login":"simonvizzini","id":10862380,"avatar_url":"https://avatars.githubusercontent.com/u/10862380?v=3","gravatar_id":"","url":"https://api.github.com/users/simonvizzini","html_url":"https://github.com/simonvizzini","followers_url":"https://api.github.com/users/simonvizzini/followers","following_url":"https://api.github.com/users/simonvizzini/following{/other_user}","gists_url":"https://api.github.com/users/simonvizzini/gists{/gist_id}","starred_url":"https://api.github.com/users/simonvizzini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonvizzini/subscriptions","organizations_url":"https://api.github.com/users/simonvizzini/orgs","repos_url":"https://api.github.com/users/simonvizzini/repos","events_url":"https://api.github.com/users/simonvizzini/events{/privacy}","received_events_url":"https://api.github.com/users/simonvizzini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simonvizzini/refluxjs","description":"A simple library for uni-directional dataflow application architecture inspired by ReactJS Flux","fork":true,"url":"https://api.github.com/repos/simonvizzini/refluxjs","forks_url":"https://api.github.com/repos/simonvizzini/refluxjs/forks","keys_url":"https://api.github.com/repos/simonvizzini/refluxjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonvizzini/refluxjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonvizzini/refluxjs/teams","hooks_url":"https://api.github.com/repos/simonvizzini/refluxjs/hooks","issue_events_url":"https://api.github.com/repos/simonvizzini/refluxjs/issues/events{/number}","events_url":"https://api.github.com/repos/simonvizzini/refluxjs/events","assignees_url":"https://api.github.com/repos/simonvizzini/refluxjs/assignees{/user}","branches_url":"https://api.github.com/repos/simonvizzini/refluxjs/branches{/branch}","tags_url":"https://api.github.com/repos/simonvizzini/refluxjs/tags","blobs_url":"https://api.github.com/repos/simonvizzini/refluxjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonvizzini/refluxjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonvizzini/refluxjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonvizzini/refluxjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonvizzini/refluxjs/statuses/{sha}","languages_url":"https://api.github.com/repos/simonvizzini/refluxjs/languages","stargazers_url":"https://api.github.com/repos/simonvizzini/refluxjs/stargazers","contributors_url":"https://api.github.com/repos/simonvizzini/refluxjs/contributors","subscribers_url":"https://api.github.com/repos/simonvizzini/refluxjs/subscribers","subscription_url":"https://api.github.com/repos/simonvizzini/refluxjs/subscription","commits_url":"https://api.github.com/repos/simonvizzini/refluxjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonvizzini/refluxjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonvizzini/refluxjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonvizzini/refluxjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonvizzini/refluxjs/contents/{+path}","compare_url":"https://api.github.com/repos/simonvizzini/refluxjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonvizzini/refluxjs/merges","archive_url":"https://api.github.com/repos/simonvizzini/refluxjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonvizzini/refluxjs/downloads","issues_url":"https://api.github.com/repos/simonvizzini/refluxjs/issues{/number}","pulls_url":"https://api.github.com/repos/simonvizzini/refluxjs/pulls{/number}","milestones_url":"https://api.github.com/repos/simonvizzini/refluxjs/milestones{/number}","notifications_url":"https://api.github.com/repos/simonvizzini/refluxjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonvizzini/refluxjs/labels{/name}","releases_url":"https://api.github.com/repos/simonvizzini/refluxjs/releases{/id}","created_at":"2015-08-07T20:23:56Z","updated_at":"2015-08-07T20:23:56Z","pushed_at":"2015-08-07T21:10:11Z","git_url":"git://github.com/simonvizzini/refluxjs.git","ssh_url":"git@github.com:simonvizzini/refluxjs.git","clone_url":"https://github.com/simonvizzini/refluxjs.git","svn_url":"https://github.com/simonvizzini/refluxjs","homepage":null,"size":1807,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"reflux:master","ref":"master","sha":"94edd35c7bf22a0ddf42de0bba0932470f2837b6","user":{"login":"reflux","id":13524454,"avatar_url":"https://avatars.githubusercontent.com/u/13524454?v=3","gravatar_id":"","url":"https://api.github.com/users/reflux","html_url":"https://github.com/reflux","followers_url":"https://api.github.com/users/reflux/followers","following_url":"https://api.github.com/users/reflux/following{/other_user}","gists_url":"https://api.github.com/users/reflux/gists{/gist_id}","starred_url":"https://api.github.com/users/reflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reflux/subscriptions","organizations_url":"https://api.github.com/users/reflux/orgs","repos_url":"https://api.github.com/users/reflux/repos","events_url":"https://api.github.com/users/reflux/events{/privacy}","received_events_url":"https://api.github.com/users/reflux/received_events","type":"Organization","site_admin":false},"repo":{"id":21397581,"name":"refluxjs","full_name":"reflux/refluxjs","owner":{"login":"reflux","id":13524454,"avatar_url":"https://avatars.githubusercontent.com/u/13524454?v=3","gravatar_id":"","url":"https://api.github.com/users/reflux","html_url":"https://github.com/reflux","followers_url":"https://api.github.com/users/reflux/followers","following_url":"https://api.github.com/users/reflux/following{/other_user}","gists_url":"https://api.github.com/users/reflux/gists{/gist_id}","starred_url":"https://api.github.com/users/reflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reflux/subscriptions","organizations_url":"https://api.github.com/users/reflux/orgs","repos_url":"https://api.github.com/users/reflux/repos","events_url":"https://api.github.com/users/reflux/events{/privacy}","received_events_url":"https://api.github.com/users/reflux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reflux/refluxjs","description":"A simple library for uni-directional dataflow application architecture inspired by ReactJS Flux","fork":false,"url":"https://api.github.com/repos/reflux/refluxjs","forks_url":"https://api.github.com/repos/reflux/refluxjs/forks","keys_url":"https://api.github.com/repos/reflux/refluxjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reflux/refluxjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reflux/refluxjs/teams","hooks_url":"https://api.github.com/repos/reflux/refluxjs/hooks","issue_events_url":"https://api.github.com/repos/reflux/refluxjs/issues/events{/number}","events_url":"https://api.github.com/repos/reflux/refluxjs/events","assignees_url":"https://api.github.com/repos/reflux/refluxjs/assignees{/user}","branches_url":"https://api.github.com/repos/reflux/refluxjs/branches{/branch}","tags_url":"https://api.github.com/repos/reflux/refluxjs/tags","blobs_url":"https://api.github.com/repos/reflux/refluxjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reflux/refluxjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reflux/refluxjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/reflux/refluxjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reflux/refluxjs/statuses/{sha}","languages_url":"https://api.github.com/repos/reflux/refluxjs/languages","stargazers_url":"https://api.github.com/repos/reflux/refluxjs/stargazers","contributors_url":"https://api.github.com/repos/reflux/refluxjs/contributors","subscribers_url":"https://api.github.com/repos/reflux/refluxjs/subscribers","subscription_url":"https://api.github.com/repos/reflux/refluxjs/subscription","commits_url":"https://api.github.com/repos/reflux/refluxjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/reflux/refluxjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/reflux/refluxjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/reflux/refluxjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/reflux/refluxjs/contents/{+path}","compare_url":"https://api.github.com/repos/reflux/refluxjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reflux/refluxjs/merges","archive_url":"https://api.github.com/repos/reflux/refluxjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reflux/refluxjs/downloads","issues_url":"https://api.github.com/repos/reflux/refluxjs/issues{/number}","pulls_url":"https://api.github.com/repos/reflux/refluxjs/pulls{/number}","milestones_url":"https://api.github.com/repos/reflux/refluxjs/milestones{/number}","notifications_url":"https://api.github.com/repos/reflux/refluxjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reflux/refluxjs/labels{/name}","releases_url":"https://api.github.com/repos/reflux/refluxjs/releases{/id}","created_at":"2014-07-01T18:05:30Z","updated_at":"2015-08-07T20:36:08Z","pushed_at":"2015-08-07T05:58:26Z","git_url":"git://github.com/reflux/refluxjs.git","ssh_url":"git@github.com:reflux/refluxjs.git","clone_url":"https://github.com/reflux/refluxjs.git","svn_url":"https://github.com/reflux/refluxjs","homepage":null,"size":1807,"stargazers_count":3408,"watchers_count":3408,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":212,"mirror_url":null,"open_issues_count":49,"forks":212,"open_issues":49,"watchers":3408,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reflux/refluxjs/pulls/391"},"html":{"href":"https://github.com/reflux/refluxjs/pull/391"},"issue":{"href":"https://api.github.com/repos/reflux/refluxjs/issues/391"},"comments":{"href":"https://api.github.com/repos/reflux/refluxjs/issues/391/comments"},"review_comments":{"href":"https://api.github.com/repos/reflux/refluxjs/pulls/391/comments"},"review_comment":{"href":"https://api.github.com/repos/reflux/refluxjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reflux/refluxjs/pulls/391/commits"},"statuses":{"href":"https://api.github.com/repos/reflux/refluxjs/statuses/7089e13aa23dfad62d8b036b82de69b9ac50db3a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":90,"deletions":5,"changed_files":2}}