{"action":"opened","number":72,"pull_request":{"url":"https://api.github.com/repos/algolia/algoliasearch-client-js/pulls/72","id":32165028,"html_url":"https://github.com/algolia/algoliasearch-client-js/pull/72","diff_url":"https://github.com/algolia/algoliasearch-client-js/pull/72.diff","patch_url":"https://github.com/algolia/algoliasearch-client-js/pull/72.patch","issue_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/issues/72","number":72,"state":"open","locked":false,"title":"FIX: Handle module loaders + cdn.jsdelivr.net/algoliasearch/latest usage","user":{"login":"vvo","id":123822,"avatar_url":"https://avatars.githubusercontent.com/u/123822?v=3","gravatar_id":"","url":"https://api.github.com/users/vvo","html_url":"https://github.com/vvo","followers_url":"https://api.github.com/users/vvo/followers","following_url":"https://api.github.com/users/vvo/following{/other_user}","gists_url":"https://api.github.com/users/vvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvo/subscriptions","organizations_url":"https://api.github.com/users/vvo/orgs","repos_url":"https://api.github.com/users/vvo/repos","events_url":"https://api.github.com/users/vvo/events{/privacy}","received_events_url":"https://api.github.com/users/vvo/received_events","type":"User","site_admin":false},"body":"When in this situation, the module loader would prevent the code\r\ndetecting and loading the V2 to execute.\r\n\r\nNow fixed by prepending the migration-layer to the browserify bundle\r\nIt also removes the migration-layer code from the package managers (npm, bower) builds,\r\nwhere it makes no sense to have it","created_at":"2015-03-28T14:16:46Z","updated_at":"2015-03-28T14:16:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/pulls/72/commits","review_comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/pulls/72/comments","review_comment_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/issues/72/comments","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/statuses/6c23435761126182c52a1df03e3cb418351a14a6","head":{"label":"algolia:fix-migration-layer-module-loader","ref":"fix-migration-layer-module-loader","sha":"6c23435761126182c52a1df03e3cb418351a14a6","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":10174599,"name":"algoliasearch-client-js","full_name":"algolia/algoliasearch-client-js","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/algoliasearch-client-js","description":"Algolia Search API Client for Javascript","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-client-js","forks_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/releases{/id}","created_at":"2013-05-20T14:35:15Z","updated_at":"2015-03-27T16:05:19Z","pushed_at":"2015-03-28T14:15:23Z","git_url":"git://github.com/algolia/algoliasearch-client-js.git","ssh_url":"git@github.com:algolia/algoliasearch-client-js.git","clone_url":"https://github.com/algolia/algoliasearch-client-js.git","svn_url":"https://github.com/algolia/algoliasearch-client-js","homepage":null,"size":3514,"stargazers_count":67,"watchers_count":67,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":4,"forks":30,"open_issues":4,"watchers":67,"default_branch":"master"}},"base":{"label":"algolia:master","ref":"master","sha":"e3cf44db5bba471c041914cf765ef96b210f67e8","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":10174599,"name":"algoliasearch-client-js","full_name":"algolia/algoliasearch-client-js","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/algoliasearch-client-js","description":"Algolia Search API Client for Javascript","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-client-js","forks_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-client-js/releases{/id}","created_at":"2013-05-20T14:35:15Z","updated_at":"2015-03-27T16:05:19Z","pushed_at":"2015-03-28T14:15:23Z","git_url":"git://github.com/algolia/algoliasearch-client-js.git","ssh_url":"git@github.com:algolia/algoliasearch-client-js.git","clone_url":"https://github.com/algolia/algoliasearch-client-js.git","svn_url":"https://github.com/algolia/algoliasearch-client-js","homepage":null,"size":3514,"stargazers_count":67,"watchers_count":67,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":4,"forks":30,"open_issues":4,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-js/pulls/72"},"html":{"href":"https://github.com/algolia/algoliasearch-client-js/pull/72"},"issue":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-js/issues/72"},"comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-js/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-js/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-js/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-js/statuses/6c23435761126182c52a1df03e3cb418351a14a6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":38,"deletions":17,"changed_files":8}}