{"action":"created","comment":{"url":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/comments/32839139","id":32839139,"diff_hunk":"@@ -84,4 +84,25 @@ Usage: geojson-tidy [-d minimum distance between points] [-t minimum sample time\n 3. Compare successive coordinates of the feature\n 4. If the dinstance between the points or timestamp difference is too small, delete it\n 5. Write a tidied geojson FeatureCollection with reduced points\n-        \n\\ No newline at end of file\n+\n+\n+## Build for browser\n+\n+To run this project in the browser, you first need to build it with [browserify](http://browserify.org/):\n+\n+```sh\n+git clone git@github.com:mapbox/geojson-tidy.git\n+\n+cd togeojson","path":"README.md","position":15,"original_position":15,"commit_id":"d94b143700da6772f63f986e3031bdac33d622ae","original_commit_id":"d94b143700da6772f63f986e3031bdac33d622ae","user":{"login":"tmcw","id":32314,"avatar_url":"https://avatars.githubusercontent.com/u/32314?v=3","gravatar_id":"","url":"https://api.github.com/users/tmcw","html_url":"https://github.com/tmcw","followers_url":"https://api.github.com/users/tmcw/followers","following_url":"https://api.github.com/users/tmcw/following{/other_user}","gists_url":"https://api.github.com/users/tmcw/gists{/gist_id}","starred_url":"https://api.github.com/users/tmcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmcw/subscriptions","organizations_url":"https://api.github.com/users/tmcw/orgs","repos_url":"https://api.github.com/users/tmcw/repos","events_url":"https://api.github.com/users/tmcw/events{/privacy}","received_events_url":"https://api.github.com/users/tmcw/received_events","type":"User","site_admin":false},"body":"should be geojson-tidy","created_at":"2015-06-19T15:23:41Z","updated_at":"2015-06-19T15:23:41Z","html_url":"https://github.com/mapbox/geojson-tidy/pull/9#discussion_r32839139","pull_request_url":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/comments/32839139"},"html":{"href":"https://github.com/mapbox/geojson-tidy/pull/9#discussion_r32839139"},"pull_request":{"href":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/9","id":38117698,"html_url":"https://github.com/mapbox/geojson-tidy/pull/9","diff_url":"https://github.com/mapbox/geojson-tidy/pull/9.diff","patch_url":"https://github.com/mapbox/geojson-tidy/pull/9.patch","issue_url":"https://api.github.com/repos/mapbox/geojson-tidy/issues/9","number":9,"state":"open","locked":false,"title":"Make browserfy-able","user":{"login":"freenerd","id":25713,"avatar_url":"https://avatars.githubusercontent.com/u/25713?v=3","gravatar_id":"","url":"https://api.github.com/users/freenerd","html_url":"https://github.com/freenerd","followers_url":"https://api.github.com/users/freenerd/followers","following_url":"https://api.github.com/users/freenerd/following{/other_user}","gists_url":"https://api.github.com/users/freenerd/gists{/gist_id}","starred_url":"https://api.github.com/users/freenerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freenerd/subscriptions","organizations_url":"https://api.github.com/users/freenerd/orgs","repos_url":"https://api.github.com/users/freenerd/repos","events_url":"https://api.github.com/users/freenerd/events{/privacy}","received_events_url":"https://api.github.com/users/freenerd/received_events","type":"User","site_admin":false},"body":"Fixes #8 \r\n\r\nNot sure if this is all that makes it possible to run in the browser?\r\n\r\nTODO:\r\n- [ ] Do we check in the `/dist` directory?\r\n- [ ] Put this on CDN?\r\n\r\n/cc @planemad @tmcw ","created_at":"2015-06-19T15:17:22Z","updated_at":"2015-06-19T15:23:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"199da15fb71e67f133deaf1cfd0427e428421674","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/9/commits","review_comments_url":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/9/comments","review_comment_url":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/geojson-tidy/issues/9/comments","statuses_url":"https://api.github.com/repos/mapbox/geojson-tidy/statuses/d94b143700da6772f63f986e3031bdac33d622ae","head":{"label":"mapbox:in-browser","ref":"in-browser","sha":"d94b143700da6772f63f986e3031bdac33d622ae","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":37207188,"name":"geojson-tidy","full_name":"mapbox/geojson-tidy","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/geojson-tidy","description":"Filter out noisy points from an input geojson lineString","fork":false,"url":"https://api.github.com/repos/mapbox/geojson-tidy","forks_url":"https://api.github.com/repos/mapbox/geojson-tidy/forks","keys_url":"https://api.github.com/repos/mapbox/geojson-tidy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/geojson-tidy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/geojson-tidy/teams","hooks_url":"https://api.github.com/repos/mapbox/geojson-tidy/hooks","issue_events_url":"https://api.github.com/repos/mapbox/geojson-tidy/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/geojson-tidy/events","assignees_url":"https://api.github.com/repos/mapbox/geojson-tidy/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/geojson-tidy/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/geojson-tidy/tags","blobs_url":"https://api.github.com/repos/mapbox/geojson-tidy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/geojson-tidy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/geojson-tidy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/geojson-tidy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/geojson-tidy/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/geojson-tidy/languages","stargazers_url":"https://api.github.com/repos/mapbox/geojson-tidy/stargazers","contributors_url":"https://api.github.com/repos/mapbox/geojson-tidy/contributors","subscribers_url":"https://api.github.com/repos/mapbox/geojson-tidy/subscribers","subscription_url":"https://api.github.com/repos/mapbox/geojson-tidy/subscription","commits_url":"https://api.github.com/repos/mapbox/geojson-tidy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/geojson-tidy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/geojson-tidy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/geojson-tidy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/geojson-tidy/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/geojson-tidy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/geojson-tidy/merges","archive_url":"https://api.github.com/repos/mapbox/geojson-tidy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/geojson-tidy/downloads","issues_url":"https://api.github.com/repos/mapbox/geojson-tidy/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/geojson-tidy/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/geojson-tidy/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/geojson-tidy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/geojson-tidy/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/geojson-tidy/releases{/id}","created_at":"2015-06-10T15:57:46Z","updated_at":"2015-06-16T11:00:11Z","pushed_at":"2015-06-19T15:17:23Z","git_url":"git://github.com/mapbox/geojson-tidy.git","ssh_url":"git@github.com:mapbox/geojson-tidy.git","clone_url":"https://github.com/mapbox/geojson-tidy.git","svn_url":"https://github.com/mapbox/geojson-tidy","homepage":"","size":213,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"f7d37a77af25b32b28b546e985ad9792092a4dca","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":37207188,"name":"geojson-tidy","full_name":"mapbox/geojson-tidy","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/geojson-tidy","description":"Filter out noisy points from an input geojson lineString","fork":false,"url":"https://api.github.com/repos/mapbox/geojson-tidy","forks_url":"https://api.github.com/repos/mapbox/geojson-tidy/forks","keys_url":"https://api.github.com/repos/mapbox/geojson-tidy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/geojson-tidy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/geojson-tidy/teams","hooks_url":"https://api.github.com/repos/mapbox/geojson-tidy/hooks","issue_events_url":"https://api.github.com/repos/mapbox/geojson-tidy/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/geojson-tidy/events","assignees_url":"https://api.github.com/repos/mapbox/geojson-tidy/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/geojson-tidy/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/geojson-tidy/tags","blobs_url":"https://api.github.com/repos/mapbox/geojson-tidy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/geojson-tidy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/geojson-tidy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/geojson-tidy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/geojson-tidy/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/geojson-tidy/languages","stargazers_url":"https://api.github.com/repos/mapbox/geojson-tidy/stargazers","contributors_url":"https://api.github.com/repos/mapbox/geojson-tidy/contributors","subscribers_url":"https://api.github.com/repos/mapbox/geojson-tidy/subscribers","subscription_url":"https://api.github.com/repos/mapbox/geojson-tidy/subscription","commits_url":"https://api.github.com/repos/mapbox/geojson-tidy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/geojson-tidy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/geojson-tidy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/geojson-tidy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/geojson-tidy/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/geojson-tidy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/geojson-tidy/merges","archive_url":"https://api.github.com/repos/mapbox/geojson-tidy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/geojson-tidy/downloads","issues_url":"https://api.github.com/repos/mapbox/geojson-tidy/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/geojson-tidy/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/geojson-tidy/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/geojson-tidy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/geojson-tidy/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/geojson-tidy/releases{/id}","created_at":"2015-06-10T15:57:46Z","updated_at":"2015-06-16T11:00:11Z","pushed_at":"2015-06-19T15:17:23Z","git_url":"git://github.com/mapbox/geojson-tidy.git","ssh_url":"git@github.com:mapbox/geojson-tidy.git","clone_url":"https://github.com/mapbox/geojson-tidy.git","svn_url":"https://github.com/mapbox/geojson-tidy","homepage":"","size":213,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/9"},"html":{"href":"https://github.com/mapbox/geojson-tidy/pull/9"},"issue":{"href":"https://api.github.com/repos/mapbox/geojson-tidy/issues/9"},"comments":{"href":"https://api.github.com/repos/mapbox/geojson-tidy/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/geojson-tidy/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/geojson-tidy/statuses/d94b143700da6772f63f986e3031bdac33d622ae"}}}}