{"action":"created","comment":{"url":"https://api.github.com/repos/fireball-x/engine/pulls/comments/31215797","id":31215797,"diff_hunk":"@@ -783,15 +805,38 @@ var ParticleSystem = (function () {\n                     this._isAutoRemoveOnFinish = value;\n                     ParticleRuntime.setMain(this);\n                 }\n+            },\n+            /**\n+             * !#en If set to true, the particle system will automatically start playing on onLoad.\n+             * !#zh 如果设置为true 运行时会自动发射粒子\n+             * @property playOnLoad\n+             * @type {boolean}\n+             * @default true\n+             */\n+            playOnLoad: true\n+        },\n+\n+        /**\n+         * !#en reset emission rate\n+         * !#zh 重置每秒喷发的粒子数目\n+         * @method play\n+         */\n+        resetEmissionRate: function (maxParticles, life) {","path":"src/component/particle-system/particle-system.js","position":94,"original_position":94,"commit_id":"8bbcc675f292d4bd607eb8158ae476087d14cc80","original_commit_id":"8bbcc675f292d4bd607eb8158ae476087d14cc80","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":"并且不建议传入两个新的参数。否则这个 api 解释不清楚这两个参数是否会修改 this._maxParticles 和 this._life","created_at":"2015-05-28T09:16:56Z","updated_at":"2015-05-28T09:16:56Z","html_url":"https://github.com/fireball-x/engine/pull/90#discussion_r31215797","pull_request_url":"https://api.github.com/repos/fireball-x/engine/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/fireball-x/engine/pulls/comments/31215797"},"html":{"href":"https://github.com/fireball-x/engine/pull/90#discussion_r31215797"},"pull_request":{"href":"https://api.github.com/repos/fireball-x/engine/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/fireball-x/engine/pulls/90","id":36376272,"html_url":"https://github.com/fireball-x/engine/pull/90","diff_url":"https://github.com/fireball-x/engine/pull/90.diff","patch_url":"https://github.com/fireball-x/engine/pull/90.patch","issue_url":"https://api.github.com/repos/fireball-x/engine/issues/90","number":90,"state":"open","locked":false,"title":"update fireball-x/dev#704: ParticleSystem 问题改进","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-05-28T06:44:41Z","updated_at":"2015-05-28T09:16:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5638de22243dcf6eb402a8abbb6467f860e763c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fireball-x/engine/pulls/90/commits","review_comments_url":"https://api.github.com/repos/fireball-x/engine/pulls/90/comments","review_comment_url":"https://api.github.com/repos/fireball-x/engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fireball-x/engine/issues/90/comments","statuses_url":"https://api.github.com/repos/fireball-x/engine/statuses/8bbcc675f292d4bd607eb8158ae476087d14cc80","head":{"label":"knoxHuang:dev","ref":"dev","sha":"8bbcc675f292d4bd607eb8158ae476087d14cc80","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},"repo":{"id":28794247,"name":"engine","full_name":"knoxHuang/engine","owner":{"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},"private":false,"html_url":"https://github.com/knoxHuang/engine","description":"The fireball engine","fork":true,"url":"https://api.github.com/repos/knoxHuang/engine","forks_url":"https://api.github.com/repos/knoxHuang/engine/forks","keys_url":"https://api.github.com/repos/knoxHuang/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knoxHuang/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knoxHuang/engine/teams","hooks_url":"https://api.github.com/repos/knoxHuang/engine/hooks","issue_events_url":"https://api.github.com/repos/knoxHuang/engine/issues/events{/number}","events_url":"https://api.github.com/repos/knoxHuang/engine/events","assignees_url":"https://api.github.com/repos/knoxHuang/engine/assignees{/user}","branches_url":"https://api.github.com/repos/knoxHuang/engine/branches{/branch}","tags_url":"https://api.github.com/repos/knoxHuang/engine/tags","blobs_url":"https://api.github.com/repos/knoxHuang/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knoxHuang/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knoxHuang/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/knoxHuang/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knoxHuang/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/knoxHuang/engine/languages","stargazers_url":"https://api.github.com/repos/knoxHuang/engine/stargazers","contributors_url":"https://api.github.com/repos/knoxHuang/engine/contributors","subscribers_url":"https://api.github.com/repos/knoxHuang/engine/subscribers","subscription_url":"https://api.github.com/repos/knoxHuang/engine/subscription","commits_url":"https://api.github.com/repos/knoxHuang/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/knoxHuang/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/knoxHuang/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/knoxHuang/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/knoxHuang/engine/contents/{+path}","compare_url":"https://api.github.com/repos/knoxHuang/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knoxHuang/engine/merges","archive_url":"https://api.github.com/repos/knoxHuang/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knoxHuang/engine/downloads","issues_url":"https://api.github.com/repos/knoxHuang/engine/issues{/number}","pulls_url":"https://api.github.com/repos/knoxHuang/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/knoxHuang/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/knoxHuang/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knoxHuang/engine/labels{/name}","releases_url":"https://api.github.com/repos/knoxHuang/engine/releases{/id}","created_at":"2015-01-05T02:38:04Z","updated_at":"2015-04-17T09:47:11Z","pushed_at":"2015-05-28T09:07:37Z","git_url":"git://github.com/knoxHuang/engine.git","ssh_url":"git@github.com:knoxHuang/engine.git","clone_url":"https://github.com/knoxHuang/engine.git","svn_url":"https://github.com/knoxHuang/engine","homepage":null,"size":1640,"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":"fireball-x:dev","ref":"dev","sha":"506a27c164370a09ad31302cee96e2b643907225","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":19685533,"name":"engine","full_name":"fireball-x/engine","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/engine","description":"The fireball engine","fork":false,"url":"https://api.github.com/repos/fireball-x/engine","forks_url":"https://api.github.com/repos/fireball-x/engine/forks","keys_url":"https://api.github.com/repos/fireball-x/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fireball-x/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fireball-x/engine/teams","hooks_url":"https://api.github.com/repos/fireball-x/engine/hooks","issue_events_url":"https://api.github.com/repos/fireball-x/engine/issues/events{/number}","events_url":"https://api.github.com/repos/fireball-x/engine/events","assignees_url":"https://api.github.com/repos/fireball-x/engine/assignees{/user}","branches_url":"https://api.github.com/repos/fireball-x/engine/branches{/branch}","tags_url":"https://api.github.com/repos/fireball-x/engine/tags","blobs_url":"https://api.github.com/repos/fireball-x/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fireball-x/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fireball-x/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/fireball-x/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fireball-x/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/fireball-x/engine/languages","stargazers_url":"https://api.github.com/repos/fireball-x/engine/stargazers","contributors_url":"https://api.github.com/repos/fireball-x/engine/contributors","subscribers_url":"https://api.github.com/repos/fireball-x/engine/subscribers","subscription_url":"https://api.github.com/repos/fireball-x/engine/subscription","commits_url":"https://api.github.com/repos/fireball-x/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/fireball-x/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/fireball-x/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/fireball-x/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/fireball-x/engine/contents/{+path}","compare_url":"https://api.github.com/repos/fireball-x/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fireball-x/engine/merges","archive_url":"https://api.github.com/repos/fireball-x/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fireball-x/engine/downloads","issues_url":"https://api.github.com/repos/fireball-x/engine/issues{/number}","pulls_url":"https://api.github.com/repos/fireball-x/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/fireball-x/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/fireball-x/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fireball-x/engine/labels{/name}","releases_url":"https://api.github.com/repos/fireball-x/engine/releases{/id}","created_at":"2014-05-12T04:10:28Z","updated_at":"2015-05-18T05:10:02Z","pushed_at":"2015-05-28T09:07:38Z","git_url":"git://github.com/fireball-x/engine.git","ssh_url":"git@github.com:fireball-x/engine.git","clone_url":"https://github.com/fireball-x/engine.git","svn_url":"https://github.com/fireball-x/engine","homepage":null,"size":3429,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fireball-x/engine/pulls/90"},"html":{"href":"https://github.com/fireball-x/engine/pull/90"},"issue":{"href":"https://api.github.com/repos/fireball-x/engine/issues/90"},"comments":{"href":"https://api.github.com/repos/fireball-x/engine/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/fireball-x/engine/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/fireball-x/engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fireball-x/engine/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/fireball-x/engine/statuses/8bbcc675f292d4bd607eb8158ae476087d14cc80"}}}}