{"action":"created","comment":{"url":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/comments/84595938","pull_request_review_id":5365031,"id":84595938,"diff_hunk":"@@ -119,6 +119,10 @@ module.exports = function (resource, map) {\n             if (checkFileTypes.indexOf(extName) === -1) {\n                 file.realPath = filePath;\n                 file.path = filePath.slice(0, -path.extname(filePath).length) + '.html';\n+                // 非html类型文件允许出现css style标签\n+                var newContents = '<!-- htmlcs-disable css-in-head, style-disabled -->\\n'","path":"index.js","position":5,"original_position":5,"commit_id":"e6f47fddb133eb61851a7e3622a215827ab691f4","original_commit_id":"e6f47fddb133eb61851a7e3622a215827ab691f4","user":{"login":"chriswong","id":165639,"avatar_url":"https://avatars.githubusercontent.com/u/165639?v=3","gravatar_id":"","url":"https://api.github.com/users/chriswong","html_url":"https://github.com/chriswong","followers_url":"https://api.github.com/users/chriswong/followers","following_url":"https://api.github.com/users/chriswong/following{/other_user}","gists_url":"https://api.github.com/users/chriswong/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswong/subscriptions","organizations_url":"https://api.github.com/users/chriswong/orgs","repos_url":"https://api.github.com/users/chriswong/repos","events_url":"https://api.github.com/users/chriswong/events{/privacy}","received_events_url":"https://api.github.com/users/chriswong/received_events","type":"User","site_admin":false},"body":"这里加了一行，会导致原代码的行数 +1，对于出现检查错误时需要恢复回去","created_at":"2016-10-23T13:22:39Z","updated_at":"2016-10-23T13:22:39Z","html_url":"https://github.com/ecomfe/fecs-loader/pull/5#discussion_r84595938","pull_request_url":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/comments/84595938"},"html":{"href":"https://github.com/ecomfe/fecs-loader/pull/5#discussion_r84595938"},"pull_request":{"href":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/5","id":89404958,"html_url":"https://github.com/ecomfe/fecs-loader/pull/5","diff_url":"https://github.com/ecomfe/fecs-loader/pull/5.diff","patch_url":"https://github.com/ecomfe/fecs-loader/pull/5.patch","issue_url":"https://api.github.com/repos/ecomfe/fecs-loader/issues/5","number":5,"state":"closed","locked":false,"title":"Dev","user":{"login":"zhangzhiqiang37","id":5220712,"avatar_url":"https://avatars.githubusercontent.com/u/5220712?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangzhiqiang37","html_url":"https://github.com/zhangzhiqiang37","followers_url":"https://api.github.com/users/zhangzhiqiang37/followers","following_url":"https://api.github.com/users/zhangzhiqiang37/following{/other_user}","gists_url":"https://api.github.com/users/zhangzhiqiang37/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangzhiqiang37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangzhiqiang37/subscriptions","organizations_url":"https://api.github.com/users/zhangzhiqiang37/orgs","repos_url":"https://api.github.com/users/zhangzhiqiang37/repos","events_url":"https://api.github.com/users/zhangzhiqiang37/events{/privacy}","received_events_url":"https://api.github.com/users/zhangzhiqiang37/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-14T15:27:38Z","updated_at":"2016-10-23T13:22:39Z","closed_at":"2016-10-23T11:37:07Z","merged_at":"2016-10-23T11:37:07Z","merge_commit_sha":"dbea243244bdae60e54403ffee8fdc0469b948ba","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ecomfe/fecs-loader/issues/5/comments","statuses_url":"https://api.github.com/repos/ecomfe/fecs-loader/statuses/e6f47fddb133eb61851a7e3622a215827ab691f4","head":{"label":"ecomfe:dev","ref":"dev","sha":"e6f47fddb133eb61851a7e3622a215827ab691f4","user":{"login":"ecomfe","id":2268460,"avatar_url":"https://avatars.githubusercontent.com/u/2268460?v=3","gravatar_id":"","url":"https://api.github.com/users/ecomfe","html_url":"https://github.com/ecomfe","followers_url":"https://api.github.com/users/ecomfe/followers","following_url":"https://api.github.com/users/ecomfe/following{/other_user}","gists_url":"https://api.github.com/users/ecomfe/gists{/gist_id}","starred_url":"https://api.github.com/users/ecomfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecomfe/subscriptions","organizations_url":"https://api.github.com/users/ecomfe/orgs","repos_url":"https://api.github.com/users/ecomfe/repos","events_url":"https://api.github.com/users/ecomfe/events{/privacy}","received_events_url":"https://api.github.com/users/ecomfe/received_events","type":"Organization","site_admin":false},"repo":{"id":54175291,"name":"fecs-loader","full_name":"ecomfe/fecs-loader","owner":{"login":"ecomfe","id":2268460,"avatar_url":"https://avatars.githubusercontent.com/u/2268460?v=3","gravatar_id":"","url":"https://api.github.com/users/ecomfe","html_url":"https://github.com/ecomfe","followers_url":"https://api.github.com/users/ecomfe/followers","following_url":"https://api.github.com/users/ecomfe/following{/other_user}","gists_url":"https://api.github.com/users/ecomfe/gists{/gist_id}","starred_url":"https://api.github.com/users/ecomfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecomfe/subscriptions","organizations_url":"https://api.github.com/users/ecomfe/orgs","repos_url":"https://api.github.com/users/ecomfe/repos","events_url":"https://api.github.com/users/ecomfe/events{/privacy}","received_events_url":"https://api.github.com/users/ecomfe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ecomfe/fecs-loader","description":"fecs loader (for webpack)","fork":false,"url":"https://api.github.com/repos/ecomfe/fecs-loader","forks_url":"https://api.github.com/repos/ecomfe/fecs-loader/forks","keys_url":"https://api.github.com/repos/ecomfe/fecs-loader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ecomfe/fecs-loader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ecomfe/fecs-loader/teams","hooks_url":"https://api.github.com/repos/ecomfe/fecs-loader/hooks","issue_events_url":"https://api.github.com/repos/ecomfe/fecs-loader/issues/events{/number}","events_url":"https://api.github.com/repos/ecomfe/fecs-loader/events","assignees_url":"https://api.github.com/repos/ecomfe/fecs-loader/assignees{/user}","branches_url":"https://api.github.com/repos/ecomfe/fecs-loader/branches{/branch}","tags_url":"https://api.github.com/repos/ecomfe/fecs-loader/tags","blobs_url":"https://api.github.com/repos/ecomfe/fecs-loader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ecomfe/fecs-loader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ecomfe/fecs-loader/git/refs{/sha}","trees_url":"https://api.github.com/repos/ecomfe/fecs-loader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ecomfe/fecs-loader/statuses/{sha}","languages_url":"https://api.github.com/repos/ecomfe/fecs-loader/languages","stargazers_url":"https://api.github.com/repos/ecomfe/fecs-loader/stargazers","contributors_url":"https://api.github.com/repos/ecomfe/fecs-loader/contributors","subscribers_url":"https://api.github.com/repos/ecomfe/fecs-loader/subscribers","subscription_url":"https://api.github.com/repos/ecomfe/fecs-loader/subscription","commits_url":"https://api.github.com/repos/ecomfe/fecs-loader/commits{/sha}","git_commits_url":"https://api.github.com/repos/ecomfe/fecs-loader/git/commits{/sha}","comments_url":"https://api.github.com/repos/ecomfe/fecs-loader/comments{/number}","issue_comment_url":"https://api.github.com/repos/ecomfe/fecs-loader/issues/comments{/number}","contents_url":"https://api.github.com/repos/ecomfe/fecs-loader/contents/{+path}","compare_url":"https://api.github.com/repos/ecomfe/fecs-loader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ecomfe/fecs-loader/merges","archive_url":"https://api.github.com/repos/ecomfe/fecs-loader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ecomfe/fecs-loader/downloads","issues_url":"https://api.github.com/repos/ecomfe/fecs-loader/issues{/number}","pulls_url":"https://api.github.com/repos/ecomfe/fecs-loader/pulls{/number}","milestones_url":"https://api.github.com/repos/ecomfe/fecs-loader/milestones{/number}","notifications_url":"https://api.github.com/repos/ecomfe/fecs-loader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ecomfe/fecs-loader/labels{/name}","releases_url":"https://api.github.com/repos/ecomfe/fecs-loader/releases{/id}","deployments_url":"https://api.github.com/repos/ecomfe/fecs-loader/deployments","created_at":"2016-03-18T05:08:51Z","updated_at":"2016-10-23T11:37:09Z","pushed_at":"2016-10-23T11:46:07Z","git_url":"git://github.com/ecomfe/fecs-loader.git","ssh_url":"git@github.com:ecomfe/fecs-loader.git","clone_url":"https://github.com/ecomfe/fecs-loader.git","svn_url":"https://github.com/ecomfe/fecs-loader","homepage":null,"size":13,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"ecomfe:master","ref":"master","sha":"7b7c25ed6fd0fc0d8994d65dc3fe2bec1aa15084","user":{"login":"ecomfe","id":2268460,"avatar_url":"https://avatars.githubusercontent.com/u/2268460?v=3","gravatar_id":"","url":"https://api.github.com/users/ecomfe","html_url":"https://github.com/ecomfe","followers_url":"https://api.github.com/users/ecomfe/followers","following_url":"https://api.github.com/users/ecomfe/following{/other_user}","gists_url":"https://api.github.com/users/ecomfe/gists{/gist_id}","starred_url":"https://api.github.com/users/ecomfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecomfe/subscriptions","organizations_url":"https://api.github.com/users/ecomfe/orgs","repos_url":"https://api.github.com/users/ecomfe/repos","events_url":"https://api.github.com/users/ecomfe/events{/privacy}","received_events_url":"https://api.github.com/users/ecomfe/received_events","type":"Organization","site_admin":false},"repo":{"id":54175291,"name":"fecs-loader","full_name":"ecomfe/fecs-loader","owner":{"login":"ecomfe","id":2268460,"avatar_url":"https://avatars.githubusercontent.com/u/2268460?v=3","gravatar_id":"","url":"https://api.github.com/users/ecomfe","html_url":"https://github.com/ecomfe","followers_url":"https://api.github.com/users/ecomfe/followers","following_url":"https://api.github.com/users/ecomfe/following{/other_user}","gists_url":"https://api.github.com/users/ecomfe/gists{/gist_id}","starred_url":"https://api.github.com/users/ecomfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecomfe/subscriptions","organizations_url":"https://api.github.com/users/ecomfe/orgs","repos_url":"https://api.github.com/users/ecomfe/repos","events_url":"https://api.github.com/users/ecomfe/events{/privacy}","received_events_url":"https://api.github.com/users/ecomfe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ecomfe/fecs-loader","description":"fecs loader (for webpack)","fork":false,"url":"https://api.github.com/repos/ecomfe/fecs-loader","forks_url":"https://api.github.com/repos/ecomfe/fecs-loader/forks","keys_url":"https://api.github.com/repos/ecomfe/fecs-loader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ecomfe/fecs-loader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ecomfe/fecs-loader/teams","hooks_url":"https://api.github.com/repos/ecomfe/fecs-loader/hooks","issue_events_url":"https://api.github.com/repos/ecomfe/fecs-loader/issues/events{/number}","events_url":"https://api.github.com/repos/ecomfe/fecs-loader/events","assignees_url":"https://api.github.com/repos/ecomfe/fecs-loader/assignees{/user}","branches_url":"https://api.github.com/repos/ecomfe/fecs-loader/branches{/branch}","tags_url":"https://api.github.com/repos/ecomfe/fecs-loader/tags","blobs_url":"https://api.github.com/repos/ecomfe/fecs-loader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ecomfe/fecs-loader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ecomfe/fecs-loader/git/refs{/sha}","trees_url":"https://api.github.com/repos/ecomfe/fecs-loader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ecomfe/fecs-loader/statuses/{sha}","languages_url":"https://api.github.com/repos/ecomfe/fecs-loader/languages","stargazers_url":"https://api.github.com/repos/ecomfe/fecs-loader/stargazers","contributors_url":"https://api.github.com/repos/ecomfe/fecs-loader/contributors","subscribers_url":"https://api.github.com/repos/ecomfe/fecs-loader/subscribers","subscription_url":"https://api.github.com/repos/ecomfe/fecs-loader/subscription","commits_url":"https://api.github.com/repos/ecomfe/fecs-loader/commits{/sha}","git_commits_url":"https://api.github.com/repos/ecomfe/fecs-loader/git/commits{/sha}","comments_url":"https://api.github.com/repos/ecomfe/fecs-loader/comments{/number}","issue_comment_url":"https://api.github.com/repos/ecomfe/fecs-loader/issues/comments{/number}","contents_url":"https://api.github.com/repos/ecomfe/fecs-loader/contents/{+path}","compare_url":"https://api.github.com/repos/ecomfe/fecs-loader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ecomfe/fecs-loader/merges","archive_url":"https://api.github.com/repos/ecomfe/fecs-loader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ecomfe/fecs-loader/downloads","issues_url":"https://api.github.com/repos/ecomfe/fecs-loader/issues{/number}","pulls_url":"https://api.github.com/repos/ecomfe/fecs-loader/pulls{/number}","milestones_url":"https://api.github.com/repos/ecomfe/fecs-loader/milestones{/number}","notifications_url":"https://api.github.com/repos/ecomfe/fecs-loader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ecomfe/fecs-loader/labels{/name}","releases_url":"https://api.github.com/repos/ecomfe/fecs-loader/releases{/id}","deployments_url":"https://api.github.com/repos/ecomfe/fecs-loader/deployments","created_at":"2016-03-18T05:08:51Z","updated_at":"2016-10-23T11:37:09Z","pushed_at":"2016-10-23T11:46:07Z","git_url":"git://github.com/ecomfe/fecs-loader.git","ssh_url":"git@github.com:ecomfe/fecs-loader.git","clone_url":"https://github.com/ecomfe/fecs-loader.git","svn_url":"https://github.com/ecomfe/fecs-loader","homepage":null,"size":13,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/5"},"html":{"href":"https://github.com/ecomfe/fecs-loader/pull/5"},"issue":{"href":"https://api.github.com/repos/ecomfe/fecs-loader/issues/5"},"comments":{"href":"https://api.github.com/repos/ecomfe/fecs-loader/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ecomfe/fecs-loader/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ecomfe/fecs-loader/statuses/e6f47fddb133eb61851a7e3622a215827ab691f4"}}}}
{"actor":{"display_login":"chriswong"}}