{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/react-native/pulls/comments/27761810","id":27761810,"diff_hunk":"@@ -41,10 +41,11 @@ There are two pieces you’ll need to set up:\n 1. The root JavaScript file that will contain your actual React Native app and other components\n - Wrapper Objective-C code that will load up your script and create a `RCTRootView` to display and manage your React Native components\n \n-First, create a directory for your app’s React code and create a simple `index.ios.js` file:\n+First, create a directory `ReactComponent`, enter the directory and create `index.ios.js` inside .\n \n ```\n $ mkdir ReactComponent\n+$ cd ReactComponent","path":"docs/EmbeddedApp.md","position":9,"original_position":9,"commit_id":"af2ca61d4409030c807a219dc54e428b0124638b","original_commit_id":"af2ca61d4409030c807a219dc54e428b0124638b","user":{"login":"mkonicek","id":346214,"avatar_url":"https://avatars.githubusercontent.com/u/346214?v=3","gravatar_id":"","url":"https://api.github.com/users/mkonicek","html_url":"https://github.com/mkonicek","followers_url":"https://api.github.com/users/mkonicek/followers","following_url":"https://api.github.com/users/mkonicek/following{/other_user}","gists_url":"https://api.github.com/users/mkonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkonicek/subscriptions","organizations_url":"https://api.github.com/users/mkonicek/orgs","repos_url":"https://api.github.com/users/mkonicek/repos","events_url":"https://api.github.com/users/mkonicek/events{/privacy}","received_events_url":"https://api.github.com/users/mkonicek/received_events","type":"User","site_admin":false},"body":"Thanks!","created_at":"2015-04-03T23:03:18Z","updated_at":"2015-04-03T23:03:18Z","html_url":"https://github.com/facebook/react-native/pull/658#discussion_r27761810","pull_request_url":"https://api.github.com/repos/facebook/react-native/pulls/658","_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/comments/27761810"},"html":{"href":"https://github.com/facebook/react-native/pull/658#discussion_r27761810"},"pull_request":{"href":"https://api.github.com/repos/facebook/react-native/pulls/658"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/658","id":32622418,"html_url":"https://github.com/facebook/react-native/pull/658","diff_url":"https://github.com/facebook/react-native/pull/658.diff","patch_url":"https://github.com/facebook/react-native/pull/658.patch","issue_url":"https://api.github.com/repos/facebook/react-native/issues/658","number":658,"state":"open","locked":false,"title":"Update EmbeddedApp.md","user":{"login":"lvyile","id":161540,"avatar_url":"https://avatars.githubusercontent.com/u/161540?v=3","gravatar_id":"","url":"https://api.github.com/users/lvyile","html_url":"https://github.com/lvyile","followers_url":"https://api.github.com/users/lvyile/followers","following_url":"https://api.github.com/users/lvyile/following{/other_user}","gists_url":"https://api.github.com/users/lvyile/gists{/gist_id}","starred_url":"https://api.github.com/users/lvyile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvyile/subscriptions","organizations_url":"https://api.github.com/users/lvyile/orgs","repos_url":"https://api.github.com/users/lvyile/repos","events_url":"https://api.github.com/users/lvyile/events{/privacy}","received_events_url":"https://api.github.com/users/lvyile/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-03T22:59:45Z","updated_at":"2015-04-03T23:03:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fadc681d514ceca647e895e302b466b548bd4eed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react-native/pulls/658/commits","review_comments_url":"https://api.github.com/repos/facebook/react-native/pulls/658/comments","review_comment_url":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/658/comments","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/af2ca61d4409030c807a219dc54e428b0124638b","head":{"label":"lvyile:patch-1","ref":"patch-1","sha":"af2ca61d4409030c807a219dc54e428b0124638b","user":{"login":"lvyile","id":161540,"avatar_url":"https://avatars.githubusercontent.com/u/161540?v=3","gravatar_id":"","url":"https://api.github.com/users/lvyile","html_url":"https://github.com/lvyile","followers_url":"https://api.github.com/users/lvyile/followers","following_url":"https://api.github.com/users/lvyile/following{/other_user}","gists_url":"https://api.github.com/users/lvyile/gists{/gist_id}","starred_url":"https://api.github.com/users/lvyile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvyile/subscriptions","organizations_url":"https://api.github.com/users/lvyile/orgs","repos_url":"https://api.github.com/users/lvyile/repos","events_url":"https://api.github.com/users/lvyile/events{/privacy}","received_events_url":"https://api.github.com/users/lvyile/received_events","type":"User","site_admin":false},"repo":{"id":33201472,"name":"react-native","full_name":"lvyile/react-native","owner":{"login":"lvyile","id":161540,"avatar_url":"https://avatars.githubusercontent.com/u/161540?v=3","gravatar_id":"","url":"https://api.github.com/users/lvyile","html_url":"https://github.com/lvyile","followers_url":"https://api.github.com/users/lvyile/followers","following_url":"https://api.github.com/users/lvyile/following{/other_user}","gists_url":"https://api.github.com/users/lvyile/gists{/gist_id}","starred_url":"https://api.github.com/users/lvyile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvyile/subscriptions","organizations_url":"https://api.github.com/users/lvyile/orgs","repos_url":"https://api.github.com/users/lvyile/repos","events_url":"https://api.github.com/users/lvyile/events{/privacy}","received_events_url":"https://api.github.com/users/lvyile/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lvyile/react-native","description":"A framework for building native apps with React.","fork":true,"url":"https://api.github.com/repos/lvyile/react-native","forks_url":"https://api.github.com/repos/lvyile/react-native/forks","keys_url":"https://api.github.com/repos/lvyile/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lvyile/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lvyile/react-native/teams","hooks_url":"https://api.github.com/repos/lvyile/react-native/hooks","issue_events_url":"https://api.github.com/repos/lvyile/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/lvyile/react-native/events","assignees_url":"https://api.github.com/repos/lvyile/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/lvyile/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/lvyile/react-native/tags","blobs_url":"https://api.github.com/repos/lvyile/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lvyile/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lvyile/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/lvyile/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lvyile/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/lvyile/react-native/languages","stargazers_url":"https://api.github.com/repos/lvyile/react-native/stargazers","contributors_url":"https://api.github.com/repos/lvyile/react-native/contributors","subscribers_url":"https://api.github.com/repos/lvyile/react-native/subscribers","subscription_url":"https://api.github.com/repos/lvyile/react-native/subscription","commits_url":"https://api.github.com/repos/lvyile/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/lvyile/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/lvyile/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/lvyile/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/lvyile/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/lvyile/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lvyile/react-native/merges","archive_url":"https://api.github.com/repos/lvyile/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lvyile/react-native/downloads","issues_url":"https://api.github.com/repos/lvyile/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/lvyile/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/lvyile/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/lvyile/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lvyile/react-native/labels{/name}","releases_url":"https://api.github.com/repos/lvyile/react-native/releases{/id}","created_at":"2015-03-31T18:09:50Z","updated_at":"2015-04-02T13:29:34Z","pushed_at":"2015-04-03T22:59:26Z","git_url":"git://github.com/lvyile/react-native.git","ssh_url":"git@github.com:lvyile/react-native.git","clone_url":"https://github.com/lvyile/react-native.git","svn_url":"https://github.com/lvyile/react-native","homepage":"http://facebook.github.io/react-native/","size":8942,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"d42ffaa1498e02f508a4fe0ee48686872b61e4fa","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":29028775,"name":"react-native","full_name":"facebook/react-native","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react-native","description":"A framework for building native apps with React.","fork":false,"url":"https://api.github.com/repos/facebook/react-native","forks_url":"https://api.github.com/repos/facebook/react-native/forks","keys_url":"https://api.github.com/repos/facebook/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react-native/teams","hooks_url":"https://api.github.com/repos/facebook/react-native/hooks","issue_events_url":"https://api.github.com/repos/facebook/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react-native/events","assignees_url":"https://api.github.com/repos/facebook/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react-native/tags","blobs_url":"https://api.github.com/repos/facebook/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react-native/languages","stargazers_url":"https://api.github.com/repos/facebook/react-native/stargazers","contributors_url":"https://api.github.com/repos/facebook/react-native/contributors","subscribers_url":"https://api.github.com/repos/facebook/react-native/subscribers","subscription_url":"https://api.github.com/repos/facebook/react-native/subscription","commits_url":"https://api.github.com/repos/facebook/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react-native/merges","archive_url":"https://api.github.com/repos/facebook/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react-native/downloads","issues_url":"https://api.github.com/repos/facebook/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react-native/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react-native/releases{/id}","created_at":"2015-01-09T18:10:16Z","updated_at":"2015-04-03T22:47:39Z","pushed_at":"2015-04-03T22:59:47Z","git_url":"git://github.com/facebook/react-native.git","ssh_url":"git@github.com:facebook/react-native.git","clone_url":"https://github.com/facebook/react-native.git","svn_url":"https://github.com/facebook/react-native","homepage":"http://facebook.github.io/react-native/","size":23457,"stargazers_count":11078,"watchers_count":11078,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":972,"mirror_url":null,"open_issues_count":241,"forks":972,"open_issues":241,"watchers":11078,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/658"},"html":{"href":"https://github.com/facebook/react-native/pull/658"},"issue":{"href":"https://api.github.com/repos/facebook/react-native/issues/658"},"comments":{"href":"https://api.github.com/repos/facebook/react-native/issues/658/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react-native/pulls/658/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react-native/pulls/658/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react-native/statuses/af2ca61d4409030c807a219dc54e428b0124638b"}}}}