{"action":"opened","number":76,"pull_request":{"url":"https://api.github.com/repos/facebook/node-haste/pulls/76","id":73257461,"html_url":"https://github.com/facebook/node-haste/pull/76","diff_url":"https://github.com/facebook/node-haste/pull/76.diff","patch_url":"https://github.com/facebook/node-haste/pull/76.patch","issue_url":"https://api.github.com/repos/facebook/node-haste/issues/76","number":76,"state":"open","locked":false,"title":"Add backticks into `require` parse","user":{"login":"ColCh","id":599439,"avatar_url":"https://avatars.githubusercontent.com/u/599439?v=3","gravatar_id":"","url":"https://api.github.com/users/ColCh","html_url":"https://github.com/ColCh","followers_url":"https://api.github.com/users/ColCh/followers","following_url":"https://api.github.com/users/ColCh/following{/other_user}","gists_url":"https://api.github.com/users/ColCh/gists{/gist_id}","starred_url":"https://api.github.com/users/ColCh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColCh/subscriptions","organizations_url":"https://api.github.com/users/ColCh/orgs","repos_url":"https://api.github.com/users/ColCh/repos","events_url":"https://api.github.com/users/ColCh/events{/privacy}","received_events_url":"https://api.github.com/users/ColCh/received_events","type":"User","site_admin":false},"body":"Fixes case when we use require with backticks:\r\n\r\nSimple, this works:\r\n\r\n```\r\nconst heart        = require('./img/heart.png'),\r\n```\r\n\r\nThis __not__ works:\r\n```js\r\nconst heart        = require(`./img/heart.png`),\r\n```\r\n\r\nThis PR adds assertion into existing testcase and modifies parsing regexp.","created_at":"2016-06-09T17:53:41Z","updated_at":"2016-06-09T17:53:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70711a6bdc6db11c4e9f6d03b51f106eee6b6ed9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/node-haste/pulls/76/commits","review_comments_url":"https://api.github.com/repos/facebook/node-haste/pulls/76/comments","review_comment_url":"https://api.github.com/repos/facebook/node-haste/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/node-haste/issues/76/comments","statuses_url":"https://api.github.com/repos/facebook/node-haste/statuses/66e2cce349a57a461ddf2fb5f4cc2dca7275e7dc","head":{"label":"Lingvokot:add-backticks-parse","ref":"add-backticks-parse","sha":"66e2cce349a57a461ddf2fb5f4cc2dca7275e7dc","user":{"login":"Lingvokot","id":15065754,"avatar_url":"https://avatars.githubusercontent.com/u/15065754?v=3","gravatar_id":"","url":"https://api.github.com/users/Lingvokot","html_url":"https://github.com/Lingvokot","followers_url":"https://api.github.com/users/Lingvokot/followers","following_url":"https://api.github.com/users/Lingvokot/following{/other_user}","gists_url":"https://api.github.com/users/Lingvokot/gists{/gist_id}","starred_url":"https://api.github.com/users/Lingvokot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lingvokot/subscriptions","organizations_url":"https://api.github.com/users/Lingvokot/orgs","repos_url":"https://api.github.com/users/Lingvokot/repos","events_url":"https://api.github.com/users/Lingvokot/events{/privacy}","received_events_url":"https://api.github.com/users/Lingvokot/received_events","type":"Organization","site_admin":false},"repo":{"id":60794920,"name":"node-haste","full_name":"Lingvokot/node-haste","owner":{"login":"Lingvokot","id":15065754,"avatar_url":"https://avatars.githubusercontent.com/u/15065754?v=3","gravatar_id":"","url":"https://api.github.com/users/Lingvokot","html_url":"https://github.com/Lingvokot","followers_url":"https://api.github.com/users/Lingvokot/followers","following_url":"https://api.github.com/users/Lingvokot/following{/other_user}","gists_url":"https://api.github.com/users/Lingvokot/gists{/gist_id}","starred_url":"https://api.github.com/users/Lingvokot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lingvokot/subscriptions","organizations_url":"https://api.github.com/users/Lingvokot/orgs","repos_url":"https://api.github.com/users/Lingvokot/repos","events_url":"https://api.github.com/users/Lingvokot/events{/privacy}","received_events_url":"https://api.github.com/users/Lingvokot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Lingvokot/node-haste","description":"A dependency management system for static resources for node.js.","fork":true,"url":"https://api.github.com/repos/Lingvokot/node-haste","forks_url":"https://api.github.com/repos/Lingvokot/node-haste/forks","keys_url":"https://api.github.com/repos/Lingvokot/node-haste/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lingvokot/node-haste/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lingvokot/node-haste/teams","hooks_url":"https://api.github.com/repos/Lingvokot/node-haste/hooks","issue_events_url":"https://api.github.com/repos/Lingvokot/node-haste/issues/events{/number}","events_url":"https://api.github.com/repos/Lingvokot/node-haste/events","assignees_url":"https://api.github.com/repos/Lingvokot/node-haste/assignees{/user}","branches_url":"https://api.github.com/repos/Lingvokot/node-haste/branches{/branch}","tags_url":"https://api.github.com/repos/Lingvokot/node-haste/tags","blobs_url":"https://api.github.com/repos/Lingvokot/node-haste/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lingvokot/node-haste/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lingvokot/node-haste/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lingvokot/node-haste/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lingvokot/node-haste/statuses/{sha}","languages_url":"https://api.github.com/repos/Lingvokot/node-haste/languages","stargazers_url":"https://api.github.com/repos/Lingvokot/node-haste/stargazers","contributors_url":"https://api.github.com/repos/Lingvokot/node-haste/contributors","subscribers_url":"https://api.github.com/repos/Lingvokot/node-haste/subscribers","subscription_url":"https://api.github.com/repos/Lingvokot/node-haste/subscription","commits_url":"https://api.github.com/repos/Lingvokot/node-haste/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lingvokot/node-haste/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lingvokot/node-haste/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lingvokot/node-haste/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lingvokot/node-haste/contents/{+path}","compare_url":"https://api.github.com/repos/Lingvokot/node-haste/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lingvokot/node-haste/merges","archive_url":"https://api.github.com/repos/Lingvokot/node-haste/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lingvokot/node-haste/downloads","issues_url":"https://api.github.com/repos/Lingvokot/node-haste/issues{/number}","pulls_url":"https://api.github.com/repos/Lingvokot/node-haste/pulls{/number}","milestones_url":"https://api.github.com/repos/Lingvokot/node-haste/milestones{/number}","notifications_url":"https://api.github.com/repos/Lingvokot/node-haste/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lingvokot/node-haste/labels{/name}","releases_url":"https://api.github.com/repos/Lingvokot/node-haste/releases{/id}","deployments_url":"https://api.github.com/repos/Lingvokot/node-haste/deployments","created_at":"2016-06-09T17:48:57Z","updated_at":"2016-06-09T17:48:58Z","pushed_at":"2016-06-09T17:51:15Z","git_url":"git://github.com/Lingvokot/node-haste.git","ssh_url":"git@github.com:Lingvokot/node-haste.git","clone_url":"https://github.com/Lingvokot/node-haste.git","svn_url":"https://github.com/Lingvokot/node-haste","homepage":"","size":644,"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":"facebook:master","ref":"master","sha":"369585bc2a73bf23bf7f5361509f666521535acf","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":5502422,"name":"node-haste","full_name":"facebook/node-haste","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/node-haste","description":"A dependency management system for static resources for node.js.","fork":false,"url":"https://api.github.com/repos/facebook/node-haste","forks_url":"https://api.github.com/repos/facebook/node-haste/forks","keys_url":"https://api.github.com/repos/facebook/node-haste/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/node-haste/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/node-haste/teams","hooks_url":"https://api.github.com/repos/facebook/node-haste/hooks","issue_events_url":"https://api.github.com/repos/facebook/node-haste/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/node-haste/events","assignees_url":"https://api.github.com/repos/facebook/node-haste/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/node-haste/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/node-haste/tags","blobs_url":"https://api.github.com/repos/facebook/node-haste/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/node-haste/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/node-haste/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/node-haste/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/node-haste/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/node-haste/languages","stargazers_url":"https://api.github.com/repos/facebook/node-haste/stargazers","contributors_url":"https://api.github.com/repos/facebook/node-haste/contributors","subscribers_url":"https://api.github.com/repos/facebook/node-haste/subscribers","subscription_url":"https://api.github.com/repos/facebook/node-haste/subscription","commits_url":"https://api.github.com/repos/facebook/node-haste/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/node-haste/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/node-haste/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/node-haste/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/node-haste/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/node-haste/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/node-haste/merges","archive_url":"https://api.github.com/repos/facebook/node-haste/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/node-haste/downloads","issues_url":"https://api.github.com/repos/facebook/node-haste/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/node-haste/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/node-haste/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/node-haste/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/node-haste/labels{/name}","releases_url":"https://api.github.com/repos/facebook/node-haste/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/node-haste/deployments","created_at":"2012-08-21T23:30:40Z","updated_at":"2016-06-09T16:01:18Z","pushed_at":"2016-06-09T17:53:41Z","git_url":"git://github.com/facebook/node-haste.git","ssh_url":"git@github.com:facebook/node-haste.git","clone_url":"https://github.com/facebook/node-haste.git","svn_url":"https://github.com/facebook/node-haste","homepage":"","size":695,"stargazers_count":169,"watchers_count":169,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":10,"forks":66,"open_issues":10,"watchers":169,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/node-haste/pulls/76"},"html":{"href":"https://github.com/facebook/node-haste/pull/76"},"issue":{"href":"https://api.github.com/repos/facebook/node-haste/issues/76"},"comments":{"href":"https://api.github.com/repos/facebook/node-haste/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/node-haste/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/node-haste/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/node-haste/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/node-haste/statuses/66e2cce349a57a461ddf2fb5f4cc2dca7275e7dc"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":3,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"ColCh"}}