{"action":"created","comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/comments/39361730","id":39361730,"diff_hunk":"@@ -0,0 +1,9 @@\n+'use strict';\n+\n+module.exports = {\n+  name: 'fruitdown',\n+  valid: function () {\n+    return !!global.indexedDB;","path":"lib/plugins/fruitdown/config.js","position":6,"original_position":6,"commit_id":"93e5d85ad17ba0fd35e0f05c5c1c1e4a486b6966","original_commit_id":"93e5d85ad17ba0fd35e0f05c5c1c1e4a486b6966","user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"body":"I would say `return !!global.indexedDB && !!global.IDBKeyRange` (just to be safe in case they are testing in a weirdo old Samsung/HTC Android phone)","created_at":"2015-09-14T05:11:41Z","updated_at":"2015-09-14T05:11:41Z","html_url":"https://github.com/pouchdb/pouchdb/pull/4330#discussion_r39361730","pull_request_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/4330","_links":{"self":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/comments/39361730"},"html":{"href":"https://github.com/pouchdb/pouchdb/pull/4330#discussion_r39361730"},"pull_request":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/4330"}}},"pull_request":{"url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/4330","id":44881654,"html_url":"https://github.com/pouchdb/pouchdb/pull/4330","diff_url":"https://github.com/pouchdb/pouchdb/pull/4330.diff","patch_url":"https://github.com/pouchdb/pouchdb/pull/4330.patch","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4330","number":4330,"state":"open","locked":false,"title":"(#4329) - Add fruitdown as a supported adapter","user":{"login":"nickcolley","id":2445413,"avatar_url":"https://avatars.githubusercontent.com/u/2445413?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcolley","html_url":"https://github.com/nickcolley","followers_url":"https://api.github.com/users/nickcolley/followers","following_url":"https://api.github.com/users/nickcolley/following{/other_user}","gists_url":"https://api.github.com/users/nickcolley/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcolley/subscriptions","organizations_url":"https://api.github.com/users/nickcolley/orgs","repos_url":"https://api.github.com/users/nickcolley/repos","events_url":"https://api.github.com/users/nickcolley/events{/privacy}","received_events_url":"https://api.github.com/users/nickcolley/received_events","type":"User","site_admin":false},"body":"I've commented out all tests but fruitdown and node to try it out.","created_at":"2015-09-13T21:47:36Z","updated_at":"2015-09-14T05:11:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4bf14f14bfa0ea90e60693d01e80d56cfd87c0dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/4330/commits","review_comments_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/4330/comments","review_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4330/comments","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/93e5d85ad17ba0fd35e0f05c5c1c1e4a486b6966","head":{"label":"nickcolley:4329-add-fruitdown-as-supported-adapter","ref":"4329-add-fruitdown-as-supported-adapter","sha":"93e5d85ad17ba0fd35e0f05c5c1c1e4a486b6966","user":{"login":"nickcolley","id":2445413,"avatar_url":"https://avatars.githubusercontent.com/u/2445413?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcolley","html_url":"https://github.com/nickcolley","followers_url":"https://api.github.com/users/nickcolley/followers","following_url":"https://api.github.com/users/nickcolley/following{/other_user}","gists_url":"https://api.github.com/users/nickcolley/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcolley/subscriptions","organizations_url":"https://api.github.com/users/nickcolley/orgs","repos_url":"https://api.github.com/users/nickcolley/repos","events_url":"https://api.github.com/users/nickcolley/events{/privacy}","received_events_url":"https://api.github.com/users/nickcolley/received_events","type":"User","site_admin":false},"repo":{"id":17259702,"name":"pouchdb","full_name":"nickcolley/pouchdb","owner":{"login":"nickcolley","id":2445413,"avatar_url":"https://avatars.githubusercontent.com/u/2445413?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcolley","html_url":"https://github.com/nickcolley","followers_url":"https://api.github.com/users/nickcolley/followers","following_url":"https://api.github.com/users/nickcolley/following{/other_user}","gists_url":"https://api.github.com/users/nickcolley/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcolley/subscriptions","organizations_url":"https://api.github.com/users/nickcolley/orgs","repos_url":"https://api.github.com/users/nickcolley/repos","events_url":"https://api.github.com/users/nickcolley/events{/privacy}","received_events_url":"https://api.github.com/users/nickcolley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickcolley/pouchdb","description":"PouchDB is a pocket-sized database.","fork":true,"url":"https://api.github.com/repos/nickcolley/pouchdb","forks_url":"https://api.github.com/repos/nickcolley/pouchdb/forks","keys_url":"https://api.github.com/repos/nickcolley/pouchdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickcolley/pouchdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickcolley/pouchdb/teams","hooks_url":"https://api.github.com/repos/nickcolley/pouchdb/hooks","issue_events_url":"https://api.github.com/repos/nickcolley/pouchdb/issues/events{/number}","events_url":"https://api.github.com/repos/nickcolley/pouchdb/events","assignees_url":"https://api.github.com/repos/nickcolley/pouchdb/assignees{/user}","branches_url":"https://api.github.com/repos/nickcolley/pouchdb/branches{/branch}","tags_url":"https://api.github.com/repos/nickcolley/pouchdb/tags","blobs_url":"https://api.github.com/repos/nickcolley/pouchdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickcolley/pouchdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickcolley/pouchdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickcolley/pouchdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickcolley/pouchdb/statuses/{sha}","languages_url":"https://api.github.com/repos/nickcolley/pouchdb/languages","stargazers_url":"https://api.github.com/repos/nickcolley/pouchdb/stargazers","contributors_url":"https://api.github.com/repos/nickcolley/pouchdb/contributors","subscribers_url":"https://api.github.com/repos/nickcolley/pouchdb/subscribers","subscription_url":"https://api.github.com/repos/nickcolley/pouchdb/subscription","commits_url":"https://api.github.com/repos/nickcolley/pouchdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickcolley/pouchdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickcolley/pouchdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickcolley/pouchdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickcolley/pouchdb/contents/{+path}","compare_url":"https://api.github.com/repos/nickcolley/pouchdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickcolley/pouchdb/merges","archive_url":"https://api.github.com/repos/nickcolley/pouchdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickcolley/pouchdb/downloads","issues_url":"https://api.github.com/repos/nickcolley/pouchdb/issues{/number}","pulls_url":"https://api.github.com/repos/nickcolley/pouchdb/pulls{/number}","milestones_url":"https://api.github.com/repos/nickcolley/pouchdb/milestones{/number}","notifications_url":"https://api.github.com/repos/nickcolley/pouchdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickcolley/pouchdb/labels{/name}","releases_url":"https://api.github.com/repos/nickcolley/pouchdb/releases{/id}","created_at":"2014-02-27T18:36:25Z","updated_at":"2015-04-12T16:17:13Z","pushed_at":"2015-09-13T21:48:51Z","git_url":"git://github.com/nickcolley/pouchdb.git","ssh_url":"git@github.com:nickcolley/pouchdb.git","clone_url":"https://github.com/nickcolley/pouchdb.git","svn_url":"https://github.com/nickcolley/pouchdb","homepage":"","size":74617,"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":"pouchdb:master","ref":"master","sha":"d9e9726f6cc3a9b7a1b00408d9e333c586b5a64a","user":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"repo":{"id":714074,"name":"pouchdb","full_name":"pouchdb/pouchdb","owner":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pouchdb/pouchdb","description":":koala: - PouchDB is a pocket-sized database.","fork":false,"url":"https://api.github.com/repos/pouchdb/pouchdb","forks_url":"https://api.github.com/repos/pouchdb/pouchdb/forks","keys_url":"https://api.github.com/repos/pouchdb/pouchdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pouchdb/pouchdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pouchdb/pouchdb/teams","hooks_url":"https://api.github.com/repos/pouchdb/pouchdb/hooks","issue_events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/events{/number}","events_url":"https://api.github.com/repos/pouchdb/pouchdb/events","assignees_url":"https://api.github.com/repos/pouchdb/pouchdb/assignees{/user}","branches_url":"https://api.github.com/repos/pouchdb/pouchdb/branches{/branch}","tags_url":"https://api.github.com/repos/pouchdb/pouchdb/tags","blobs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pouchdb/pouchdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pouchdb/pouchdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/{sha}","languages_url":"https://api.github.com/repos/pouchdb/pouchdb/languages","stargazers_url":"https://api.github.com/repos/pouchdb/pouchdb/stargazers","contributors_url":"https://api.github.com/repos/pouchdb/pouchdb/contributors","subscribers_url":"https://api.github.com/repos/pouchdb/pouchdb/subscribers","subscription_url":"https://api.github.com/repos/pouchdb/pouchdb/subscription","commits_url":"https://api.github.com/repos/pouchdb/pouchdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pouchdb/pouchdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pouchdb/pouchdb/contents/{+path}","compare_url":"https://api.github.com/repos/pouchdb/pouchdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pouchdb/pouchdb/merges","archive_url":"https://api.github.com/repos/pouchdb/pouchdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pouchdb/pouchdb/downloads","issues_url":"https://api.github.com/repos/pouchdb/pouchdb/issues{/number}","pulls_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls{/number}","milestones_url":"https://api.github.com/repos/pouchdb/pouchdb/milestones{/number}","notifications_url":"https://api.github.com/repos/pouchdb/pouchdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/labels{/name}","releases_url":"https://api.github.com/repos/pouchdb/pouchdb/releases{/id}","created_at":"2010-06-10T18:34:24Z","updated_at":"2015-09-14T01:45:57Z","pushed_at":"2015-09-13T21:48:52Z","git_url":"git://github.com/pouchdb/pouchdb.git","ssh_url":"git@github.com:pouchdb/pouchdb.git","clone_url":"https://github.com/pouchdb/pouchdb.git","svn_url":"https://github.com/pouchdb/pouchdb","homepage":"http://pouchdb.com/","size":160578,"stargazers_count":4870,"watchers_count":4870,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":536,"mirror_url":null,"open_issues_count":199,"forks":536,"open_issues":199,"watchers":4870,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/4330"},"html":{"href":"https://github.com/pouchdb/pouchdb/pull/4330"},"issue":{"href":"https://api.github.com/repos/pouchdb/pouchdb/issues/4330"},"comments":{"href":"https://api.github.com/repos/pouchdb/pouchdb/issues/4330/comments"},"review_comments":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/4330/comments"},"review_comment":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/4330/commits"},"statuses":{"href":"https://api.github.com/repos/pouchdb/pouchdb/statuses/93e5d85ad17ba0fd35e0f05c5c1c1e4a486b6966"}}}}