{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/segmentio/analytics.js-core/pulls/22","id":73414598,"html_url":"https://github.com/segmentio/analytics.js-core/pull/22","diff_url":"https://github.com/segmentio/analytics.js-core/pull/22.diff","patch_url":"https://github.com/segmentio/analytics.js-core/pull/22.patch","issue_url":"https://api.github.com/repos/segmentio/analytics.js-core/issues/22","number":22,"state":"open","locked":false,"title":"update page defaults search method","user":{"login":"wcjohnson11","id":5373129,"avatar_url":"https://avatars.githubusercontent.com/u/5373129?v=3","gravatar_id":"","url":"https://api.github.com/users/wcjohnson11","html_url":"https://github.com/wcjohnson11","followers_url":"https://api.github.com/users/wcjohnson11/followers","following_url":"https://api.github.com/users/wcjohnson11/following{/other_user}","gists_url":"https://api.github.com/users/wcjohnson11/gists{/gist_id}","starred_url":"https://api.github.com/users/wcjohnson11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcjohnson11/subscriptions","organizations_url":"https://api.github.com/users/wcjohnson11/orgs","repos_url":"https://api.github.com/users/wcjohnson11/repos","events_url":"https://api.github.com/users/wcjohnson11/events{/privacy}","received_events_url":"https://api.github.com/users/wcjohnson11/received_events","type":"User","site_admin":false},"body":"This change makes it so that we grab the search parameter from the url directly instead of relying on `window.location.search`.\r\n\r\nThis was causing problems for users with SPAs with a # in their url structure as query parameters were included in `window.location.hash` instead of `window.location.search`.\r\n\r\n@jgershen @sperand-io @ladanazita ","created_at":"2016-06-10T18:20:34Z","updated_at":"2016-06-10T18:20:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68789fa649d899bc91a726dbfddbe33457ab3951","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/segmentio/analytics.js-core/pulls/22/commits","review_comments_url":"https://api.github.com/repos/segmentio/analytics.js-core/pulls/22/comments","review_comment_url":"https://api.github.com/repos/segmentio/analytics.js-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/segmentio/analytics.js-core/issues/22/comments","statuses_url":"https://api.github.com/repos/segmentio/analytics.js-core/statuses/831c2c53946c20bb41b6f3c5b912d9c9ec1fafd4","head":{"label":"segmentio:fix/page-defaults-search","ref":"fix/page-defaults-search","sha":"831c2c53946c20bb41b6f3c5b912d9c9ec1fafd4","user":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"repo":{"id":37523564,"name":"analytics.js-core","full_name":"segmentio/analytics.js-core","owner":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/segmentio/analytics.js-core","description":"The hassle-free way to integrate analytics into any web application.","fork":false,"url":"https://api.github.com/repos/segmentio/analytics.js-core","forks_url":"https://api.github.com/repos/segmentio/analytics.js-core/forks","keys_url":"https://api.github.com/repos/segmentio/analytics.js-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segmentio/analytics.js-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segmentio/analytics.js-core/teams","hooks_url":"https://api.github.com/repos/segmentio/analytics.js-core/hooks","issue_events_url":"https://api.github.com/repos/segmentio/analytics.js-core/issues/events{/number}","events_url":"https://api.github.com/repos/segmentio/analytics.js-core/events","assignees_url":"https://api.github.com/repos/segmentio/analytics.js-core/assignees{/user}","branches_url":"https://api.github.com/repos/segmentio/analytics.js-core/branches{/branch}","tags_url":"https://api.github.com/repos/segmentio/analytics.js-core/tags","blobs_url":"https://api.github.com/repos/segmentio/analytics.js-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segmentio/analytics.js-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segmentio/analytics.js-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/segmentio/analytics.js-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segmentio/analytics.js-core/statuses/{sha}","languages_url":"https://api.github.com/repos/segmentio/analytics.js-core/languages","stargazers_url":"https://api.github.com/repos/segmentio/analytics.js-core/stargazers","contributors_url":"https://api.github.com/repos/segmentio/analytics.js-core/contributors","subscribers_url":"https://api.github.com/repos/segmentio/analytics.js-core/subscribers","subscription_url":"https://api.github.com/repos/segmentio/analytics.js-core/subscription","commits_url":"https://api.github.com/repos/segmentio/analytics.js-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/segmentio/analytics.js-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/segmentio/analytics.js-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/segmentio/analytics.js-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/segmentio/analytics.js-core/contents/{+path}","compare_url":"https://api.github.com/repos/segmentio/analytics.js-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segmentio/analytics.js-core/merges","archive_url":"https://api.github.com/repos/segmentio/analytics.js-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segmentio/analytics.js-core/downloads","issues_url":"https://api.github.com/repos/segmentio/analytics.js-core/issues{/number}","pulls_url":"https://api.github.com/repos/segmentio/analytics.js-core/pulls{/number}","milestones_url":"https://api.github.com/repos/segmentio/analytics.js-core/milestones{/number}","notifications_url":"https://api.github.com/repos/segmentio/analytics.js-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segmentio/analytics.js-core/labels{/name}","releases_url":"https://api.github.com/repos/segmentio/analytics.js-core/releases{/id}","deployments_url":"https://api.github.com/repos/segmentio/analytics.js-core/deployments","created_at":"2015-06-16T10:29:28Z","updated_at":"2016-05-27T09:24:22Z","pushed_at":"2016-06-10T18:20:34Z","git_url":"git://github.com/segmentio/analytics.js-core.git","ssh_url":"git@github.com:segmentio/analytics.js-core.git","clone_url":"https://github.com/segmentio/analytics.js-core.git","svn_url":"https://github.com/segmentio/analytics.js-core","homepage":null,"size":9348,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":3,"forks":14,"open_issues":3,"watchers":18,"default_branch":"master"}},"base":{"label":"segmentio:master","ref":"master","sha":"ca1f25f95aa764a4d984a8eec526620924749269","user":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"repo":{"id":37523564,"name":"analytics.js-core","full_name":"segmentio/analytics.js-core","owner":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/segmentio/analytics.js-core","description":"The hassle-free way to integrate analytics into any web application.","fork":false,"url":"https://api.github.com/repos/segmentio/analytics.js-core","forks_url":"https://api.github.com/repos/segmentio/analytics.js-core/forks","keys_url":"https://api.github.com/repos/segmentio/analytics.js-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segmentio/analytics.js-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segmentio/analytics.js-core/teams","hooks_url":"https://api.github.com/repos/segmentio/analytics.js-core/hooks","issue_events_url":"https://api.github.com/repos/segmentio/analytics.js-core/issues/events{/number}","events_url":"https://api.github.com/repos/segmentio/analytics.js-core/events","assignees_url":"https://api.github.com/repos/segmentio/analytics.js-core/assignees{/user}","branches_url":"https://api.github.com/repos/segmentio/analytics.js-core/branches{/branch}","tags_url":"https://api.github.com/repos/segmentio/analytics.js-core/tags","blobs_url":"https://api.github.com/repos/segmentio/analytics.js-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segmentio/analytics.js-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segmentio/analytics.js-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/segmentio/analytics.js-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segmentio/analytics.js-core/statuses/{sha}","languages_url":"https://api.github.com/repos/segmentio/analytics.js-core/languages","stargazers_url":"https://api.github.com/repos/segmentio/analytics.js-core/stargazers","contributors_url":"https://api.github.com/repos/segmentio/analytics.js-core/contributors","subscribers_url":"https://api.github.com/repos/segmentio/analytics.js-core/subscribers","subscription_url":"https://api.github.com/repos/segmentio/analytics.js-core/subscription","commits_url":"https://api.github.com/repos/segmentio/analytics.js-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/segmentio/analytics.js-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/segmentio/analytics.js-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/segmentio/analytics.js-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/segmentio/analytics.js-core/contents/{+path}","compare_url":"https://api.github.com/repos/segmentio/analytics.js-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segmentio/analytics.js-core/merges","archive_url":"https://api.github.com/repos/segmentio/analytics.js-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segmentio/analytics.js-core/downloads","issues_url":"https://api.github.com/repos/segmentio/analytics.js-core/issues{/number}","pulls_url":"https://api.github.com/repos/segmentio/analytics.js-core/pulls{/number}","milestones_url":"https://api.github.com/repos/segmentio/analytics.js-core/milestones{/number}","notifications_url":"https://api.github.com/repos/segmentio/analytics.js-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segmentio/analytics.js-core/labels{/name}","releases_url":"https://api.github.com/repos/segmentio/analytics.js-core/releases{/id}","deployments_url":"https://api.github.com/repos/segmentio/analytics.js-core/deployments","created_at":"2015-06-16T10:29:28Z","updated_at":"2016-05-27T09:24:22Z","pushed_at":"2016-06-10T18:20:34Z","git_url":"git://github.com/segmentio/analytics.js-core.git","ssh_url":"git@github.com:segmentio/analytics.js-core.git","clone_url":"https://github.com/segmentio/analytics.js-core.git","svn_url":"https://github.com/segmentio/analytics.js-core","homepage":null,"size":9348,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":3,"forks":14,"open_issues":3,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/segmentio/analytics.js-core/pulls/22"},"html":{"href":"https://github.com/segmentio/analytics.js-core/pull/22"},"issue":{"href":"https://api.github.com/repos/segmentio/analytics.js-core/issues/22"},"comments":{"href":"https://api.github.com/repos/segmentio/analytics.js-core/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/segmentio/analytics.js-core/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/segmentio/analytics.js-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/segmentio/analytics.js-core/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/segmentio/analytics.js-core/statuses/831c2c53946c20bb41b6f3c5b912d9c9ec1fafd4"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"wcjohnson11"}}