{"action":"created","comment":{"url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/comments/57301867","id":57301867,"diff_hunk":"@@ -21,6 +32,16 @@ const ajax = (method, url, data, success, error) => {\n   const appKey = AV.applicationKey;\n   const masterKey = AV.masterKey;\n \n+  // 清理原来多余的数据（如果不清理，会污染数据表）","path":"src/browserify-wrapper/ajax-browser.js","position":24,"original_position":24,"commit_id":"380806c6273e7758d40b95b5696a3fe09d31f18c","original_commit_id":"380806c6273e7758d40b95b5696a3fe09d31f18c","user":{"login":"leeyeh","id":175227,"avatar_url":"https://avatars.githubusercontent.com/u/175227?v=3","gravatar_id":"","url":"https://api.github.com/users/leeyeh","html_url":"https://github.com/leeyeh","followers_url":"https://api.github.com/users/leeyeh/followers","following_url":"https://api.github.com/users/leeyeh/following{/other_user}","gists_url":"https://api.github.com/users/leeyeh/gists{/gist_id}","starred_url":"https://api.github.com/users/leeyeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeyeh/subscriptions","organizations_url":"https://api.github.com/users/leeyeh/orgs","repos_url":"https://api.github.com/users/leeyeh/repos","events_url":"https://api.github.com/users/leeyeh/events{/privacy}","received_events_url":"https://api.github.com/users/leeyeh/received_events","type":"User","site_admin":false},"body":"这些为什么要「清理」，这些字段是哪里来的？","created_at":"2016-03-24T11:03:09Z","updated_at":"2016-03-24T11:03:09Z","html_url":"https://github.com/leancloud/javascript-sdk/pull/237#discussion_r57301867","pull_request_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/237","_links":{"self":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/comments/57301867"},"html":{"href":"https://github.com/leancloud/javascript-sdk/pull/237#discussion_r57301867"},"pull_request":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/237"}}},"pull_request":{"url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/237","id":61752983,"html_url":"https://github.com/leancloud/javascript-sdk/pull/237","diff_url":"https://github.com/leancloud/javascript-sdk/pull/237.diff","patch_url":"https://github.com/leancloud/javascript-sdk/pull/237.patch","issue_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/237","number":237,"state":"open","locked":false,"title":"修正浏览器中的请求方式","user":{"login":"wangxiao","id":558368,"avatar_url":"https://avatars.githubusercontent.com/u/558368?v=3","gravatar_id":"","url":"https://api.github.com/users/wangxiao","html_url":"https://github.com/wangxiao","followers_url":"https://api.github.com/users/wangxiao/followers","following_url":"https://api.github.com/users/wangxiao/following{/other_user}","gists_url":"https://api.github.com/users/wangxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/wangxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangxiao/subscriptions","organizations_url":"https://api.github.com/users/wangxiao/orgs","repos_url":"https://api.github.com/users/wangxiao/repos","events_url":"https://api.github.com/users/wangxiao/events{/privacy}","received_events_url":"https://api.github.com/users/wangxiao/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-04T18:41:01Z","updated_at":"2016-03-24T11:03:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a196481ea1261ab6b6358da47556a0b086cac237","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/237/commits","review_comments_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/237/comments","review_comment_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/237/comments","statuses_url":"https://api.github.com/repos/leancloud/javascript-sdk/statuses/380806c6273e7758d40b95b5696a3fe09d31f18c","head":{"label":"wangxiao:bug","ref":"bug","sha":"380806c6273e7758d40b95b5696a3fe09d31f18c","user":{"login":"wangxiao","id":558368,"avatar_url":"https://avatars.githubusercontent.com/u/558368?v=3","gravatar_id":"","url":"https://api.github.com/users/wangxiao","html_url":"https://github.com/wangxiao","followers_url":"https://api.github.com/users/wangxiao/followers","following_url":"https://api.github.com/users/wangxiao/following{/other_user}","gists_url":"https://api.github.com/users/wangxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/wangxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangxiao/subscriptions","organizations_url":"https://api.github.com/users/wangxiao/orgs","repos_url":"https://api.github.com/users/wangxiao/repos","events_url":"https://api.github.com/users/wangxiao/events{/privacy}","received_events_url":"https://api.github.com/users/wangxiao/received_events","type":"User","site_admin":false},"repo":{"id":40175459,"name":"javascript-sdk","full_name":"wangxiao/javascript-sdk","owner":{"login":"wangxiao","id":558368,"avatar_url":"https://avatars.githubusercontent.com/u/558368?v=3","gravatar_id":"","url":"https://api.github.com/users/wangxiao","html_url":"https://github.com/wangxiao","followers_url":"https://api.github.com/users/wangxiao/followers","following_url":"https://api.github.com/users/wangxiao/following{/other_user}","gists_url":"https://api.github.com/users/wangxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/wangxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangxiao/subscriptions","organizations_url":"https://api.github.com/users/wangxiao/orgs","repos_url":"https://api.github.com/users/wangxiao/repos","events_url":"https://api.github.com/users/wangxiao/events{/privacy}","received_events_url":"https://api.github.com/users/wangxiao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wangxiao/javascript-sdk","description":"LeanCloud JavaScript SDK","fork":true,"url":"https://api.github.com/repos/wangxiao/javascript-sdk","forks_url":"https://api.github.com/repos/wangxiao/javascript-sdk/forks","keys_url":"https://api.github.com/repos/wangxiao/javascript-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wangxiao/javascript-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wangxiao/javascript-sdk/teams","hooks_url":"https://api.github.com/repos/wangxiao/javascript-sdk/hooks","issue_events_url":"https://api.github.com/repos/wangxiao/javascript-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/wangxiao/javascript-sdk/events","assignees_url":"https://api.github.com/repos/wangxiao/javascript-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/wangxiao/javascript-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/wangxiao/javascript-sdk/tags","blobs_url":"https://api.github.com/repos/wangxiao/javascript-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wangxiao/javascript-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wangxiao/javascript-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/wangxiao/javascript-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wangxiao/javascript-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/wangxiao/javascript-sdk/languages","stargazers_url":"https://api.github.com/repos/wangxiao/javascript-sdk/stargazers","contributors_url":"https://api.github.com/repos/wangxiao/javascript-sdk/contributors","subscribers_url":"https://api.github.com/repos/wangxiao/javascript-sdk/subscribers","subscription_url":"https://api.github.com/repos/wangxiao/javascript-sdk/subscription","commits_url":"https://api.github.com/repos/wangxiao/javascript-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/wangxiao/javascript-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/wangxiao/javascript-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/wangxiao/javascript-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/wangxiao/javascript-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/wangxiao/javascript-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wangxiao/javascript-sdk/merges","archive_url":"https://api.github.com/repos/wangxiao/javascript-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wangxiao/javascript-sdk/downloads","issues_url":"https://api.github.com/repos/wangxiao/javascript-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/wangxiao/javascript-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/wangxiao/javascript-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/wangxiao/javascript-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wangxiao/javascript-sdk/labels{/name}","releases_url":"https://api.github.com/repos/wangxiao/javascript-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/wangxiao/javascript-sdk/deployments","created_at":"2015-08-04T09:27:04Z","updated_at":"2016-02-03T08:53:25Z","pushed_at":"2016-03-24T09:03:47Z","git_url":"git://github.com/wangxiao/javascript-sdk.git","ssh_url":"git@github.com:wangxiao/javascript-sdk.git","clone_url":"https://github.com/wangxiao/javascript-sdk.git","svn_url":"https://github.com/wangxiao/javascript-sdk","homepage":"http://leancloud.cn/","size":6345,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"leancloud:master","ref":"master","sha":"c5e2c5a569ab906fdf45ade49b33d3aa1ffbebb9","user":{"login":"leancloud","id":6660518,"avatar_url":"https://avatars.githubusercontent.com/u/6660518?v=3","gravatar_id":"","url":"https://api.github.com/users/leancloud","html_url":"https://github.com/leancloud","followers_url":"https://api.github.com/users/leancloud/followers","following_url":"https://api.github.com/users/leancloud/following{/other_user}","gists_url":"https://api.github.com/users/leancloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leancloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leancloud/subscriptions","organizations_url":"https://api.github.com/users/leancloud/orgs","repos_url":"https://api.github.com/users/leancloud/repos","events_url":"https://api.github.com/users/leancloud/events{/privacy}","received_events_url":"https://api.github.com/users/leancloud/received_events","type":"Organization","site_admin":false},"repo":{"id":21419780,"name":"javascript-sdk","full_name":"leancloud/javascript-sdk","owner":{"login":"leancloud","id":6660518,"avatar_url":"https://avatars.githubusercontent.com/u/6660518?v=3","gravatar_id":"","url":"https://api.github.com/users/leancloud","html_url":"https://github.com/leancloud","followers_url":"https://api.github.com/users/leancloud/followers","following_url":"https://api.github.com/users/leancloud/following{/other_user}","gists_url":"https://api.github.com/users/leancloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leancloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leancloud/subscriptions","organizations_url":"https://api.github.com/users/leancloud/orgs","repos_url":"https://api.github.com/users/leancloud/repos","events_url":"https://api.github.com/users/leancloud/events{/privacy}","received_events_url":"https://api.github.com/users/leancloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/leancloud/javascript-sdk","description":"LeanCloud JavaScript SDK","fork":false,"url":"https://api.github.com/repos/leancloud/javascript-sdk","forks_url":"https://api.github.com/repos/leancloud/javascript-sdk/forks","keys_url":"https://api.github.com/repos/leancloud/javascript-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leancloud/javascript-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leancloud/javascript-sdk/teams","hooks_url":"https://api.github.com/repos/leancloud/javascript-sdk/hooks","issue_events_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/leancloud/javascript-sdk/events","assignees_url":"https://api.github.com/repos/leancloud/javascript-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/leancloud/javascript-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/leancloud/javascript-sdk/tags","blobs_url":"https://api.github.com/repos/leancloud/javascript-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leancloud/javascript-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leancloud/javascript-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/leancloud/javascript-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leancloud/javascript-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/leancloud/javascript-sdk/languages","stargazers_url":"https://api.github.com/repos/leancloud/javascript-sdk/stargazers","contributors_url":"https://api.github.com/repos/leancloud/javascript-sdk/contributors","subscribers_url":"https://api.github.com/repos/leancloud/javascript-sdk/subscribers","subscription_url":"https://api.github.com/repos/leancloud/javascript-sdk/subscription","commits_url":"https://api.github.com/repos/leancloud/javascript-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/leancloud/javascript-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/leancloud/javascript-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/leancloud/javascript-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/leancloud/javascript-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leancloud/javascript-sdk/merges","archive_url":"https://api.github.com/repos/leancloud/javascript-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leancloud/javascript-sdk/downloads","issues_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/leancloud/javascript-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/leancloud/javascript-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leancloud/javascript-sdk/labels{/name}","releases_url":"https://api.github.com/repos/leancloud/javascript-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/leancloud/javascript-sdk/deployments","created_at":"2014-07-02T10:06:21Z","updated_at":"2016-03-21T11:39:41Z","pushed_at":"2016-03-24T09:03:47Z","git_url":"git://github.com/leancloud/javascript-sdk.git","ssh_url":"git@github.com:leancloud/javascript-sdk.git","clone_url":"https://github.com/leancloud/javascript-sdk.git","svn_url":"https://github.com/leancloud/javascript-sdk","homepage":"http://leancloud.cn/","size":6632,"stargazers_count":101,"watchers_count":101,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":44,"forks":53,"open_issues":44,"watchers":101,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/237"},"html":{"href":"https://github.com/leancloud/javascript-sdk/pull/237"},"issue":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/issues/237"},"comments":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/issues/237/comments"},"review_comments":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/237/comments"},"review_comment":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/237/commits"},"statuses":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/statuses/380806c6273e7758d40b95b5696a3fe09d31f18c"}}}}