{"action":"created","issue":{"url":"https://api.github.com/repos/regularjs/regular/issues/152","repository_url":"https://api.github.com/repos/regularjs/regular","labels_url":"https://api.github.com/repos/regularjs/regular/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/regularjs/regular/issues/152/comments","events_url":"https://api.github.com/repos/regularjs/regular/issues/152/events","html_url":"https://github.com/regularjs/regular/pull/152","id":200345096,"number":152,"title":"修复calls函数中调用$off引起calls列表报错的bug","user":{"login":"AlfredMou","id":9381681,"avatar_url":"https://avatars.githubusercontent.com/u/9381681?v=3","gravatar_id":"","url":"https://api.github.com/users/AlfredMou","html_url":"https://github.com/AlfredMou","followers_url":"https://api.github.com/users/AlfredMou/followers","following_url":"https://api.github.com/users/AlfredMou/following{/other_user}","gists_url":"https://api.github.com/users/AlfredMou/gists{/gist_id}","starred_url":"https://api.github.com/users/AlfredMou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlfredMou/subscriptions","organizations_url":"https://api.github.com/users/AlfredMou/orgs","repos_url":"https://api.github.com/users/AlfredMou/repos","events_url":"https://api.github.com/users/AlfredMou/events{/privacy}","received_events_url":"https://api.github.com/users/AlfredMou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-12T11:39:09Z","updated_at":"2017-01-13T01:56:46Z","closed_at":"2017-01-13T01:49:15Z","pull_request":{"url":"https://api.github.com/repos/regularjs/regular/pulls/152","html_url":"https://github.com/regularjs/regular/pull/152","diff_url":"https://github.com/regularjs/regular/pull/152.diff","patch_url":"https://github.com/regularjs/regular/pull/152.patch"},"body":"如下调用会引发bug\r\nthis.$once(\"test\",function () {\r\n      console.log(0);\r\n});\r\nthis.$once(\"test\",function () {\r\n      console.log(0);\r\n});\r\nthis.$emit(\"test\");\r\n\r\n主要是还在calls调用阶段就移除了calls队列里的调用函数，这里通过setTimeout把函数移除放到队列调用之后"},"comment":{"url":"https://api.github.com/repos/regularjs/regular/issues/comments/272340399","html_url":"https://github.com/regularjs/regular/pull/152#issuecomment-272340399","issue_url":"https://api.github.com/repos/regularjs/regular/issues/152","id":272340399,"user":{"login":"leeluolee","id":731333,"avatar_url":"https://avatars.githubusercontent.com/u/731333?v=3","gravatar_id":"","url":"https://api.github.com/users/leeluolee","html_url":"https://github.com/leeluolee","followers_url":"https://api.github.com/users/leeluolee/followers","following_url":"https://api.github.com/users/leeluolee/following{/other_user}","gists_url":"https://api.github.com/users/leeluolee/gists{/gist_id}","starred_url":"https://api.github.com/users/leeluolee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeluolee/subscriptions","organizations_url":"https://api.github.com/users/leeluolee/orgs","repos_url":"https://api.github.com/users/leeluolee/repos","events_url":"https://api.github.com/users/leeluolee/events{/privacy}","received_events_url":"https://api.github.com/users/leeluolee/received_events","type":"User","site_admin":false},"created_at":"2017-01-13T01:56:46Z","updated_at":"2017-01-13T01:56:46Z","body":"@AlfredMou  PR可以发到next分支"}}
{"actor":{"display_login":"leeluolee"}}