{"action":"created","comment":{"url":"https://api.github.com/repos/antvis/util/pulls/comments/190155867","pull_request_review_id":122472070,"id":190155867,"diff_hunk":"@@ -4,6 +4,7 @@ module.exports = {\n   mathUtil: require('./math'),\n   objectUtil: require('./object'),\n   stringUtil: require('./string'),\n+  typeUtil: require('./type/index'),","path":"src/index.js","position":4,"original_position":4,"commit_id":"f14634f344b8fbf73cafd6f3762a5142fad668ce","original_commit_id":"5ec2e3f530a6b396558b6784a07762e36b304125","user":{"login":"dxq613","id":1264678,"avatar_url":"https://avatars1.githubusercontent.com/u/1264678?v=4","gravatar_id":"","url":"https://api.github.com/users/dxq613","html_url":"https://github.com/dxq613","followers_url":"https://api.github.com/users/dxq613/followers","following_url":"https://api.github.com/users/dxq613/following{/other_user}","gists_url":"https://api.github.com/users/dxq613/gists{/gist_id}","starred_url":"https://api.github.com/users/dxq613/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dxq613/subscriptions","organizations_url":"https://api.github.com/users/dxq613/orgs","repos_url":"https://api.github.com/users/dxq613/repos","events_url":"https://api.github.com/users/dxq613/events{/privacy}","received_events_url":"https://api.github.com/users/dxq613/received_events","type":"User","site_admin":false},"body":"其实没必要有 mathUtil ，这类的了，文件夹只是为了组织文件而已，直接在 index 上，require('./xxx/xxx') 就行了,用户不想用 index.js 的话，直接在代码里面单独引用把 require('util/math/xxx')","created_at":"2018-05-23T08:05:45Z","updated_at":"2018-05-23T08:05:45Z","html_url":"https://github.com/antvis/util/pull/2#discussion_r190155867","pull_request_url":"https://api.github.com/repos/antvis/util/pulls/2","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/antvis/util/pulls/comments/190155867"},"html":{"href":"https://github.com/antvis/util/pull/2#discussion_r190155867"},"pull_request":{"href":"https://api.github.com/repos/antvis/util/pulls/2"}},"in_reply_to_id":190152411},"pull_request":{"url":"https://api.github.com/repos/antvis/util/pulls/2","id":189881212,"html_url":"https://github.com/antvis/util/pull/2","diff_url":"https://github.com/antvis/util/pull/2.diff","patch_url":"https://github.com/antvis/util/pull/2.patch","issue_url":"https://api.github.com/repos/antvis/util/issues/2","number":2,"state":"open","locked":false,"title":"Chore","user":{"login":"elaine1234","id":8325822,"avatar_url":"https://avatars3.githubusercontent.com/u/8325822?v=4","gravatar_id":"","url":"https://api.github.com/users/elaine1234","html_url":"https://github.com/elaine1234","followers_url":"https://api.github.com/users/elaine1234/followers","following_url":"https://api.github.com/users/elaine1234/following{/other_user}","gists_url":"https://api.github.com/users/elaine1234/gists{/gist_id}","starred_url":"https://api.github.com/users/elaine1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elaine1234/subscriptions","organizations_url":"https://api.github.com/users/elaine1234/orgs","repos_url":"https://api.github.com/users/elaine1234/repos","events_url":"https://api.github.com/users/elaine1234/events{/privacy}","received_events_url":"https://api.github.com/users/elaine1234/received_events","type":"User","site_admin":false},"body":"- 修改package.json中入口\r\n- 修改typeUtil引用上的一些问题","created_at":"2018-05-23T07:35:14Z","updated_at":"2018-05-23T08:05:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a6c87b256cc79b30f22126e8c83bfd8e9a901ff","assignee":{"login":"leungwensen","id":1655789,"avatar_url":"https://avatars1.githubusercontent.com/u/1655789?v=4","gravatar_id":"","url":"https://api.github.com/users/leungwensen","html_url":"https://github.com/leungwensen","followers_url":"https://api.github.com/users/leungwensen/followers","following_url":"https://api.github.com/users/leungwensen/following{/other_user}","gists_url":"https://api.github.com/users/leungwensen/gists{/gist_id}","starred_url":"https://api.github.com/users/leungwensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leungwensen/subscriptions","organizations_url":"https://api.github.com/users/leungwensen/orgs","repos_url":"https://api.github.com/users/leungwensen/repos","events_url":"https://api.github.com/users/leungwensen/events{/privacy}","received_events_url":"https://api.github.com/users/leungwensen/received_events","type":"User","site_admin":false},"assignees":[{"login":"leungwensen","id":1655789,"avatar_url":"https://avatars1.githubusercontent.com/u/1655789?v=4","gravatar_id":"","url":"https://api.github.com/users/leungwensen","html_url":"https://github.com/leungwensen","followers_url":"https://api.github.com/users/leungwensen/followers","following_url":"https://api.github.com/users/leungwensen/following{/other_user}","gists_url":"https://api.github.com/users/leungwensen/gists{/gist_id}","starred_url":"https://api.github.com/users/leungwensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leungwensen/subscriptions","organizations_url":"https://api.github.com/users/leungwensen/orgs","repos_url":"https://api.github.com/users/leungwensen/repos","events_url":"https://api.github.com/users/leungwensen/events{/privacy}","received_events_url":"https://api.github.com/users/leungwensen/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"leungwensen","id":1655789,"avatar_url":"https://avatars1.githubusercontent.com/u/1655789?v=4","gravatar_id":"","url":"https://api.github.com/users/leungwensen","html_url":"https://github.com/leungwensen","followers_url":"https://api.github.com/users/leungwensen/followers","following_url":"https://api.github.com/users/leungwensen/following{/other_user}","gists_url":"https://api.github.com/users/leungwensen/gists{/gist_id}","starred_url":"https://api.github.com/users/leungwensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leungwensen/subscriptions","organizations_url":"https://api.github.com/users/leungwensen/orgs","repos_url":"https://api.github.com/users/leungwensen/repos","events_url":"https://api.github.com/users/leungwensen/events{/privacy}","received_events_url":"https://api.github.com/users/leungwensen/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/antvis/util/pulls/2/commits","review_comments_url":"https://api.github.com/repos/antvis/util/pulls/2/comments","review_comment_url":"https://api.github.com/repos/antvis/util/pulls/comments{/number}","comments_url":"https://api.github.com/repos/antvis/util/issues/2/comments","statuses_url":"https://api.github.com/repos/antvis/util/statuses/f14634f344b8fbf73cafd6f3762a5142fad668ce","head":{"label":"antvis:chore","ref":"chore","sha":"f14634f344b8fbf73cafd6f3762a5142fad668ce","user":{"login":"antvis","id":19199542,"avatar_url":"https://avatars1.githubusercontent.com/u/19199542?v=4","gravatar_id":"","url":"https://api.github.com/users/antvis","html_url":"https://github.com/antvis","followers_url":"https://api.github.com/users/antvis/followers","following_url":"https://api.github.com/users/antvis/following{/other_user}","gists_url":"https://api.github.com/users/antvis/gists{/gist_id}","starred_url":"https://api.github.com/users/antvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antvis/subscriptions","organizations_url":"https://api.github.com/users/antvis/orgs","repos_url":"https://api.github.com/users/antvis/repos","events_url":"https://api.github.com/users/antvis/events{/privacy}","received_events_url":"https://api.github.com/users/antvis/received_events","type":"Organization","site_admin":false},"repo":{"id":131400529,"name":"util","full_name":"antvis/util","owner":{"login":"antvis","id":19199542,"avatar_url":"https://avatars1.githubusercontent.com/u/19199542?v=4","gravatar_id":"","url":"https://api.github.com/users/antvis","html_url":"https://github.com/antvis","followers_url":"https://api.github.com/users/antvis/followers","following_url":"https://api.github.com/users/antvis/following{/other_user}","gists_url":"https://api.github.com/users/antvis/gists{/gist_id}","starred_url":"https://api.github.com/users/antvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antvis/subscriptions","organizations_url":"https://api.github.com/users/antvis/orgs","repos_url":"https://api.github.com/users/antvis/repos","events_url":"https://api.github.com/users/antvis/events{/privacy}","received_events_url":"https://api.github.com/users/antvis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/antvis/util","description":"utility library for AntV products","fork":false,"url":"https://api.github.com/repos/antvis/util","forks_url":"https://api.github.com/repos/antvis/util/forks","keys_url":"https://api.github.com/repos/antvis/util/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antvis/util/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antvis/util/teams","hooks_url":"https://api.github.com/repos/antvis/util/hooks","issue_events_url":"https://api.github.com/repos/antvis/util/issues/events{/number}","events_url":"https://api.github.com/repos/antvis/util/events","assignees_url":"https://api.github.com/repos/antvis/util/assignees{/user}","branches_url":"https://api.github.com/repos/antvis/util/branches{/branch}","tags_url":"https://api.github.com/repos/antvis/util/tags","blobs_url":"https://api.github.com/repos/antvis/util/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antvis/util/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antvis/util/git/refs{/sha}","trees_url":"https://api.github.com/repos/antvis/util/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antvis/util/statuses/{sha}","languages_url":"https://api.github.com/repos/antvis/util/languages","stargazers_url":"https://api.github.com/repos/antvis/util/stargazers","contributors_url":"https://api.github.com/repos/antvis/util/contributors","subscribers_url":"https://api.github.com/repos/antvis/util/subscribers","subscription_url":"https://api.github.com/repos/antvis/util/subscription","commits_url":"https://api.github.com/repos/antvis/util/commits{/sha}","git_commits_url":"https://api.github.com/repos/antvis/util/git/commits{/sha}","comments_url":"https://api.github.com/repos/antvis/util/comments{/number}","issue_comment_url":"https://api.github.com/repos/antvis/util/issues/comments{/number}","contents_url":"https://api.github.com/repos/antvis/util/contents/{+path}","compare_url":"https://api.github.com/repos/antvis/util/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antvis/util/merges","archive_url":"https://api.github.com/repos/antvis/util/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antvis/util/downloads","issues_url":"https://api.github.com/repos/antvis/util/issues{/number}","pulls_url":"https://api.github.com/repos/antvis/util/pulls{/number}","milestones_url":"https://api.github.com/repos/antvis/util/milestones{/number}","notifications_url":"https://api.github.com/repos/antvis/util/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antvis/util/labels{/name}","releases_url":"https://api.github.com/repos/antvis/util/releases{/id}","deployments_url":"https://api.github.com/repos/antvis/util/deployments","created_at":"2018-04-28T10:36:13Z","updated_at":"2018-05-23T06:51:47Z","pushed_at":"2018-05-23T08:05:17Z","git_url":"git://github.com/antvis/util.git","ssh_url":"git@github.com:antvis/util.git","clone_url":"https://github.com/antvis/util.git","svn_url":"https://github.com/antvis/util","homepage":null,"size":59,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"antvis:master","ref":"master","sha":"11553d811e15b45445b2b9bfa7df950af7fd9156","user":{"login":"antvis","id":19199542,"avatar_url":"https://avatars1.githubusercontent.com/u/19199542?v=4","gravatar_id":"","url":"https://api.github.com/users/antvis","html_url":"https://github.com/antvis","followers_url":"https://api.github.com/users/antvis/followers","following_url":"https://api.github.com/users/antvis/following{/other_user}","gists_url":"https://api.github.com/users/antvis/gists{/gist_id}","starred_url":"https://api.github.com/users/antvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antvis/subscriptions","organizations_url":"https://api.github.com/users/antvis/orgs","repos_url":"https://api.github.com/users/antvis/repos","events_url":"https://api.github.com/users/antvis/events{/privacy}","received_events_url":"https://api.github.com/users/antvis/received_events","type":"Organization","site_admin":false},"repo":{"id":131400529,"name":"util","full_name":"antvis/util","owner":{"login":"antvis","id":19199542,"avatar_url":"https://avatars1.githubusercontent.com/u/19199542?v=4","gravatar_id":"","url":"https://api.github.com/users/antvis","html_url":"https://github.com/antvis","followers_url":"https://api.github.com/users/antvis/followers","following_url":"https://api.github.com/users/antvis/following{/other_user}","gists_url":"https://api.github.com/users/antvis/gists{/gist_id}","starred_url":"https://api.github.com/users/antvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antvis/subscriptions","organizations_url":"https://api.github.com/users/antvis/orgs","repos_url":"https://api.github.com/users/antvis/repos","events_url":"https://api.github.com/users/antvis/events{/privacy}","received_events_url":"https://api.github.com/users/antvis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/antvis/util","description":"utility library for AntV products","fork":false,"url":"https://api.github.com/repos/antvis/util","forks_url":"https://api.github.com/repos/antvis/util/forks","keys_url":"https://api.github.com/repos/antvis/util/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antvis/util/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antvis/util/teams","hooks_url":"https://api.github.com/repos/antvis/util/hooks","issue_events_url":"https://api.github.com/repos/antvis/util/issues/events{/number}","events_url":"https://api.github.com/repos/antvis/util/events","assignees_url":"https://api.github.com/repos/antvis/util/assignees{/user}","branches_url":"https://api.github.com/repos/antvis/util/branches{/branch}","tags_url":"https://api.github.com/repos/antvis/util/tags","blobs_url":"https://api.github.com/repos/antvis/util/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antvis/util/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antvis/util/git/refs{/sha}","trees_url":"https://api.github.com/repos/antvis/util/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antvis/util/statuses/{sha}","languages_url":"https://api.github.com/repos/antvis/util/languages","stargazers_url":"https://api.github.com/repos/antvis/util/stargazers","contributors_url":"https://api.github.com/repos/antvis/util/contributors","subscribers_url":"https://api.github.com/repos/antvis/util/subscribers","subscription_url":"https://api.github.com/repos/antvis/util/subscription","commits_url":"https://api.github.com/repos/antvis/util/commits{/sha}","git_commits_url":"https://api.github.com/repos/antvis/util/git/commits{/sha}","comments_url":"https://api.github.com/repos/antvis/util/comments{/number}","issue_comment_url":"https://api.github.com/repos/antvis/util/issues/comments{/number}","contents_url":"https://api.github.com/repos/antvis/util/contents/{+path}","compare_url":"https://api.github.com/repos/antvis/util/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antvis/util/merges","archive_url":"https://api.github.com/repos/antvis/util/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antvis/util/downloads","issues_url":"https://api.github.com/repos/antvis/util/issues{/number}","pulls_url":"https://api.github.com/repos/antvis/util/pulls{/number}","milestones_url":"https://api.github.com/repos/antvis/util/milestones{/number}","notifications_url":"https://api.github.com/repos/antvis/util/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antvis/util/labels{/name}","releases_url":"https://api.github.com/repos/antvis/util/releases{/id}","deployments_url":"https://api.github.com/repos/antvis/util/deployments","created_at":"2018-04-28T10:36:13Z","updated_at":"2018-05-23T06:51:47Z","pushed_at":"2018-05-23T08:05:17Z","git_url":"git://github.com/antvis/util.git","ssh_url":"git@github.com:antvis/util.git","clone_url":"https://github.com/antvis/util.git","svn_url":"https://github.com/antvis/util","homepage":null,"size":59,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/antvis/util/pulls/2"},"html":{"href":"https://github.com/antvis/util/pull/2"},"issue":{"href":"https://api.github.com/repos/antvis/util/issues/2"},"comments":{"href":"https://api.github.com/repos/antvis/util/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/antvis/util/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/antvis/util/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/antvis/util/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/antvis/util/statuses/f14634f344b8fbf73cafd6f3762a5142fad668ce"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dxq613"}}