{"action":"created","comment":{"url":"https://api.github.com/repos/gajus/react-css-modules/pulls/comments/65002359","id":65002359,"diff_hunk":"@@ -1,4 +1,4 @@\n-import Map from 'es6-map';\n+import Map from './simple-map';","path":"src/generateAppendClassName.js","position":2,"original_position":2,"commit_id":"2b8c720aa73d98f504432fcfa8804cd3ce4d92e8","original_commit_id":"98938107a80940d048b7702926a8da0d23d3e8a7","user":{"login":"benjamingr","id":1315533,"avatar_url":"https://avatars.githubusercontent.com/u/1315533?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamingr","html_url":"https://github.com/benjamingr","followers_url":"https://api.github.com/users/benjamingr/followers","following_url":"https://api.github.com/users/benjamingr/following{/other_user}","gists_url":"https://api.github.com/users/benjamingr/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamingr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamingr/subscriptions","organizations_url":"https://api.github.com/users/benjamingr/orgs","repos_url":"https://api.github.com/users/benjamingr/repos","events_url":"https://api.github.com/users/benjamingr/events{/privacy}","received_events_url":"https://api.github.com/users/benjamingr/received_events","type":"User","site_admin":false},"body":"`Map`, in regular ES2015 maps keys can be objects.\r\n\r\nA WeakMap is a map that does not interfere with the garbage collection of its keys. If you'd like to see an example of why one would want to use it - see http://stackoverflow.com/questions/29413222/what-are-the-actual-uses-of-es6-weakmap . The \"weakness\" of the weak map is in that it holds the reference to the keys weakly.\r\n\r\n","created_at":"2016-05-29T11:32:27Z","updated_at":"2016-05-29T11:32:27Z","html_url":"https://github.com/gajus/react-css-modules/pull/134#discussion_r65002359","pull_request_url":"https://api.github.com/repos/gajus/react-css-modules/pulls/134","_links":{"self":{"href":"https://api.github.com/repos/gajus/react-css-modules/pulls/comments/65002359"},"html":{"href":"https://github.com/gajus/react-css-modules/pull/134#discussion_r65002359"},"pull_request":{"href":"https://api.github.com/repos/gajus/react-css-modules/pulls/134"}}},"pull_request":{"url":"https://api.github.com/repos/gajus/react-css-modules/pulls/134","id":71816333,"html_url":"https://github.com/gajus/react-css-modules/pull/134","diff_url":"https://github.com/gajus/react-css-modules/pull/134.diff","patch_url":"https://github.com/gajus/react-css-modules/pull/134.patch","issue_url":"https://api.github.com/repos/gajus/react-css-modules/issues/134","number":134,"state":"open","locked":false,"title":"Replace es6-map with a simple implementation of a map.","user":{"login":"Mosho1","id":5153007,"avatar_url":"https://avatars.githubusercontent.com/u/5153007?v=3","gravatar_id":"","url":"https://api.github.com/users/Mosho1","html_url":"https://github.com/Mosho1","followers_url":"https://api.github.com/users/Mosho1/followers","following_url":"https://api.github.com/users/Mosho1/following{/other_user}","gists_url":"https://api.github.com/users/Mosho1/gists{/gist_id}","starred_url":"https://api.github.com/users/Mosho1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mosho1/subscriptions","organizations_url":"https://api.github.com/users/Mosho1/orgs","repos_url":"https://api.github.com/users/Mosho1/repos","events_url":"https://api.github.com/users/Mosho1/events{/privacy}","received_events_url":"https://api.github.com/users/Mosho1/received_events","type":"User","site_admin":false},"body":"#133 \r\n\r\nAlso, changed the `npm run pragmatist` command so that it works on windows as well.","created_at":"2016-05-29T02:16:48Z","updated_at":"2016-05-29T11:32:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0be28654429ad01c18077a49623eda41d3bdd206","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gajus/react-css-modules/pulls/134/commits","review_comments_url":"https://api.github.com/repos/gajus/react-css-modules/pulls/134/comments","review_comment_url":"https://api.github.com/repos/gajus/react-css-modules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gajus/react-css-modules/issues/134/comments","statuses_url":"https://api.github.com/repos/gajus/react-css-modules/statuses/2b8c720aa73d98f504432fcfa8804cd3ce4d92e8","head":{"label":"Mosho1:master","ref":"master","sha":"2b8c720aa73d98f504432fcfa8804cd3ce4d92e8","user":{"login":"Mosho1","id":5153007,"avatar_url":"https://avatars.githubusercontent.com/u/5153007?v=3","gravatar_id":"","url":"https://api.github.com/users/Mosho1","html_url":"https://github.com/Mosho1","followers_url":"https://api.github.com/users/Mosho1/followers","following_url":"https://api.github.com/users/Mosho1/following{/other_user}","gists_url":"https://api.github.com/users/Mosho1/gists{/gist_id}","starred_url":"https://api.github.com/users/Mosho1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mosho1/subscriptions","organizations_url":"https://api.github.com/users/Mosho1/orgs","repos_url":"https://api.github.com/users/Mosho1/repos","events_url":"https://api.github.com/users/Mosho1/events{/privacy}","received_events_url":"https://api.github.com/users/Mosho1/received_events","type":"User","site_admin":false},"repo":{"id":59922196,"name":"react-css-modules","full_name":"Mosho1/react-css-modules","owner":{"login":"Mosho1","id":5153007,"avatar_url":"https://avatars.githubusercontent.com/u/5153007?v=3","gravatar_id":"","url":"https://api.github.com/users/Mosho1","html_url":"https://github.com/Mosho1","followers_url":"https://api.github.com/users/Mosho1/followers","following_url":"https://api.github.com/users/Mosho1/following{/other_user}","gists_url":"https://api.github.com/users/Mosho1/gists{/gist_id}","starred_url":"https://api.github.com/users/Mosho1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mosho1/subscriptions","organizations_url":"https://api.github.com/users/Mosho1/orgs","repos_url":"https://api.github.com/users/Mosho1/repos","events_url":"https://api.github.com/users/Mosho1/events{/privacy}","received_events_url":"https://api.github.com/users/Mosho1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mosho1/react-css-modules","description":"Seamless mapping of class names to CSS modules inside of React components.","fork":true,"url":"https://api.github.com/repos/Mosho1/react-css-modules","forks_url":"https://api.github.com/repos/Mosho1/react-css-modules/forks","keys_url":"https://api.github.com/repos/Mosho1/react-css-modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mosho1/react-css-modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mosho1/react-css-modules/teams","hooks_url":"https://api.github.com/repos/Mosho1/react-css-modules/hooks","issue_events_url":"https://api.github.com/repos/Mosho1/react-css-modules/issues/events{/number}","events_url":"https://api.github.com/repos/Mosho1/react-css-modules/events","assignees_url":"https://api.github.com/repos/Mosho1/react-css-modules/assignees{/user}","branches_url":"https://api.github.com/repos/Mosho1/react-css-modules/branches{/branch}","tags_url":"https://api.github.com/repos/Mosho1/react-css-modules/tags","blobs_url":"https://api.github.com/repos/Mosho1/react-css-modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mosho1/react-css-modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mosho1/react-css-modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mosho1/react-css-modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mosho1/react-css-modules/statuses/{sha}","languages_url":"https://api.github.com/repos/Mosho1/react-css-modules/languages","stargazers_url":"https://api.github.com/repos/Mosho1/react-css-modules/stargazers","contributors_url":"https://api.github.com/repos/Mosho1/react-css-modules/contributors","subscribers_url":"https://api.github.com/repos/Mosho1/react-css-modules/subscribers","subscription_url":"https://api.github.com/repos/Mosho1/react-css-modules/subscription","commits_url":"https://api.github.com/repos/Mosho1/react-css-modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mosho1/react-css-modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mosho1/react-css-modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mosho1/react-css-modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mosho1/react-css-modules/contents/{+path}","compare_url":"https://api.github.com/repos/Mosho1/react-css-modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mosho1/react-css-modules/merges","archive_url":"https://api.github.com/repos/Mosho1/react-css-modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mosho1/react-css-modules/downloads","issues_url":"https://api.github.com/repos/Mosho1/react-css-modules/issues{/number}","pulls_url":"https://api.github.com/repos/Mosho1/react-css-modules/pulls{/number}","milestones_url":"https://api.github.com/repos/Mosho1/react-css-modules/milestones{/number}","notifications_url":"https://api.github.com/repos/Mosho1/react-css-modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mosho1/react-css-modules/labels{/name}","releases_url":"https://api.github.com/repos/Mosho1/react-css-modules/releases{/id}","deployments_url":"https://api.github.com/repos/Mosho1/react-css-modules/deployments","created_at":"2016-05-29T02:00:07Z","updated_at":"2016-05-29T02:00:08Z","pushed_at":"2016-05-29T10:59:23Z","git_url":"git://github.com/Mosho1/react-css-modules.git","ssh_url":"git@github.com:Mosho1/react-css-modules.git","clone_url":"https://github.com/Mosho1/react-css-modules.git","svn_url":"https://github.com/Mosho1/react-css-modules","homepage":"","size":241,"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":"gajus:master","ref":"master","sha":"e1b4a3da4667a7324a5d6f53f8895be6dc61f7ca","user":{"login":"gajus","id":973543,"avatar_url":"https://avatars.githubusercontent.com/u/973543?v=3","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"repo":{"id":41367342,"name":"react-css-modules","full_name":"gajus/react-css-modules","owner":{"login":"gajus","id":973543,"avatar_url":"https://avatars.githubusercontent.com/u/973543?v=3","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gajus/react-css-modules","description":"Seamless mapping of class names to CSS modules inside of React components.","fork":false,"url":"https://api.github.com/repos/gajus/react-css-modules","forks_url":"https://api.github.com/repos/gajus/react-css-modules/forks","keys_url":"https://api.github.com/repos/gajus/react-css-modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gajus/react-css-modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gajus/react-css-modules/teams","hooks_url":"https://api.github.com/repos/gajus/react-css-modules/hooks","issue_events_url":"https://api.github.com/repos/gajus/react-css-modules/issues/events{/number}","events_url":"https://api.github.com/repos/gajus/react-css-modules/events","assignees_url":"https://api.github.com/repos/gajus/react-css-modules/assignees{/user}","branches_url":"https://api.github.com/repos/gajus/react-css-modules/branches{/branch}","tags_url":"https://api.github.com/repos/gajus/react-css-modules/tags","blobs_url":"https://api.github.com/repos/gajus/react-css-modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gajus/react-css-modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gajus/react-css-modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/gajus/react-css-modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gajus/react-css-modules/statuses/{sha}","languages_url":"https://api.github.com/repos/gajus/react-css-modules/languages","stargazers_url":"https://api.github.com/repos/gajus/react-css-modules/stargazers","contributors_url":"https://api.github.com/repos/gajus/react-css-modules/contributors","subscribers_url":"https://api.github.com/repos/gajus/react-css-modules/subscribers","subscription_url":"https://api.github.com/repos/gajus/react-css-modules/subscription","commits_url":"https://api.github.com/repos/gajus/react-css-modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/gajus/react-css-modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/gajus/react-css-modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/gajus/react-css-modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/gajus/react-css-modules/contents/{+path}","compare_url":"https://api.github.com/repos/gajus/react-css-modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gajus/react-css-modules/merges","archive_url":"https://api.github.com/repos/gajus/react-css-modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gajus/react-css-modules/downloads","issues_url":"https://api.github.com/repos/gajus/react-css-modules/issues{/number}","pulls_url":"https://api.github.com/repos/gajus/react-css-modules/pulls{/number}","milestones_url":"https://api.github.com/repos/gajus/react-css-modules/milestones{/number}","notifications_url":"https://api.github.com/repos/gajus/react-css-modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gajus/react-css-modules/labels{/name}","releases_url":"https://api.github.com/repos/gajus/react-css-modules/releases{/id}","deployments_url":"https://api.github.com/repos/gajus/react-css-modules/deployments","created_at":"2015-08-25T14:15:22Z","updated_at":"2016-05-29T11:10:20Z","pushed_at":"2016-05-29T10:59:24Z","git_url":"git://github.com/gajus/react-css-modules.git","ssh_url":"git@github.com:gajus/react-css-modules.git","clone_url":"https://github.com/gajus/react-css-modules.git","svn_url":"https://github.com/gajus/react-css-modules","homepage":"","size":274,"stargazers_count":1975,"watchers_count":1975,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":20,"forks":64,"open_issues":20,"watchers":1975,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gajus/react-css-modules/pulls/134"},"html":{"href":"https://github.com/gajus/react-css-modules/pull/134"},"issue":{"href":"https://api.github.com/repos/gajus/react-css-modules/issues/134"},"comments":{"href":"https://api.github.com/repos/gajus/react-css-modules/issues/134/comments"},"review_comments":{"href":"https://api.github.com/repos/gajus/react-css-modules/pulls/134/comments"},"review_comment":{"href":"https://api.github.com/repos/gajus/react-css-modules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gajus/react-css-modules/pulls/134/commits"},"statuses":{"href":"https://api.github.com/repos/gajus/react-css-modules/statuses/2b8c720aa73d98f504432fcfa8804cd3ce4d92e8"}}}}
{"actor":{"display_login":"benjamingr"}}