{"action":"created","comment":{"url":"https://api.github.com/repos/xicilion/fibjs/pulls/comments/37172995","id":37172995,"diff_hunk":"@@ -58,7 +58,7 @@ void SandBox::initRoot()\n \n     InstallNativeModule(\"test\", test_base::class_info());\n     InstallNativeModule(\"assert\", assert_base::class_info());\n-    InstallModule(\"expect\", v8::Function::New(Isolate::now()->m_isolate, test_base::s_expect));\n+    InstallModule(\"expect\", createV8Function(\"SandBox_initRoot_expect\", Isolate::now()->m_isolate, test_base::s_expect));","path":"fibjs/src/sandbox/SandBox_root.cpp","position":5,"original_position":5,"commit_id":"7caee018dcd4c0c477ac8f344f8e29699b2068e0","original_commit_id":"7caee018dcd4c0c477ac8f344f8e29699b2068e0","user":{"login":"xicilion","id":1694747,"avatar_url":"https://avatars.githubusercontent.com/u/1694747?v=3","gravatar_id":"","url":"https://api.github.com/users/xicilion","html_url":"https://github.com/xicilion","followers_url":"https://api.github.com/users/xicilion/followers","following_url":"https://api.github.com/users/xicilion/following{/other_user}","gists_url":"https://api.github.com/users/xicilion/gists{/gist_id}","starred_url":"https://api.github.com/users/xicilion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xicilion/subscriptions","organizations_url":"https://api.github.com/users/xicilion/orgs","repos_url":"https://api.github.com/users/xicilion/repos","events_url":"https://api.github.com/users/xicilion/events{/privacy}","received_events_url":"https://api.github.com/users/xicilion/received_events","type":"User","site_admin":false},"body":"这个命名规则过于复杂，直接使用 expect 即可","created_at":"2015-08-17T09:57:19Z","updated_at":"2015-08-17T09:57:19Z","html_url":"https://github.com/xicilion/fibjs/pull/84#discussion_r37172995","pull_request_url":"https://api.github.com/repos/xicilion/fibjs/pulls/84","_links":{"self":{"href":"https://api.github.com/repos/xicilion/fibjs/pulls/comments/37172995"},"html":{"href":"https://github.com/xicilion/fibjs/pull/84#discussion_r37172995"},"pull_request":{"href":"https://api.github.com/repos/xicilion/fibjs/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/xicilion/fibjs/pulls/84","id":42560006,"html_url":"https://github.com/xicilion/fibjs/pull/84","diff_url":"https://github.com/xicilion/fibjs/pull/84.diff","patch_url":"https://github.com/xicilion/fibjs/pull/84.patch","issue_url":"https://api.github.com/repos/xicilion/fibjs/issues/84","number":84,"state":"open","locked":false,"title":"为fibjs的匿名函数增加可视名称","user":{"login":"verdantyang","id":9146345,"avatar_url":"https://avatars.githubusercontent.com/u/9146345?v=3","gravatar_id":"","url":"https://api.github.com/users/verdantyang","html_url":"https://github.com/verdantyang","followers_url":"https://api.github.com/users/verdantyang/followers","following_url":"https://api.github.com/users/verdantyang/following{/other_user}","gists_url":"https://api.github.com/users/verdantyang/gists{/gist_id}","starred_url":"https://api.github.com/users/verdantyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verdantyang/subscriptions","organizations_url":"https://api.github.com/users/verdantyang/orgs","repos_url":"https://api.github.com/users/verdantyang/repos","events_url":"https://api.github.com/users/verdantyang/events{/privacy}","received_events_url":"https://api.github.com/users/verdantyang/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-17T07:18:17Z","updated_at":"2015-08-17T09:57:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d7b311c44a4a2e75bd489f71d41f65ee872ac22","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xicilion/fibjs/pulls/84/commits","review_comments_url":"https://api.github.com/repos/xicilion/fibjs/pulls/84/comments","review_comment_url":"https://api.github.com/repos/xicilion/fibjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xicilion/fibjs/issues/84/comments","statuses_url":"https://api.github.com/repos/xicilion/fibjs/statuses/7caee018dcd4c0c477ac8f344f8e29699b2068e0","head":{"label":"verdantyang:func_anonymous","ref":"func_anonymous","sha":"7caee018dcd4c0c477ac8f344f8e29699b2068e0","user":{"login":"verdantyang","id":9146345,"avatar_url":"https://avatars.githubusercontent.com/u/9146345?v=3","gravatar_id":"","url":"https://api.github.com/users/verdantyang","html_url":"https://github.com/verdantyang","followers_url":"https://api.github.com/users/verdantyang/followers","following_url":"https://api.github.com/users/verdantyang/following{/other_user}","gists_url":"https://api.github.com/users/verdantyang/gists{/gist_id}","starred_url":"https://api.github.com/users/verdantyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verdantyang/subscriptions","organizations_url":"https://api.github.com/users/verdantyang/orgs","repos_url":"https://api.github.com/users/verdantyang/repos","events_url":"https://api.github.com/users/verdantyang/events{/privacy}","received_events_url":"https://api.github.com/users/verdantyang/received_events","type":"User","site_admin":false},"repo":{"id":28769123,"name":"fibjs","full_name":"verdantyang/fibjs","owner":{"login":"verdantyang","id":9146345,"avatar_url":"https://avatars.githubusercontent.com/u/9146345?v=3","gravatar_id":"","url":"https://api.github.com/users/verdantyang","html_url":"https://github.com/verdantyang","followers_url":"https://api.github.com/users/verdantyang/followers","following_url":"https://api.github.com/users/verdantyang/following{/other_user}","gists_url":"https://api.github.com/users/verdantyang/gists{/gist_id}","starred_url":"https://api.github.com/users/verdantyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verdantyang/subscriptions","organizations_url":"https://api.github.com/users/verdantyang/orgs","repos_url":"https://api.github.com/users/verdantyang/repos","events_url":"https://api.github.com/users/verdantyang/events{/privacy}","received_events_url":"https://api.github.com/users/verdantyang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/verdantyang/fibjs","description":"Javascript on Fiber","fork":true,"url":"https://api.github.com/repos/verdantyang/fibjs","forks_url":"https://api.github.com/repos/verdantyang/fibjs/forks","keys_url":"https://api.github.com/repos/verdantyang/fibjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/verdantyang/fibjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/verdantyang/fibjs/teams","hooks_url":"https://api.github.com/repos/verdantyang/fibjs/hooks","issue_events_url":"https://api.github.com/repos/verdantyang/fibjs/issues/events{/number}","events_url":"https://api.github.com/repos/verdantyang/fibjs/events","assignees_url":"https://api.github.com/repos/verdantyang/fibjs/assignees{/user}","branches_url":"https://api.github.com/repos/verdantyang/fibjs/branches{/branch}","tags_url":"https://api.github.com/repos/verdantyang/fibjs/tags","blobs_url":"https://api.github.com/repos/verdantyang/fibjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/verdantyang/fibjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/verdantyang/fibjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/verdantyang/fibjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/verdantyang/fibjs/statuses/{sha}","languages_url":"https://api.github.com/repos/verdantyang/fibjs/languages","stargazers_url":"https://api.github.com/repos/verdantyang/fibjs/stargazers","contributors_url":"https://api.github.com/repos/verdantyang/fibjs/contributors","subscribers_url":"https://api.github.com/repos/verdantyang/fibjs/subscribers","subscription_url":"https://api.github.com/repos/verdantyang/fibjs/subscription","commits_url":"https://api.github.com/repos/verdantyang/fibjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/verdantyang/fibjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/verdantyang/fibjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/verdantyang/fibjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/verdantyang/fibjs/contents/{+path}","compare_url":"https://api.github.com/repos/verdantyang/fibjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/verdantyang/fibjs/merges","archive_url":"https://api.github.com/repos/verdantyang/fibjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/verdantyang/fibjs/downloads","issues_url":"https://api.github.com/repos/verdantyang/fibjs/issues{/number}","pulls_url":"https://api.github.com/repos/verdantyang/fibjs/pulls{/number}","milestones_url":"https://api.github.com/repos/verdantyang/fibjs/milestones{/number}","notifications_url":"https://api.github.com/repos/verdantyang/fibjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/verdantyang/fibjs/labels{/name}","releases_url":"https://api.github.com/repos/verdantyang/fibjs/releases{/id}","created_at":"2015-01-04T08:42:17Z","updated_at":"2015-01-04T08:43:27Z","pushed_at":"2015-08-17T09:08:06Z","git_url":"git://github.com/verdantyang/fibjs.git","ssh_url":"git@github.com:verdantyang/fibjs.git","clone_url":"https://github.com/verdantyang/fibjs.git","svn_url":"https://github.com/verdantyang/fibjs","homepage":"http://fibjs.org","size":84229,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"xicilion:master","ref":"master","sha":"ba06976535ce814f2dd139daab0fa9388220f83c","user":{"login":"xicilion","id":1694747,"avatar_url":"https://avatars.githubusercontent.com/u/1694747?v=3","gravatar_id":"","url":"https://api.github.com/users/xicilion","html_url":"https://github.com/xicilion","followers_url":"https://api.github.com/users/xicilion/followers","following_url":"https://api.github.com/users/xicilion/following{/other_user}","gists_url":"https://api.github.com/users/xicilion/gists{/gist_id}","starred_url":"https://api.github.com/users/xicilion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xicilion/subscriptions","organizations_url":"https://api.github.com/users/xicilion/orgs","repos_url":"https://api.github.com/users/xicilion/repos","events_url":"https://api.github.com/users/xicilion/events{/privacy}","received_events_url":"https://api.github.com/users/xicilion/received_events","type":"User","site_admin":false},"repo":{"id":19540706,"name":"fibjs","full_name":"xicilion/fibjs","owner":{"login":"xicilion","id":1694747,"avatar_url":"https://avatars.githubusercontent.com/u/1694747?v=3","gravatar_id":"","url":"https://api.github.com/users/xicilion","html_url":"https://github.com/xicilion","followers_url":"https://api.github.com/users/xicilion/followers","following_url":"https://api.github.com/users/xicilion/following{/other_user}","gists_url":"https://api.github.com/users/xicilion/gists{/gist_id}","starred_url":"https://api.github.com/users/xicilion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xicilion/subscriptions","organizations_url":"https://api.github.com/users/xicilion/orgs","repos_url":"https://api.github.com/users/xicilion/repos","events_url":"https://api.github.com/users/xicilion/events{/privacy}","received_events_url":"https://api.github.com/users/xicilion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xicilion/fibjs","description":"JavaScript on Fiber","fork":false,"url":"https://api.github.com/repos/xicilion/fibjs","forks_url":"https://api.github.com/repos/xicilion/fibjs/forks","keys_url":"https://api.github.com/repos/xicilion/fibjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xicilion/fibjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xicilion/fibjs/teams","hooks_url":"https://api.github.com/repos/xicilion/fibjs/hooks","issue_events_url":"https://api.github.com/repos/xicilion/fibjs/issues/events{/number}","events_url":"https://api.github.com/repos/xicilion/fibjs/events","assignees_url":"https://api.github.com/repos/xicilion/fibjs/assignees{/user}","branches_url":"https://api.github.com/repos/xicilion/fibjs/branches{/branch}","tags_url":"https://api.github.com/repos/xicilion/fibjs/tags","blobs_url":"https://api.github.com/repos/xicilion/fibjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xicilion/fibjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xicilion/fibjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/xicilion/fibjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xicilion/fibjs/statuses/{sha}","languages_url":"https://api.github.com/repos/xicilion/fibjs/languages","stargazers_url":"https://api.github.com/repos/xicilion/fibjs/stargazers","contributors_url":"https://api.github.com/repos/xicilion/fibjs/contributors","subscribers_url":"https://api.github.com/repos/xicilion/fibjs/subscribers","subscription_url":"https://api.github.com/repos/xicilion/fibjs/subscription","commits_url":"https://api.github.com/repos/xicilion/fibjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/xicilion/fibjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/xicilion/fibjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/xicilion/fibjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/xicilion/fibjs/contents/{+path}","compare_url":"https://api.github.com/repos/xicilion/fibjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xicilion/fibjs/merges","archive_url":"https://api.github.com/repos/xicilion/fibjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xicilion/fibjs/downloads","issues_url":"https://api.github.com/repos/xicilion/fibjs/issues{/number}","pulls_url":"https://api.github.com/repos/xicilion/fibjs/pulls{/number}","milestones_url":"https://api.github.com/repos/xicilion/fibjs/milestones{/number}","notifications_url":"https://api.github.com/repos/xicilion/fibjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xicilion/fibjs/labels{/name}","releases_url":"https://api.github.com/repos/xicilion/fibjs/releases{/id}","created_at":"2014-05-07T15:52:46Z","updated_at":"2015-08-17T09:50:42Z","pushed_at":"2015-08-17T09:09:14Z","git_url":"git://github.com/xicilion/fibjs.git","ssh_url":"git@github.com:xicilion/fibjs.git","clone_url":"https://github.com/xicilion/fibjs.git","svn_url":"https://github.com/xicilion/fibjs","homepage":"http://fibjs.org","size":88647,"stargazers_count":1400,"watchers_count":1400,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":208,"mirror_url":null,"open_issues_count":4,"forks":208,"open_issues":4,"watchers":1400,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xicilion/fibjs/pulls/84"},"html":{"href":"https://github.com/xicilion/fibjs/pull/84"},"issue":{"href":"https://api.github.com/repos/xicilion/fibjs/issues/84"},"comments":{"href":"https://api.github.com/repos/xicilion/fibjs/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/xicilion/fibjs/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/xicilion/fibjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xicilion/fibjs/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/xicilion/fibjs/statuses/7caee018dcd4c0c477ac8f344f8e29699b2068e0"}}}}