{"action":"created","comment":{"url":"https://api.github.com/repos/fireball-x/tutorial/pulls/comments/27004899","id":27004899,"diff_hunk":"@@ -0,0 +1,54 @@\n+var PipeGroupManager = Fire.extend(Fire.Component, function () {\n+    //-- 上一次创建PipeGroup的时间\n+    this.lastTime = 0;\n+    //-- 保存PipeGroup数组\n+    this.pipeGroupList = [];\n+\n+    PipeGroupManager.instance = this;\n+});\n+\n+PipeGroupManager.instance = null;\n+\n+//-- 获取Obstacle障碍物存放处\n+PipeGroupManager.prop('obstacle', null, Fire.ObjectType(Fire.Entity));\n+\n+//-- 获取PipeGroup模板\n+PipeGroupManager.prop('srcPipeGroup', null, Fire.ObjectType(Fire.Entity));","path":"duang-sheep/assets/scripts/PipeGroupManager.js","position":16,"original_position":16,"commit_id":"06c5bf9378d9ea4bf7dcb60399450eae0fed9d36","original_commit_id":"06c5bf9378d9ea4bf7dcb60399450eae0fed9d36","user":{"login":"jareguo","id":1503156,"avatar_url":"https://avatars.githubusercontent.com/u/1503156?v=3","gravatar_id":"","url":"https://api.github.com/users/jareguo","html_url":"https://github.com/jareguo","followers_url":"https://api.github.com/users/jareguo/followers","following_url":"https://api.github.com/users/jareguo/following{/other_user}","gists_url":"https://api.github.com/users/jareguo/gists{/gist_id}","starred_url":"https://api.github.com/users/jareguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jareguo/subscriptions","organizations_url":"https://api.github.com/users/jareguo/orgs","repos_url":"https://api.github.com/users/jareguo/repos","events_url":"https://api.github.com/users/jareguo/events{/privacy}","received_events_url":"https://api.github.com/users/jareguo/received_events","type":"User","site_admin":false},"body":"建议你这里都是存 component 而不是 entity","created_at":"2015-03-24T06:07:59Z","updated_at":"2015-03-24T06:07:59Z","html_url":"https://github.com/fireball-x/tutorial/pull/6#discussion_r27004899","pull_request_url":"https://api.github.com/repos/fireball-x/tutorial/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/fireball-x/tutorial/pulls/comments/27004899"},"html":{"href":"https://github.com/fireball-x/tutorial/pull/6#discussion_r27004899"},"pull_request":{"href":"https://api.github.com/repos/fireball-x/tutorial/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/fireball-x/tutorial/pulls/6","id":31795097,"html_url":"https://github.com/fireball-x/tutorial/pull/6","diff_url":"https://github.com/fireball-x/tutorial/pull/6.diff","patch_url":"https://github.com/fireball-x/tutorial/pull/6.patch","issue_url":"https://api.github.com/repos/fireball-x/tutorial/issues/6","number":6,"state":"open","locked":false,"title":"创建障碍物(管道)","user":{"login":"knoxHuang","id":7564028,"avatar_url":"https://avatars.githubusercontent.com/u/7564028?v=3","gravatar_id":"","url":"https://api.github.com/users/knoxHuang","html_url":"https://github.com/knoxHuang","followers_url":"https://api.github.com/users/knoxHuang/followers","following_url":"https://api.github.com/users/knoxHuang/following{/other_user}","gists_url":"https://api.github.com/users/knoxHuang/gists{/gist_id}","starred_url":"https://api.github.com/users/knoxHuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knoxHuang/subscriptions","organizations_url":"https://api.github.com/users/knoxHuang/orgs","repos_url":"https://api.github.com/users/knoxHuang/repos","events_url":"https://api.github.com/users/knoxHuang/events{/privacy}","received_events_url":"https://api.github.com/users/knoxHuang/received_events","type":"User","site_admin":false},"body":"@jareguo ","created_at":"2015-03-24T03:44:05Z","updated_at":"2015-03-24T06:07:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebed7ec36266c7ca880879c1cea570b0b49ce7ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fireball-x/tutorial/pulls/6/commits","review_comments_url":"https://api.github.com/repos/fireball-x/tutorial/pulls/6/comments","review_comment_url":"https://api.github.com/repos/fireball-x/tutorial/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fireball-x/tutorial/issues/6/comments","statuses_url":"https://api.github.com/repos/fireball-x/tutorial/statuses/06c5bf9378d9ea4bf7dcb60399450eae0fed9d36","head":{"label":"fireball-x:step-3","ref":"step-3","sha":"06c5bf9378d9ea4bf7dcb60399450eae0fed9d36","user":{"login":"fireball-x","id":6937061,"avatar_url":"https://avatars.githubusercontent.com/u/6937061?v=3","gravatar_id":"","url":"https://api.github.com/users/fireball-x","html_url":"https://github.com/fireball-x","followers_url":"https://api.github.com/users/fireball-x/followers","following_url":"https://api.github.com/users/fireball-x/following{/other_user}","gists_url":"https://api.github.com/users/fireball-x/gists{/gist_id}","starred_url":"https://api.github.com/users/fireball-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fireball-x/subscriptions","organizations_url":"https://api.github.com/users/fireball-x/orgs","repos_url":"https://api.github.com/users/fireball-x/repos","events_url":"https://api.github.com/users/fireball-x/events{/privacy}","received_events_url":"https://api.github.com/users/fireball-x/received_events","type":"Organization","site_admin":false},"repo":{"id":32501206,"name":"tutorial","full_name":"fireball-x/tutorial","owner":{"login":"fireball-x","id":6937061,"avatar_url":"https://avatars.githubusercontent.com/u/6937061?v=3","gravatar_id":"","url":"https://api.github.com/users/fireball-x","html_url":"https://github.com/fireball-x","followers_url":"https://api.github.com/users/fireball-x/followers","following_url":"https://api.github.com/users/fireball-x/following{/other_user}","gists_url":"https://api.github.com/users/fireball-x/gists{/gist_id}","starred_url":"https://api.github.com/users/fireball-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fireball-x/subscriptions","organizations_url":"https://api.github.com/users/fireball-x/orgs","repos_url":"https://api.github.com/users/fireball-x/repos","events_url":"https://api.github.com/users/fireball-x/events{/privacy}","received_events_url":"https://api.github.com/users/fireball-x/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fireball-x/tutorial","description":"tutorial repo","fork":false,"url":"https://api.github.com/repos/fireball-x/tutorial","forks_url":"https://api.github.com/repos/fireball-x/tutorial/forks","keys_url":"https://api.github.com/repos/fireball-x/tutorial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fireball-x/tutorial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fireball-x/tutorial/teams","hooks_url":"https://api.github.com/repos/fireball-x/tutorial/hooks","issue_events_url":"https://api.github.com/repos/fireball-x/tutorial/issues/events{/number}","events_url":"https://api.github.com/repos/fireball-x/tutorial/events","assignees_url":"https://api.github.com/repos/fireball-x/tutorial/assignees{/user}","branches_url":"https://api.github.com/repos/fireball-x/tutorial/branches{/branch}","tags_url":"https://api.github.com/repos/fireball-x/tutorial/tags","blobs_url":"https://api.github.com/repos/fireball-x/tutorial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fireball-x/tutorial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fireball-x/tutorial/git/refs{/sha}","trees_url":"https://api.github.com/repos/fireball-x/tutorial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fireball-x/tutorial/statuses/{sha}","languages_url":"https://api.github.com/repos/fireball-x/tutorial/languages","stargazers_url":"https://api.github.com/repos/fireball-x/tutorial/stargazers","contributors_url":"https://api.github.com/repos/fireball-x/tutorial/contributors","subscribers_url":"https://api.github.com/repos/fireball-x/tutorial/subscribers","subscription_url":"https://api.github.com/repos/fireball-x/tutorial/subscription","commits_url":"https://api.github.com/repos/fireball-x/tutorial/commits{/sha}","git_commits_url":"https://api.github.com/repos/fireball-x/tutorial/git/commits{/sha}","comments_url":"https://api.github.com/repos/fireball-x/tutorial/comments{/number}","issue_comment_url":"https://api.github.com/repos/fireball-x/tutorial/issues/comments{/number}","contents_url":"https://api.github.com/repos/fireball-x/tutorial/contents/{+path}","compare_url":"https://api.github.com/repos/fireball-x/tutorial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fireball-x/tutorial/merges","archive_url":"https://api.github.com/repos/fireball-x/tutorial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fireball-x/tutorial/downloads","issues_url":"https://api.github.com/repos/fireball-x/tutorial/issues{/number}","pulls_url":"https://api.github.com/repos/fireball-x/tutorial/pulls{/number}","milestones_url":"https://api.github.com/repos/fireball-x/tutorial/milestones{/number}","notifications_url":"https://api.github.com/repos/fireball-x/tutorial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fireball-x/tutorial/labels{/name}","releases_url":"https://api.github.com/repos/fireball-x/tutorial/releases{/id}","created_at":"2015-03-19T04:42:17Z","updated_at":"2015-03-24T03:39:22Z","pushed_at":"2015-03-24T04:42:34Z","git_url":"git://github.com/fireball-x/tutorial.git","ssh_url":"git@github.com:fireball-x/tutorial.git","clone_url":"https://github.com/fireball-x/tutorial.git","svn_url":"https://github.com/fireball-x/tutorial","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"fireball-x:master","ref":"master","sha":"102c0384ae48de3b04d0fe358719c6892d68a8d1","user":{"login":"fireball-x","id":6937061,"avatar_url":"https://avatars.githubusercontent.com/u/6937061?v=3","gravatar_id":"","url":"https://api.github.com/users/fireball-x","html_url":"https://github.com/fireball-x","followers_url":"https://api.github.com/users/fireball-x/followers","following_url":"https://api.github.com/users/fireball-x/following{/other_user}","gists_url":"https://api.github.com/users/fireball-x/gists{/gist_id}","starred_url":"https://api.github.com/users/fireball-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fireball-x/subscriptions","organizations_url":"https://api.github.com/users/fireball-x/orgs","repos_url":"https://api.github.com/users/fireball-x/repos","events_url":"https://api.github.com/users/fireball-x/events{/privacy}","received_events_url":"https://api.github.com/users/fireball-x/received_events","type":"Organization","site_admin":false},"repo":{"id":32501206,"name":"tutorial","full_name":"fireball-x/tutorial","owner":{"login":"fireball-x","id":6937061,"avatar_url":"https://avatars.githubusercontent.com/u/6937061?v=3","gravatar_id":"","url":"https://api.github.com/users/fireball-x","html_url":"https://github.com/fireball-x","followers_url":"https://api.github.com/users/fireball-x/followers","following_url":"https://api.github.com/users/fireball-x/following{/other_user}","gists_url":"https://api.github.com/users/fireball-x/gists{/gist_id}","starred_url":"https://api.github.com/users/fireball-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fireball-x/subscriptions","organizations_url":"https://api.github.com/users/fireball-x/orgs","repos_url":"https://api.github.com/users/fireball-x/repos","events_url":"https://api.github.com/users/fireball-x/events{/privacy}","received_events_url":"https://api.github.com/users/fireball-x/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fireball-x/tutorial","description":"tutorial repo","fork":false,"url":"https://api.github.com/repos/fireball-x/tutorial","forks_url":"https://api.github.com/repos/fireball-x/tutorial/forks","keys_url":"https://api.github.com/repos/fireball-x/tutorial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fireball-x/tutorial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fireball-x/tutorial/teams","hooks_url":"https://api.github.com/repos/fireball-x/tutorial/hooks","issue_events_url":"https://api.github.com/repos/fireball-x/tutorial/issues/events{/number}","events_url":"https://api.github.com/repos/fireball-x/tutorial/events","assignees_url":"https://api.github.com/repos/fireball-x/tutorial/assignees{/user}","branches_url":"https://api.github.com/repos/fireball-x/tutorial/branches{/branch}","tags_url":"https://api.github.com/repos/fireball-x/tutorial/tags","blobs_url":"https://api.github.com/repos/fireball-x/tutorial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fireball-x/tutorial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fireball-x/tutorial/git/refs{/sha}","trees_url":"https://api.github.com/repos/fireball-x/tutorial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fireball-x/tutorial/statuses/{sha}","languages_url":"https://api.github.com/repos/fireball-x/tutorial/languages","stargazers_url":"https://api.github.com/repos/fireball-x/tutorial/stargazers","contributors_url":"https://api.github.com/repos/fireball-x/tutorial/contributors","subscribers_url":"https://api.github.com/repos/fireball-x/tutorial/subscribers","subscription_url":"https://api.github.com/repos/fireball-x/tutorial/subscription","commits_url":"https://api.github.com/repos/fireball-x/tutorial/commits{/sha}","git_commits_url":"https://api.github.com/repos/fireball-x/tutorial/git/commits{/sha}","comments_url":"https://api.github.com/repos/fireball-x/tutorial/comments{/number}","issue_comment_url":"https://api.github.com/repos/fireball-x/tutorial/issues/comments{/number}","contents_url":"https://api.github.com/repos/fireball-x/tutorial/contents/{+path}","compare_url":"https://api.github.com/repos/fireball-x/tutorial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fireball-x/tutorial/merges","archive_url":"https://api.github.com/repos/fireball-x/tutorial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fireball-x/tutorial/downloads","issues_url":"https://api.github.com/repos/fireball-x/tutorial/issues{/number}","pulls_url":"https://api.github.com/repos/fireball-x/tutorial/pulls{/number}","milestones_url":"https://api.github.com/repos/fireball-x/tutorial/milestones{/number}","notifications_url":"https://api.github.com/repos/fireball-x/tutorial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fireball-x/tutorial/labels{/name}","releases_url":"https://api.github.com/repos/fireball-x/tutorial/releases{/id}","created_at":"2015-03-19T04:42:17Z","updated_at":"2015-03-24T03:39:22Z","pushed_at":"2015-03-24T04:42:34Z","git_url":"git://github.com/fireball-x/tutorial.git","ssh_url":"git@github.com:fireball-x/tutorial.git","clone_url":"https://github.com/fireball-x/tutorial.git","svn_url":"https://github.com/fireball-x/tutorial","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fireball-x/tutorial/pulls/6"},"html":{"href":"https://github.com/fireball-x/tutorial/pull/6"},"issue":{"href":"https://api.github.com/repos/fireball-x/tutorial/issues/6"},"comments":{"href":"https://api.github.com/repos/fireball-x/tutorial/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/fireball-x/tutorial/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/fireball-x/tutorial/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fireball-x/tutorial/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/fireball-x/tutorial/statuses/06c5bf9378d9ea4bf7dcb60399450eae0fed9d36"}}}}