{"action":"created","comment":{"url":"https://api.github.com/repos/ReactiveX/RxJS/pulls/comments/36675628","id":36675628,"diff_hunk":"@@ -0,0 +1,7 @@\n+import Observable from '../Observable';\n+import ScalarObservable from '../observables/ScalarObservable';\n+\n+export default function startWith<T>(x: T): Observable<T> {\n+  const init = ScalarObservable.just(x);\n+  return init.concat(null, <Observable<T>>this);","path":"src/operators/startWith.ts","position":6,"original_position":6,"commit_id":"ea4be987a4f043fa58010cb350d66fb502918cec","original_commit_id":"ea4be987a4f043fa58010cb350d66fb502918cec","user":{"login":"trxcllnt","id":178183,"avatar_url":"https://avatars.githubusercontent.com/u/178183?v=3","gravatar_id":"","url":"https://api.github.com/users/trxcllnt","html_url":"https://github.com/trxcllnt","followers_url":"https://api.github.com/users/trxcllnt/followers","following_url":"https://api.github.com/users/trxcllnt/following{/other_user}","gists_url":"https://api.github.com/users/trxcllnt/gists{/gist_id}","starred_url":"https://api.github.com/users/trxcllnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trxcllnt/subscriptions","organizations_url":"https://api.github.com/users/trxcllnt/orgs","repos_url":"https://api.github.com/users/trxcllnt/repos","events_url":"https://api.github.com/users/trxcllnt/events{/privacy}","received_events_url":"https://api.github.com/users/trxcllnt/received_events","type":"User","site_admin":false},"body":"@saneyuki thanks for the PR! In the interest of modularity, would you mind updating this PR to pull in the module for the operator you're relying on here, like [`concat`](https://github.com/ReactiveX/RxJS/blob/master/src/operators/concat.ts#L1) does? Since we're aiming for complete modularity here, we can't assume `concat` will exist on the `ScalarObservable` prototype. I'd be satisfied with this PR if you pulled in either of the concat or merge modules, it's your choice. Thanks!","created_at":"2015-08-10T19:47:44Z","updated_at":"2015-08-10T19:47:44Z","html_url":"https://github.com/ReactiveX/RxJS/pull/162#discussion_r36675628","pull_request_url":"https://api.github.com/repos/ReactiveX/RxJS/pulls/162","_links":{"self":{"href":"https://api.github.com/repos/ReactiveX/RxJS/pulls/comments/36675628"},"html":{"href":"https://github.com/ReactiveX/RxJS/pull/162#discussion_r36675628"},"pull_request":{"href":"https://api.github.com/repos/ReactiveX/RxJS/pulls/162"}}},"pull_request":{"url":"https://api.github.com/repos/ReactiveX/RxJS/pulls/162","id":41985187,"html_url":"https://github.com/ReactiveX/RxJS/pull/162","diff_url":"https://github.com/ReactiveX/RxJS/pull/162.diff","patch_url":"https://github.com/ReactiveX/RxJS/pull/162.patch","issue_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/162","number":162,"state":"open","locked":false,"title":"Implement startWith() operator","user":{"login":"saneyuki","id":180104,"avatar_url":"https://avatars.githubusercontent.com/u/180104?v=3","gravatar_id":"","url":"https://api.github.com/users/saneyuki","html_url":"https://github.com/saneyuki","followers_url":"https://api.github.com/users/saneyuki/followers","following_url":"https://api.github.com/users/saneyuki/following{/other_user}","gists_url":"https://api.github.com/users/saneyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/saneyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saneyuki/subscriptions","organizations_url":"https://api.github.com/users/saneyuki/orgs","repos_url":"https://api.github.com/users/saneyuki/repos","events_url":"https://api.github.com/users/saneyuki/events{/privacy}","received_events_url":"https://api.github.com/users/saneyuki/received_events","type":"User","site_admin":false},"body":"Fix #84 ","created_at":"2015-08-10T03:36:29Z","updated_at":"2015-08-10T19:47:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ce81d2aac5f996e57cf4e924ca12d6e7843fac8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ReactiveX/RxJS/pulls/162/commits","review_comments_url":"https://api.github.com/repos/ReactiveX/RxJS/pulls/162/comments","review_comment_url":"https://api.github.com/repos/ReactiveX/RxJS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/162/comments","statuses_url":"https://api.github.com/repos/ReactiveX/RxJS/statuses/ea4be987a4f043fa58010cb350d66fb502918cec","head":{"label":"saneyuki:startwith","ref":"startwith","sha":"ea4be987a4f043fa58010cb350d66fb502918cec","user":{"login":"saneyuki","id":180104,"avatar_url":"https://avatars.githubusercontent.com/u/180104?v=3","gravatar_id":"","url":"https://api.github.com/users/saneyuki","html_url":"https://github.com/saneyuki","followers_url":"https://api.github.com/users/saneyuki/followers","following_url":"https://api.github.com/users/saneyuki/following{/other_user}","gists_url":"https://api.github.com/users/saneyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/saneyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saneyuki/subscriptions","organizations_url":"https://api.github.com/users/saneyuki/orgs","repos_url":"https://api.github.com/users/saneyuki/repos","events_url":"https://api.github.com/users/saneyuki/events{/privacy}","received_events_url":"https://api.github.com/users/saneyuki/received_events","type":"User","site_admin":false},"repo":{"id":33678545,"name":"RxJS","full_name":"saneyuki/RxJS","owner":{"login":"saneyuki","id":180104,"avatar_url":"https://avatars.githubusercontent.com/u/180104?v=3","gravatar_id":"","url":"https://api.github.com/users/saneyuki","html_url":"https://github.com/saneyuki","followers_url":"https://api.github.com/users/saneyuki/followers","following_url":"https://api.github.com/users/saneyuki/following{/other_user}","gists_url":"https://api.github.com/users/saneyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/saneyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saneyuki/subscriptions","organizations_url":"https://api.github.com/users/saneyuki/orgs","repos_url":"https://api.github.com/users/saneyuki/repos","events_url":"https://api.github.com/users/saneyuki/events{/privacy}","received_events_url":"https://api.github.com/users/saneyuki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saneyuki/RxJS","description":"A reactive programming library for JavaScript","fork":true,"url":"https://api.github.com/repos/saneyuki/RxJS","forks_url":"https://api.github.com/repos/saneyuki/RxJS/forks","keys_url":"https://api.github.com/repos/saneyuki/RxJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saneyuki/RxJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saneyuki/RxJS/teams","hooks_url":"https://api.github.com/repos/saneyuki/RxJS/hooks","issue_events_url":"https://api.github.com/repos/saneyuki/RxJS/issues/events{/number}","events_url":"https://api.github.com/repos/saneyuki/RxJS/events","assignees_url":"https://api.github.com/repos/saneyuki/RxJS/assignees{/user}","branches_url":"https://api.github.com/repos/saneyuki/RxJS/branches{/branch}","tags_url":"https://api.github.com/repos/saneyuki/RxJS/tags","blobs_url":"https://api.github.com/repos/saneyuki/RxJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saneyuki/RxJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saneyuki/RxJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/saneyuki/RxJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saneyuki/RxJS/statuses/{sha}","languages_url":"https://api.github.com/repos/saneyuki/RxJS/languages","stargazers_url":"https://api.github.com/repos/saneyuki/RxJS/stargazers","contributors_url":"https://api.github.com/repos/saneyuki/RxJS/contributors","subscribers_url":"https://api.github.com/repos/saneyuki/RxJS/subscribers","subscription_url":"https://api.github.com/repos/saneyuki/RxJS/subscription","commits_url":"https://api.github.com/repos/saneyuki/RxJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/saneyuki/RxJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/saneyuki/RxJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/saneyuki/RxJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/saneyuki/RxJS/contents/{+path}","compare_url":"https://api.github.com/repos/saneyuki/RxJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saneyuki/RxJS/merges","archive_url":"https://api.github.com/repos/saneyuki/RxJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saneyuki/RxJS/downloads","issues_url":"https://api.github.com/repos/saneyuki/RxJS/issues{/number}","pulls_url":"https://api.github.com/repos/saneyuki/RxJS/pulls{/number}","milestones_url":"https://api.github.com/repos/saneyuki/RxJS/milestones{/number}","notifications_url":"https://api.github.com/repos/saneyuki/RxJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saneyuki/RxJS/labels{/name}","releases_url":"https://api.github.com/repos/saneyuki/RxJS/releases{/id}","created_at":"2015-04-09T15:59:16Z","updated_at":"2015-04-09T15:59:16Z","pushed_at":"2015-08-10T02:58:24Z","git_url":"git://github.com/saneyuki/RxJS.git","ssh_url":"git@github.com:saneyuki/RxJS.git","clone_url":"https://github.com/saneyuki/RxJS.git","svn_url":"https://github.com/saneyuki/RxJS","homepage":null,"size":116,"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":"ReactiveX:master","ref":"master","sha":"ce5a1b1adc9674135eca3974fbc86fc64b567831","user":{"login":"ReactiveX","id":6407041,"avatar_url":"https://avatars.githubusercontent.com/u/6407041?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactiveX","html_url":"https://github.com/ReactiveX","followers_url":"https://api.github.com/users/ReactiveX/followers","following_url":"https://api.github.com/users/ReactiveX/following{/other_user}","gists_url":"https://api.github.com/users/ReactiveX/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactiveX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactiveX/subscriptions","organizations_url":"https://api.github.com/users/ReactiveX/orgs","repos_url":"https://api.github.com/users/ReactiveX/repos","events_url":"https://api.github.com/users/ReactiveX/events{/privacy}","received_events_url":"https://api.github.com/users/ReactiveX/received_events","type":"Organization","site_admin":false},"repo":{"id":32247847,"name":"RxJS","full_name":"ReactiveX/RxJS","owner":{"login":"ReactiveX","id":6407041,"avatar_url":"https://avatars.githubusercontent.com/u/6407041?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactiveX","html_url":"https://github.com/ReactiveX","followers_url":"https://api.github.com/users/ReactiveX/followers","following_url":"https://api.github.com/users/ReactiveX/following{/other_user}","gists_url":"https://api.github.com/users/ReactiveX/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactiveX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactiveX/subscriptions","organizations_url":"https://api.github.com/users/ReactiveX/orgs","repos_url":"https://api.github.com/users/ReactiveX/repos","events_url":"https://api.github.com/users/ReactiveX/events{/privacy}","received_events_url":"https://api.github.com/users/ReactiveX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReactiveX/RxJS","description":"A reactive programming library for JavaScript","fork":false,"url":"https://api.github.com/repos/ReactiveX/RxJS","forks_url":"https://api.github.com/repos/ReactiveX/RxJS/forks","keys_url":"https://api.github.com/repos/ReactiveX/RxJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReactiveX/RxJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReactiveX/RxJS/teams","hooks_url":"https://api.github.com/repos/ReactiveX/RxJS/hooks","issue_events_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/events{/number}","events_url":"https://api.github.com/repos/ReactiveX/RxJS/events","assignees_url":"https://api.github.com/repos/ReactiveX/RxJS/assignees{/user}","branches_url":"https://api.github.com/repos/ReactiveX/RxJS/branches{/branch}","tags_url":"https://api.github.com/repos/ReactiveX/RxJS/tags","blobs_url":"https://api.github.com/repos/ReactiveX/RxJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReactiveX/RxJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReactiveX/RxJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReactiveX/RxJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReactiveX/RxJS/statuses/{sha}","languages_url":"https://api.github.com/repos/ReactiveX/RxJS/languages","stargazers_url":"https://api.github.com/repos/ReactiveX/RxJS/stargazers","contributors_url":"https://api.github.com/repos/ReactiveX/RxJS/contributors","subscribers_url":"https://api.github.com/repos/ReactiveX/RxJS/subscribers","subscription_url":"https://api.github.com/repos/ReactiveX/RxJS/subscription","commits_url":"https://api.github.com/repos/ReactiveX/RxJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReactiveX/RxJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReactiveX/RxJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReactiveX/RxJS/contents/{+path}","compare_url":"https://api.github.com/repos/ReactiveX/RxJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReactiveX/RxJS/merges","archive_url":"https://api.github.com/repos/ReactiveX/RxJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReactiveX/RxJS/downloads","issues_url":"https://api.github.com/repos/ReactiveX/RxJS/issues{/number}","pulls_url":"https://api.github.com/repos/ReactiveX/RxJS/pulls{/number}","milestones_url":"https://api.github.com/repos/ReactiveX/RxJS/milestones{/number}","notifications_url":"https://api.github.com/repos/ReactiveX/RxJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReactiveX/RxJS/labels{/name}","releases_url":"https://api.github.com/repos/ReactiveX/RxJS/releases{/id}","created_at":"2015-03-15T06:17:10Z","updated_at":"2015-08-09T20:53:42Z","pushed_at":"2015-08-10T03:36:29Z","git_url":"git://github.com/ReactiveX/RxJS.git","ssh_url":"git@github.com:ReactiveX/RxJS.git","clone_url":"https://github.com/ReactiveX/RxJS.git","svn_url":"https://github.com/ReactiveX/RxJS","homepage":null,"size":1349,"stargazers_count":167,"watchers_count":167,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":43,"forks":27,"open_issues":43,"watchers":167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReactiveX/RxJS/pulls/162"},"html":{"href":"https://github.com/ReactiveX/RxJS/pull/162"},"issue":{"href":"https://api.github.com/repos/ReactiveX/RxJS/issues/162"},"comments":{"href":"https://api.github.com/repos/ReactiveX/RxJS/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/ReactiveX/RxJS/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/ReactiveX/RxJS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReactiveX/RxJS/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/ReactiveX/RxJS/statuses/ea4be987a4f043fa58010cb350d66fb502918cec"}}}}