{"action":"created","comment":{"url":"https://api.github.com/repos/cocos-creator/engine/pulls/comments/80184658","id":80184658,"diff_hunk":"@@ -0,0 +1,544 @@\n+/****************************************************************************\n+ Copyright (c) 2016 Chukong Technologies Inc.\n+\n+ http://www.cocos.com\n+\n+ Permission is hereby granted, free of charge, to any person obtaining a copy\n+ of this software and associated engine source code (the \"Software\"), a limited,\n+ worldwide, royalty-free, non-assignable, revocable and  non-exclusive license\n+ to use Cocos Creator solely to develop games on your target platforms. You shall\n+ not use Cocos Creator software for developing other software or tools that's\n+ used for developing games. You are not granted to publish, distribute,\n+ sublicense, and/or sell copies of Cocos Creator.\n+\n+ The software or tools in this License Agreement are licensed, not sold.\n+ Chukong Aipu reserves all rights not expressly granted to you.\n+\n+ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+ THE SOFTWARE.\n+ ****************************************************************************/\n+\n+var DefaultArmaturesEnum = cc.Enum({ 'default': -1 });\n+var DefaultAnimsEnum = cc.Enum({ '<None>': 0 });\n+\n+function setEnumAttr (obj, propName, enumDef) {\n+    cc.Class.attr(obj, propName, {\n+        type: 'Enum',\n+        enumList: cc.Enum.getList(enumDef)\n+    });\n+}\n+\n+/**\n+ * !#en\n+ * The Armature Display of DragonBones <br/>\n+ * <br/>\n+ * (Armature Display has a reference to a DragonBonesAsset and stores the state for ArmatureDisplay instance,\n+ * which consists of the current pose's bone SRT, slot colors, and which slot attachments are visible. <br/>\n+ * Multiple Armature Display can use the same DragonBonesAsset which includes all animations, skins, and attachments.) <br/>\n+ * !#zh\n+ * DragonBones 骨骼动画 <br/>\n+ * <br/>\n+ * (Armature Display 具有对骨骼数据的引用并且存储了骨骼实例的状态，\n+ * 它由当前的骨骼动作，slot 颜色，和可见的 slot attachments 组成。<br/>\n+ * 多个 Armature Display 可以使用相同的骨骼数据，其中包括所有的动画，皮肤和 attachments。)<br/>\n+ *\n+ * @class ArmatureDisplay","path":"extensions/dragonbones/ArmatureDisplay.js","position":48,"original_position":50,"commit_id":"508adce8ca78624938340e6099c0887728ac5f14","original_commit_id":"508adce8ca78624938340e6099c0887728ac5f14","user":{"login":"natural-law","id":488169,"avatar_url":"https://avatars.githubusercontent.com/u/488169?v=3","gravatar_id":"","url":"https://api.github.com/users/natural-law","html_url":"https://github.com/natural-law","followers_url":"https://api.github.com/users/natural-law/followers","following_url":"https://api.github.com/users/natural-law/following{/other_user}","gists_url":"https://api.github.com/users/natural-law/gists{/gist_id}","starred_url":"https://api.github.com/users/natural-law/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natural-law/subscriptions","organizations_url":"https://api.github.com/users/natural-law/orgs","repos_url":"https://api.github.com/users/natural-law/repos","events_url":"https://api.github.com/users/natural-law/events{/privacy}","received_events_url":"https://api.github.com/users/natural-law/received_events","type":"User","site_admin":false},"body":"我稍后加一下","created_at":"2016-09-23T05:43:30Z","updated_at":"2016-09-23T05:43:30Z","html_url":"https://github.com/cocos-creator/engine/pull/1142#discussion_r80184658","pull_request_url":"https://api.github.com/repos/cocos-creator/engine/pulls/1142","_links":{"self":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/comments/80184658"},"html":{"href":"https://github.com/cocos-creator/engine/pull/1142#discussion_r80184658"},"pull_request":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/1142"}}},"pull_request":{"url":"https://api.github.com/repos/cocos-creator/engine/pulls/1142","id":86312402,"html_url":"https://github.com/cocos-creator/engine/pull/1142","diff_url":"https://github.com/cocos-creator/engine/pull/1142.diff","patch_url":"https://github.com/cocos-creator/engine/pull/1142.patch","issue_url":"https://api.github.com/repos/cocos-creator/engine/issues/1142","number":1142,"state":"closed","locked":false,"title":"Support Dragonbones","user":{"login":"natural-law","id":488169,"avatar_url":"https://avatars.githubusercontent.com/u/488169?v=3","gravatar_id":"","url":"https://api.github.com/users/natural-law","html_url":"https://github.com/natural-law","followers_url":"https://api.github.com/users/natural-law/followers","following_url":"https://api.github.com/users/natural-law/following{/other_user}","gists_url":"https://api.github.com/users/natural-law/gists{/gist_id}","starred_url":"https://api.github.com/users/natural-law/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natural-law/subscriptions","organizations_url":"https://api.github.com/users/natural-law/orgs","repos_url":"https://api.github.com/users/natural-law/repos","events_url":"https://api.github.com/users/natural-law/events{/privacy}","received_events_url":"https://api.github.com/users/natural-law/received_events","type":"User","site_admin":false},"body":"Re: cocos-creator/fireball#4012\r\n\r\nChanges proposed in this pull request:\r\n * Support Dragonbones\r\n\r\n@cocos-creator/engine-admins\r\n","created_at":"2016-09-22T10:27:46Z","updated_at":"2016-09-23T05:43:30Z","closed_at":"2016-09-22T10:32:12Z","merged_at":"2016-09-22T10:32:12Z","merge_commit_sha":"0b8088eedbe9675f1dda4de606a87c8b8a9dda5e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cocos-creator/engine/pulls/1142/commits","review_comments_url":"https://api.github.com/repos/cocos-creator/engine/pulls/1142/comments","review_comment_url":"https://api.github.com/repos/cocos-creator/engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cocos-creator/engine/issues/1142/comments","statuses_url":"https://api.github.com/repos/cocos-creator/engine/statuses/508adce8ca78624938340e6099c0887728ac5f14","head":{"label":"natural-law:dragonbones","ref":"dragonbones","sha":"508adce8ca78624938340e6099c0887728ac5f14","user":{"login":"natural-law","id":488169,"avatar_url":"https://avatars.githubusercontent.com/u/488169?v=3","gravatar_id":"","url":"https://api.github.com/users/natural-law","html_url":"https://github.com/natural-law","followers_url":"https://api.github.com/users/natural-law/followers","following_url":"https://api.github.com/users/natural-law/following{/other_user}","gists_url":"https://api.github.com/users/natural-law/gists{/gist_id}","starred_url":"https://api.github.com/users/natural-law/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natural-law/subscriptions","organizations_url":"https://api.github.com/users/natural-law/orgs","repos_url":"https://api.github.com/users/natural-law/repos","events_url":"https://api.github.com/users/natural-law/events{/privacy}","received_events_url":"https://api.github.com/users/natural-law/received_events","type":"User","site_admin":false},"repo":{"id":54861420,"name":"engine","full_name":"natural-law/engine","owner":{"login":"natural-law","id":488169,"avatar_url":"https://avatars.githubusercontent.com/u/488169?v=3","gravatar_id":"","url":"https://api.github.com/users/natural-law","html_url":"https://github.com/natural-law","followers_url":"https://api.github.com/users/natural-law/followers","following_url":"https://api.github.com/users/natural-law/following{/other_user}","gists_url":"https://api.github.com/users/natural-law/gists{/gist_id}","starred_url":"https://api.github.com/users/natural-law/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natural-law/subscriptions","organizations_url":"https://api.github.com/users/natural-law/orgs","repos_url":"https://api.github.com/users/natural-law/repos","events_url":"https://api.github.com/users/natural-law/events{/privacy}","received_events_url":"https://api.github.com/users/natural-law/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/natural-law/engine","description":"The engine for Cocos Creator","fork":true,"url":"https://api.github.com/repos/natural-law/engine","forks_url":"https://api.github.com/repos/natural-law/engine/forks","keys_url":"https://api.github.com/repos/natural-law/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/natural-law/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/natural-law/engine/teams","hooks_url":"https://api.github.com/repos/natural-law/engine/hooks","issue_events_url":"https://api.github.com/repos/natural-law/engine/issues/events{/number}","events_url":"https://api.github.com/repos/natural-law/engine/events","assignees_url":"https://api.github.com/repos/natural-law/engine/assignees{/user}","branches_url":"https://api.github.com/repos/natural-law/engine/branches{/branch}","tags_url":"https://api.github.com/repos/natural-law/engine/tags","blobs_url":"https://api.github.com/repos/natural-law/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/natural-law/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/natural-law/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/natural-law/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/natural-law/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/natural-law/engine/languages","stargazers_url":"https://api.github.com/repos/natural-law/engine/stargazers","contributors_url":"https://api.github.com/repos/natural-law/engine/contributors","subscribers_url":"https://api.github.com/repos/natural-law/engine/subscribers","subscription_url":"https://api.github.com/repos/natural-law/engine/subscription","commits_url":"https://api.github.com/repos/natural-law/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/natural-law/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/natural-law/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/natural-law/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/natural-law/engine/contents/{+path}","compare_url":"https://api.github.com/repos/natural-law/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/natural-law/engine/merges","archive_url":"https://api.github.com/repos/natural-law/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/natural-law/engine/downloads","issues_url":"https://api.github.com/repos/natural-law/engine/issues{/number}","pulls_url":"https://api.github.com/repos/natural-law/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/natural-law/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/natural-law/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/natural-law/engine/labels{/name}","releases_url":"https://api.github.com/repos/natural-law/engine/releases{/id}","deployments_url":"https://api.github.com/repos/natural-law/engine/deployments","created_at":"2016-03-28T03:02:05Z","updated_at":"2016-03-28T03:02:08Z","pushed_at":"2016-09-22T07:57:42Z","git_url":"git://github.com/natural-law/engine.git","ssh_url":"git@github.com:natural-law/engine.git","clone_url":"https://github.com/natural-law/engine.git","svn_url":"https://github.com/natural-law/engine","homepage":"http://www.cocos2d-x.org/creator","size":25160,"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":"cocos-creator:master","ref":"master","sha":"d409f9e89535ba8cdbd129f51069f0837d08281c","user":{"login":"cocos-creator","id":6937061,"avatar_url":"https://avatars.githubusercontent.com/u/6937061?v=3","gravatar_id":"","url":"https://api.github.com/users/cocos-creator","html_url":"https://github.com/cocos-creator","followers_url":"https://api.github.com/users/cocos-creator/followers","following_url":"https://api.github.com/users/cocos-creator/following{/other_user}","gists_url":"https://api.github.com/users/cocos-creator/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos-creator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos-creator/subscriptions","organizations_url":"https://api.github.com/users/cocos-creator/orgs","repos_url":"https://api.github.com/users/cocos-creator/repos","events_url":"https://api.github.com/users/cocos-creator/events{/privacy}","received_events_url":"https://api.github.com/users/cocos-creator/received_events","type":"Organization","site_admin":false},"repo":{"id":47440536,"name":"engine","full_name":"cocos-creator/engine","owner":{"login":"cocos-creator","id":6937061,"avatar_url":"https://avatars.githubusercontent.com/u/6937061?v=3","gravatar_id":"","url":"https://api.github.com/users/cocos-creator","html_url":"https://github.com/cocos-creator","followers_url":"https://api.github.com/users/cocos-creator/followers","following_url":"https://api.github.com/users/cocos-creator/following{/other_user}","gists_url":"https://api.github.com/users/cocos-creator/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos-creator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos-creator/subscriptions","organizations_url":"https://api.github.com/users/cocos-creator/orgs","repos_url":"https://api.github.com/users/cocos-creator/repos","events_url":"https://api.github.com/users/cocos-creator/events{/privacy}","received_events_url":"https://api.github.com/users/cocos-creator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cocos-creator/engine","description":"The engine for Cocos Creator","fork":false,"url":"https://api.github.com/repos/cocos-creator/engine","forks_url":"https://api.github.com/repos/cocos-creator/engine/forks","keys_url":"https://api.github.com/repos/cocos-creator/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocos-creator/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocos-creator/engine/teams","hooks_url":"https://api.github.com/repos/cocos-creator/engine/hooks","issue_events_url":"https://api.github.com/repos/cocos-creator/engine/issues/events{/number}","events_url":"https://api.github.com/repos/cocos-creator/engine/events","assignees_url":"https://api.github.com/repos/cocos-creator/engine/assignees{/user}","branches_url":"https://api.github.com/repos/cocos-creator/engine/branches{/branch}","tags_url":"https://api.github.com/repos/cocos-creator/engine/tags","blobs_url":"https://api.github.com/repos/cocos-creator/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocos-creator/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocos-creator/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocos-creator/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocos-creator/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/cocos-creator/engine/languages","stargazers_url":"https://api.github.com/repos/cocos-creator/engine/stargazers","contributors_url":"https://api.github.com/repos/cocos-creator/engine/contributors","subscribers_url":"https://api.github.com/repos/cocos-creator/engine/subscribers","subscription_url":"https://api.github.com/repos/cocos-creator/engine/subscription","commits_url":"https://api.github.com/repos/cocos-creator/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocos-creator/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocos-creator/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocos-creator/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/cocos-creator/engine/contents/{+path}","compare_url":"https://api.github.com/repos/cocos-creator/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocos-creator/engine/merges","archive_url":"https://api.github.com/repos/cocos-creator/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocos-creator/engine/downloads","issues_url":"https://api.github.com/repos/cocos-creator/engine/issues{/number}","pulls_url":"https://api.github.com/repos/cocos-creator/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/cocos-creator/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/cocos-creator/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocos-creator/engine/labels{/name}","releases_url":"https://api.github.com/repos/cocos-creator/engine/releases{/id}","deployments_url":"https://api.github.com/repos/cocos-creator/engine/deployments","created_at":"2015-12-05T03:28:59Z","updated_at":"2016-09-23T03:57:58Z","pushed_at":"2016-09-23T03:27:56Z","git_url":"git://github.com/cocos-creator/engine.git","ssh_url":"git@github.com:cocos-creator/engine.git","clone_url":"https://github.com/cocos-creator/engine.git","svn_url":"https://github.com/cocos-creator/engine","homepage":"http://www.cocos2d-x.org/creator","size":26434,"stargazers_count":115,"watchers_count":115,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":16,"forks":75,"open_issues":16,"watchers":115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/1142"},"html":{"href":"https://github.com/cocos-creator/engine/pull/1142"},"issue":{"href":"https://api.github.com/repos/cocos-creator/engine/issues/1142"},"comments":{"href":"https://api.github.com/repos/cocos-creator/engine/issues/1142/comments"},"review_comments":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/1142/comments"},"review_comment":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/1142/commits"},"statuses":{"href":"https://api.github.com/repos/cocos-creator/engine/statuses/508adce8ca78624938340e6099c0887728ac5f14"}}}}
{"actor":{"display_login":"natural-law"}}