{"action":"created","comment":{"url":"https://api.github.com/repos/aaronpowell/db.js/pulls/comments/43594203","id":43594203,"diff_hunk":"@@ -34,7 +37,8 @@\n                 args = args || [];\n                 state = state || [ context , args ];\n \n-                for ( var i = 0 , il = list.length ; i < il ; i++ ) {\n+                var i, il;\n+                for ( i = 0 , il = list.length ; i < il ; i++ ) {","path":"src/db.js","position":15,"original_position":15,"commit_id":"23ce611a5e8dfee19841b6afffff9cdc922722dc","original_commit_id":"23ce611a5e8dfee19841b6afffff9cdc922722dc","user":{"login":"aaronpowell","id":434140,"avatar_url":"https://avatars.githubusercontent.com/u/434140?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronpowell","html_url":"https://github.com/aaronpowell","followers_url":"https://api.github.com/users/aaronpowell/followers","following_url":"https://api.github.com/users/aaronpowell/following{/other_user}","gists_url":"https://api.github.com/users/aaronpowell/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronpowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronpowell/subscriptions","organizations_url":"https://api.github.com/users/aaronpowell/orgs","repos_url":"https://api.github.com/users/aaronpowell/repos","events_url":"https://api.github.com/users/aaronpowell/events{/privacy}","received_events_url":"https://api.github.com/users/aaronpowell/received_events","type":"User","site_admin":false},"body":"I'd prefer this not be changed, my coding preference is to declare the variables in the `for` as part of themselves","created_at":"2015-11-02T02:58:00Z","updated_at":"2015-11-02T02:58:00Z","html_url":"https://github.com/aaronpowell/db.js/pull/131#discussion_r43594203","pull_request_url":"https://api.github.com/repos/aaronpowell/db.js/pulls/131","_links":{"self":{"href":"https://api.github.com/repos/aaronpowell/db.js/pulls/comments/43594203"},"html":{"href":"https://github.com/aaronpowell/db.js/pull/131#discussion_r43594203"},"pull_request":{"href":"https://api.github.com/repos/aaronpowell/db.js/pulls/131"}}},"pull_request":{"url":"https://api.github.com/repos/aaronpowell/db.js/pulls/131","id":48150717,"html_url":"https://github.com/aaronpowell/db.js/pull/131","diff_url":"https://github.com/aaronpowell/db.js/pull/131.diff","patch_url":"https://github.com/aaronpowell/db.js/pull/131.patch","issue_url":"https://api.github.com/repos/aaronpowell/db.js/issues/131","number":131,"state":"open","locked":false,"title":"Update array args","user":{"login":"brettz9","id":20234,"avatar_url":"https://avatars.githubusercontent.com/u/20234?v=3","gravatar_id":"","url":"https://api.github.com/users/brettz9","html_url":"https://github.com/brettz9","followers_url":"https://api.github.com/users/brettz9/followers","following_url":"https://api.github.com/users/brettz9/following{/other_user}","gists_url":"https://api.github.com/users/brettz9/gists{/gist_id}","starred_url":"https://api.github.com/users/brettz9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettz9/subscriptions","organizations_url":"https://api.github.com/users/brettz9/orgs","repos_url":"https://api.github.com/users/brettz9/repos","events_url":"https://api.github.com/users/brettz9/events{/privacy}","received_events_url":"https://api.github.com/users/brettz9/received_events","type":"User","site_admin":false},"body":"Builds on previous PRs.\r\n\r\nAllow array of objects to be supplied to update() for batch processing (paralleling add() behavior), addressing issue #123; add test","created_at":"2015-10-20T02:39:59Z","updated_at":"2015-11-02T02:58:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d60848c20b48a3c6ac517ac201edaeaaa58e48e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aaronpowell/db.js/pulls/131/commits","review_comments_url":"https://api.github.com/repos/aaronpowell/db.js/pulls/131/comments","review_comment_url":"https://api.github.com/repos/aaronpowell/db.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aaronpowell/db.js/issues/131/comments","statuses_url":"https://api.github.com/repos/aaronpowell/db.js/statuses/23ce611a5e8dfee19841b6afffff9cdc922722dc","head":{"label":"brettz9:update-array-args","ref":"update-array-args","sha":"23ce611a5e8dfee19841b6afffff9cdc922722dc","user":{"login":"brettz9","id":20234,"avatar_url":"https://avatars.githubusercontent.com/u/20234?v=3","gravatar_id":"","url":"https://api.github.com/users/brettz9","html_url":"https://github.com/brettz9","followers_url":"https://api.github.com/users/brettz9/followers","following_url":"https://api.github.com/users/brettz9/following{/other_user}","gists_url":"https://api.github.com/users/brettz9/gists{/gist_id}","starred_url":"https://api.github.com/users/brettz9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettz9/subscriptions","organizations_url":"https://api.github.com/users/brettz9/orgs","repos_url":"https://api.github.com/users/brettz9/repos","events_url":"https://api.github.com/users/brettz9/events{/privacy}","received_events_url":"https://api.github.com/users/brettz9/received_events","type":"User","site_admin":false},"repo":{"id":44555479,"name":"db.js","full_name":"brettz9/db.js","owner":{"login":"brettz9","id":20234,"avatar_url":"https://avatars.githubusercontent.com/u/20234?v=3","gravatar_id":"","url":"https://api.github.com/users/brettz9","html_url":"https://github.com/brettz9","followers_url":"https://api.github.com/users/brettz9/followers","following_url":"https://api.github.com/users/brettz9/following{/other_user}","gists_url":"https://api.github.com/users/brettz9/gists{/gist_id}","starred_url":"https://api.github.com/users/brettz9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettz9/subscriptions","organizations_url":"https://api.github.com/users/brettz9/orgs","repos_url":"https://api.github.com/users/brettz9/repos","events_url":"https://api.github.com/users/brettz9/events{/privacy}","received_events_url":"https://api.github.com/users/brettz9/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brettz9/db.js","description":"db.js is a wrapper for IndexedDB to make it easier to work against","fork":true,"url":"https://api.github.com/repos/brettz9/db.js","forks_url":"https://api.github.com/repos/brettz9/db.js/forks","keys_url":"https://api.github.com/repos/brettz9/db.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brettz9/db.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brettz9/db.js/teams","hooks_url":"https://api.github.com/repos/brettz9/db.js/hooks","issue_events_url":"https://api.github.com/repos/brettz9/db.js/issues/events{/number}","events_url":"https://api.github.com/repos/brettz9/db.js/events","assignees_url":"https://api.github.com/repos/brettz9/db.js/assignees{/user}","branches_url":"https://api.github.com/repos/brettz9/db.js/branches{/branch}","tags_url":"https://api.github.com/repos/brettz9/db.js/tags","blobs_url":"https://api.github.com/repos/brettz9/db.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brettz9/db.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brettz9/db.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/brettz9/db.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brettz9/db.js/statuses/{sha}","languages_url":"https://api.github.com/repos/brettz9/db.js/languages","stargazers_url":"https://api.github.com/repos/brettz9/db.js/stargazers","contributors_url":"https://api.github.com/repos/brettz9/db.js/contributors","subscribers_url":"https://api.github.com/repos/brettz9/db.js/subscribers","subscription_url":"https://api.github.com/repos/brettz9/db.js/subscription","commits_url":"https://api.github.com/repos/brettz9/db.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/brettz9/db.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/brettz9/db.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/brettz9/db.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/brettz9/db.js/contents/{+path}","compare_url":"https://api.github.com/repos/brettz9/db.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brettz9/db.js/merges","archive_url":"https://api.github.com/repos/brettz9/db.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brettz9/db.js/downloads","issues_url":"https://api.github.com/repos/brettz9/db.js/issues{/number}","pulls_url":"https://api.github.com/repos/brettz9/db.js/pulls{/number}","milestones_url":"https://api.github.com/repos/brettz9/db.js/milestones{/number}","notifications_url":"https://api.github.com/repos/brettz9/db.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brettz9/db.js/labels{/name}","releases_url":"https://api.github.com/repos/brettz9/db.js/releases{/id}","created_at":"2015-10-19T18:35:49Z","updated_at":"2015-10-19T18:35:50Z","pushed_at":"2015-11-02T00:23:01Z","git_url":"git://github.com/brettz9/db.js.git","ssh_url":"git@github.com:brettz9/db.js.git","clone_url":"https://github.com/brettz9/db.js.git","svn_url":"https://github.com/brettz9/db.js","homepage":"http://aaronpowell.github.com/db.js/","size":923,"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":"aaronpowell:master","ref":"master","sha":"8111029036bc0bcec717281cb05d493ad6771678","user":{"login":"aaronpowell","id":434140,"avatar_url":"https://avatars.githubusercontent.com/u/434140?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronpowell","html_url":"https://github.com/aaronpowell","followers_url":"https://api.github.com/users/aaronpowell/followers","following_url":"https://api.github.com/users/aaronpowell/following{/other_user}","gists_url":"https://api.github.com/users/aaronpowell/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronpowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronpowell/subscriptions","organizations_url":"https://api.github.com/users/aaronpowell/orgs","repos_url":"https://api.github.com/users/aaronpowell/repos","events_url":"https://api.github.com/users/aaronpowell/events{/privacy}","received_events_url":"https://api.github.com/users/aaronpowell/received_events","type":"User","site_admin":false},"repo":{"id":4260360,"name":"db.js","full_name":"aaronpowell/db.js","owner":{"login":"aaronpowell","id":434140,"avatar_url":"https://avatars.githubusercontent.com/u/434140?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronpowell","html_url":"https://github.com/aaronpowell","followers_url":"https://api.github.com/users/aaronpowell/followers","following_url":"https://api.github.com/users/aaronpowell/following{/other_user}","gists_url":"https://api.github.com/users/aaronpowell/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronpowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronpowell/subscriptions","organizations_url":"https://api.github.com/users/aaronpowell/orgs","repos_url":"https://api.github.com/users/aaronpowell/repos","events_url":"https://api.github.com/users/aaronpowell/events{/privacy}","received_events_url":"https://api.github.com/users/aaronpowell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aaronpowell/db.js","description":"db.js is a wrapper for IndexedDB to make it easier to work against","fork":false,"url":"https://api.github.com/repos/aaronpowell/db.js","forks_url":"https://api.github.com/repos/aaronpowell/db.js/forks","keys_url":"https://api.github.com/repos/aaronpowell/db.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaronpowell/db.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaronpowell/db.js/teams","hooks_url":"https://api.github.com/repos/aaronpowell/db.js/hooks","issue_events_url":"https://api.github.com/repos/aaronpowell/db.js/issues/events{/number}","events_url":"https://api.github.com/repos/aaronpowell/db.js/events","assignees_url":"https://api.github.com/repos/aaronpowell/db.js/assignees{/user}","branches_url":"https://api.github.com/repos/aaronpowell/db.js/branches{/branch}","tags_url":"https://api.github.com/repos/aaronpowell/db.js/tags","blobs_url":"https://api.github.com/repos/aaronpowell/db.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaronpowell/db.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaronpowell/db.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaronpowell/db.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaronpowell/db.js/statuses/{sha}","languages_url":"https://api.github.com/repos/aaronpowell/db.js/languages","stargazers_url":"https://api.github.com/repos/aaronpowell/db.js/stargazers","contributors_url":"https://api.github.com/repos/aaronpowell/db.js/contributors","subscribers_url":"https://api.github.com/repos/aaronpowell/db.js/subscribers","subscription_url":"https://api.github.com/repos/aaronpowell/db.js/subscription","commits_url":"https://api.github.com/repos/aaronpowell/db.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaronpowell/db.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaronpowell/db.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaronpowell/db.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaronpowell/db.js/contents/{+path}","compare_url":"https://api.github.com/repos/aaronpowell/db.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaronpowell/db.js/merges","archive_url":"https://api.github.com/repos/aaronpowell/db.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaronpowell/db.js/downloads","issues_url":"https://api.github.com/repos/aaronpowell/db.js/issues{/number}","pulls_url":"https://api.github.com/repos/aaronpowell/db.js/pulls{/number}","milestones_url":"https://api.github.com/repos/aaronpowell/db.js/milestones{/number}","notifications_url":"https://api.github.com/repos/aaronpowell/db.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaronpowell/db.js/labels{/name}","releases_url":"https://api.github.com/repos/aaronpowell/db.js/releases{/id}","created_at":"2012-05-08T12:19:01Z","updated_at":"2015-11-01T09:19:00Z","pushed_at":"2015-11-02T02:46:04Z","git_url":"git://github.com/aaronpowell/db.js.git","ssh_url":"git@github.com:aaronpowell/db.js.git","clone_url":"https://github.com/aaronpowell/db.js.git","svn_url":"https://github.com/aaronpowell/db.js","homepage":"http://aaronpowell.github.com/db.js/","size":1335,"stargazers_count":436,"watchers_count":436,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":104,"mirror_url":null,"open_issues_count":36,"forks":104,"open_issues":36,"watchers":436,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aaronpowell/db.js/pulls/131"},"html":{"href":"https://github.com/aaronpowell/db.js/pull/131"},"issue":{"href":"https://api.github.com/repos/aaronpowell/db.js/issues/131"},"comments":{"href":"https://api.github.com/repos/aaronpowell/db.js/issues/131/comments"},"review_comments":{"href":"https://api.github.com/repos/aaronpowell/db.js/pulls/131/comments"},"review_comment":{"href":"https://api.github.com/repos/aaronpowell/db.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aaronpowell/db.js/pulls/131/commits"},"statuses":{"href":"https://api.github.com/repos/aaronpowell/db.js/statuses/23ce611a5e8dfee19841b6afffff9cdc922722dc"}}}}