{"action":"closed","number":352,"pull_request":{"url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/352","id":81953697,"html_url":"https://github.com/leancloud/javascript-sdk/pull/352","diff_url":"https://github.com/leancloud/javascript-sdk/pull/352.diff","patch_url":"https://github.com/leancloud/javascript-sdk/pull/352.patch","issue_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/352","number":352,"state":"closed","locked":false,"title":"fix AV.Object.extend SO error and support ES6 extends syntax","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":"- 当调用 `AV.Object.extend` 只传一个参数时，直接返回已有的 class。\r\n- 支持 ES6 的 extends 语法。由于 Class 声明没法自动注册，增加了 `AV.Object.register(Klass)` 方法用于注册。\r\n\r\nclose #331 close #337 ","created_at":"2016-08-19T09:44:07Z","updated_at":"2016-08-23T02:39:41Z","closed_at":"2016-08-23T02:39:40Z","merged_at":"2016-08-23T02:39:40Z","merge_commit_sha":"782cbfee893be1f1e50b4c9d805cd27aeb660713","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/352/commits","review_comments_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/352/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/352/comments","statuses_url":"https://api.github.com/repos/leancloud/javascript-sdk/statuses/ef41647afc4a556681468ba79d643629ee5a27a6","head":{"label":"leeyeh:feat-new-extends","ref":"feat-new-extends","sha":"ef41647afc4a556681468ba79d643629ee5a27a6","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},"repo":{"id":42576815,"name":"javascript-sdk","full_name":"leeyeh/javascript-sdk","owner":{"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},"private":false,"html_url":"https://github.com/leeyeh/javascript-sdk","description":"LeanCloud JavaScript SDK","fork":true,"url":"https://api.github.com/repos/leeyeh/javascript-sdk","forks_url":"https://api.github.com/repos/leeyeh/javascript-sdk/forks","keys_url":"https://api.github.com/repos/leeyeh/javascript-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leeyeh/javascript-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leeyeh/javascript-sdk/teams","hooks_url":"https://api.github.com/repos/leeyeh/javascript-sdk/hooks","issue_events_url":"https://api.github.com/repos/leeyeh/javascript-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/leeyeh/javascript-sdk/events","assignees_url":"https://api.github.com/repos/leeyeh/javascript-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/leeyeh/javascript-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/leeyeh/javascript-sdk/tags","blobs_url":"https://api.github.com/repos/leeyeh/javascript-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leeyeh/javascript-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leeyeh/javascript-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/leeyeh/javascript-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leeyeh/javascript-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/leeyeh/javascript-sdk/languages","stargazers_url":"https://api.github.com/repos/leeyeh/javascript-sdk/stargazers","contributors_url":"https://api.github.com/repos/leeyeh/javascript-sdk/contributors","subscribers_url":"https://api.github.com/repos/leeyeh/javascript-sdk/subscribers","subscription_url":"https://api.github.com/repos/leeyeh/javascript-sdk/subscription","commits_url":"https://api.github.com/repos/leeyeh/javascript-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/leeyeh/javascript-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/leeyeh/javascript-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/leeyeh/javascript-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/leeyeh/javascript-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/leeyeh/javascript-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leeyeh/javascript-sdk/merges","archive_url":"https://api.github.com/repos/leeyeh/javascript-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leeyeh/javascript-sdk/downloads","issues_url":"https://api.github.com/repos/leeyeh/javascript-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/leeyeh/javascript-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/leeyeh/javascript-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/leeyeh/javascript-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leeyeh/javascript-sdk/labels{/name}","releases_url":"https://api.github.com/repos/leeyeh/javascript-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/leeyeh/javascript-sdk/deployments","created_at":"2015-09-16T09:09:48Z","updated_at":"2016-02-01T03:10:22Z","pushed_at":"2016-08-19T09:41:07Z","git_url":"git://github.com/leeyeh/javascript-sdk.git","ssh_url":"git@github.com:leeyeh/javascript-sdk.git","clone_url":"https://github.com/leeyeh/javascript-sdk.git","svn_url":"https://github.com/leeyeh/javascript-sdk","homepage":"http://leancloud.cn/","size":7407,"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":"228bc9bd95201e4582a4680346ccd1ef3af8a993","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-08-12T07:34:08Z","pushed_at":"2016-08-23T02:39:40Z","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":7800,"stargazers_count":147,"watchers_count":147,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":80,"mirror_url":null,"open_issues_count":46,"forks":80,"open_issues":46,"watchers":147,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/352"},"html":{"href":"https://github.com/leancloud/javascript-sdk/pull/352"},"issue":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/issues/352"},"comments":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/issues/352/comments"},"review_comments":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/352/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/352/commits"},"statuses":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/statuses/ef41647afc4a556681468ba79d643629ee5a27a6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":2,"review_comments":0,"commits":3,"additions":71,"deletions":52,"changed_files":4}}
{"actor":{"display_login":"wangxiao"}}