{"action":"created","comment":{"url":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/comments/37362624","id":37362624,"diff_hunk":"@@ -0,0 +1,80 @@\n+import React from 'react';\n+import 'styles/components/product/SkuSelector.less';\n+\n+\n+let mock = {\n+    name: 'Short Balneário'\n+    skus: [\n+      {\n+        id: 111\n+        size: 'PP'\n+        availability: 100\n+      },\n+      {\n+        id: 222\n+        size: 'P'\n+        availability: 0\n+      },\n+      {\n+        id: 333\n+        size: 'M'\n+        availability: 203\n+      },\n+      {\n+        id: 444\n+        size: 'G'\n+        availability: 2\n+      }\n+    ]\n+};\n+\n+class SkuSelector extends React.Component {\n+  changeAvailability = function (){\n+    if(this.mock.skus[0].availability > 0)","path":"src/components/product/SkuSelector.jsx","position":33,"original_position":33,"commit_id":"30eeb702db9b1c3d15c64bfb7b599b09fecdd278","original_commit_id":"30eeb702db9b1c3d15c64bfb7b599b09fecdd278","user":{"login":"brenoc","id":284515,"avatar_url":"https://avatars.githubusercontent.com/u/284515?v=3","gravatar_id":"","url":"https://api.github.com/users/brenoc","html_url":"https://github.com/brenoc","followers_url":"https://api.github.com/users/brenoc/followers","following_url":"https://api.github.com/users/brenoc/following{/other_user}","gists_url":"https://api.github.com/users/brenoc/gists{/gist_id}","starred_url":"https://api.github.com/users/brenoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brenoc/subscriptions","organizations_url":"https://api.github.com/users/brenoc/orgs","repos_url":"https://api.github.com/users/brenoc/repos","events_url":"https://api.github.com/users/brenoc/events{/privacy}","received_events_url":"https://api.github.com/users/brenoc/received_events","type":"User","site_admin":false},"body":"The same as the other comment:\r\n\r\n```js\r\nif (this.mock.skus[0].availability > 0)\r\n```\r\nThe thing here is the space between `if` and the `(`.","created_at":"2015-08-18T22:39:38Z","updated_at":"2015-08-18T22:39:38Z","html_url":"https://github.com/vtex-apps/storefront-theme/pull/25#discussion_r37362624","pull_request_url":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/comments/37362624"},"html":{"href":"https://github.com/vtex-apps/storefront-theme/pull/25#discussion_r37362624"},"pull_request":{"href":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/25","id":42757461,"html_url":"https://github.com/vtex-apps/storefront-theme/pull/25","diff_url":"https://github.com/vtex-apps/storefront-theme/pull/25.diff","patch_url":"https://github.com/vtex-apps/storefront-theme/pull/25.patch","issue_url":"https://api.github.com/repos/vtex-apps/storefront-theme/issues/25","number":25,"state":"open","locked":false,"title":"Feature/sku selector","user":{"login":"brenoc","id":284515,"avatar_url":"https://avatars.githubusercontent.com/u/284515?v=3","gravatar_id":"","url":"https://api.github.com/users/brenoc","html_url":"https://github.com/brenoc","followers_url":"https://api.github.com/users/brenoc/followers","following_url":"https://api.github.com/users/brenoc/following{/other_user}","gists_url":"https://api.github.com/users/brenoc/gists{/gist_id}","starred_url":"https://api.github.com/users/brenoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brenoc/subscriptions","organizations_url":"https://api.github.com/users/brenoc/orgs","repos_url":"https://api.github.com/users/brenoc/repos","events_url":"https://api.github.com/users/brenoc/events{/privacy}","received_events_url":"https://api.github.com/users/brenoc/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-18T22:35:56Z","updated_at":"2015-08-18T22:39:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca41aa25f470a709ba1cb9fe8a6591b6bd37cf0e","assignee":{"login":"bellacorbo","id":13241914,"avatar_url":"https://avatars.githubusercontent.com/u/13241914?v=3","gravatar_id":"","url":"https://api.github.com/users/bellacorbo","html_url":"https://github.com/bellacorbo","followers_url":"https://api.github.com/users/bellacorbo/followers","following_url":"https://api.github.com/users/bellacorbo/following{/other_user}","gists_url":"https://api.github.com/users/bellacorbo/gists{/gist_id}","starred_url":"https://api.github.com/users/bellacorbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellacorbo/subscriptions","organizations_url":"https://api.github.com/users/bellacorbo/orgs","repos_url":"https://api.github.com/users/bellacorbo/repos","events_url":"https://api.github.com/users/bellacorbo/events{/privacy}","received_events_url":"https://api.github.com/users/bellacorbo/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/25/commits","review_comments_url":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/25/comments","review_comment_url":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vtex-apps/storefront-theme/issues/25/comments","statuses_url":"https://api.github.com/repos/vtex-apps/storefront-theme/statuses/30eeb702db9b1c3d15c64bfb7b599b09fecdd278","head":{"label":"vtex-apps:feature/skuSelector","ref":"feature/skuSelector","sha":"30eeb702db9b1c3d15c64bfb7b599b09fecdd278","user":{"login":"vtex-apps","id":12614072,"avatar_url":"https://avatars.githubusercontent.com/u/12614072?v=3","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"repo":{"id":38068776,"name":"storefront-theme","full_name":"vtex-apps/storefront-theme","owner":{"login":"vtex-apps","id":12614072,"avatar_url":"https://avatars.githubusercontent.com/u/12614072?v=3","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vtex-apps/storefront-theme","description":"Default Storefront theme for new VTEX stores","fork":false,"url":"https://api.github.com/repos/vtex-apps/storefront-theme","forks_url":"https://api.github.com/repos/vtex-apps/storefront-theme/forks","keys_url":"https://api.github.com/repos/vtex-apps/storefront-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vtex-apps/storefront-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vtex-apps/storefront-theme/teams","hooks_url":"https://api.github.com/repos/vtex-apps/storefront-theme/hooks","issue_events_url":"https://api.github.com/repos/vtex-apps/storefront-theme/issues/events{/number}","events_url":"https://api.github.com/repos/vtex-apps/storefront-theme/events","assignees_url":"https://api.github.com/repos/vtex-apps/storefront-theme/assignees{/user}","branches_url":"https://api.github.com/repos/vtex-apps/storefront-theme/branches{/branch}","tags_url":"https://api.github.com/repos/vtex-apps/storefront-theme/tags","blobs_url":"https://api.github.com/repos/vtex-apps/storefront-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vtex-apps/storefront-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vtex-apps/storefront-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/vtex-apps/storefront-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vtex-apps/storefront-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/vtex-apps/storefront-theme/languages","stargazers_url":"https://api.github.com/repos/vtex-apps/storefront-theme/stargazers","contributors_url":"https://api.github.com/repos/vtex-apps/storefront-theme/contributors","subscribers_url":"https://api.github.com/repos/vtex-apps/storefront-theme/subscribers","subscription_url":"https://api.github.com/repos/vtex-apps/storefront-theme/subscription","commits_url":"https://api.github.com/repos/vtex-apps/storefront-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/vtex-apps/storefront-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/vtex-apps/storefront-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/vtex-apps/storefront-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/vtex-apps/storefront-theme/contents/{+path}","compare_url":"https://api.github.com/repos/vtex-apps/storefront-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vtex-apps/storefront-theme/merges","archive_url":"https://api.github.com/repos/vtex-apps/storefront-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vtex-apps/storefront-theme/downloads","issues_url":"https://api.github.com/repos/vtex-apps/storefront-theme/issues{/number}","pulls_url":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/vtex-apps/storefront-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/vtex-apps/storefront-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vtex-apps/storefront-theme/labels{/name}","releases_url":"https://api.github.com/repos/vtex-apps/storefront-theme/releases{/id}","created_at":"2015-06-25T19:13:48Z","updated_at":"2015-06-26T14:22:04Z","pushed_at":"2015-08-18T22:35:56Z","git_url":"git://github.com/vtex-apps/storefront-theme.git","ssh_url":"git@github.com:vtex-apps/storefront-theme.git","clone_url":"https://github.com/vtex-apps/storefront-theme.git","svn_url":"https://github.com/vtex-apps/storefront-theme","homepage":null,"size":1517,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"vtex-apps:feature-ferafashion","ref":"feature-ferafashion","sha":"512648405d2924f26627201ed9d2198ccccf0617","user":{"login":"vtex-apps","id":12614072,"avatar_url":"https://avatars.githubusercontent.com/u/12614072?v=3","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"repo":{"id":38068776,"name":"storefront-theme","full_name":"vtex-apps/storefront-theme","owner":{"login":"vtex-apps","id":12614072,"avatar_url":"https://avatars.githubusercontent.com/u/12614072?v=3","gravatar_id":"","url":"https://api.github.com/users/vtex-apps","html_url":"https://github.com/vtex-apps","followers_url":"https://api.github.com/users/vtex-apps/followers","following_url":"https://api.github.com/users/vtex-apps/following{/other_user}","gists_url":"https://api.github.com/users/vtex-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/vtex-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtex-apps/subscriptions","organizations_url":"https://api.github.com/users/vtex-apps/orgs","repos_url":"https://api.github.com/users/vtex-apps/repos","events_url":"https://api.github.com/users/vtex-apps/events{/privacy}","received_events_url":"https://api.github.com/users/vtex-apps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vtex-apps/storefront-theme","description":"Default Storefront theme for new VTEX stores","fork":false,"url":"https://api.github.com/repos/vtex-apps/storefront-theme","forks_url":"https://api.github.com/repos/vtex-apps/storefront-theme/forks","keys_url":"https://api.github.com/repos/vtex-apps/storefront-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vtex-apps/storefront-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vtex-apps/storefront-theme/teams","hooks_url":"https://api.github.com/repos/vtex-apps/storefront-theme/hooks","issue_events_url":"https://api.github.com/repos/vtex-apps/storefront-theme/issues/events{/number}","events_url":"https://api.github.com/repos/vtex-apps/storefront-theme/events","assignees_url":"https://api.github.com/repos/vtex-apps/storefront-theme/assignees{/user}","branches_url":"https://api.github.com/repos/vtex-apps/storefront-theme/branches{/branch}","tags_url":"https://api.github.com/repos/vtex-apps/storefront-theme/tags","blobs_url":"https://api.github.com/repos/vtex-apps/storefront-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vtex-apps/storefront-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vtex-apps/storefront-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/vtex-apps/storefront-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vtex-apps/storefront-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/vtex-apps/storefront-theme/languages","stargazers_url":"https://api.github.com/repos/vtex-apps/storefront-theme/stargazers","contributors_url":"https://api.github.com/repos/vtex-apps/storefront-theme/contributors","subscribers_url":"https://api.github.com/repos/vtex-apps/storefront-theme/subscribers","subscription_url":"https://api.github.com/repos/vtex-apps/storefront-theme/subscription","commits_url":"https://api.github.com/repos/vtex-apps/storefront-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/vtex-apps/storefront-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/vtex-apps/storefront-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/vtex-apps/storefront-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/vtex-apps/storefront-theme/contents/{+path}","compare_url":"https://api.github.com/repos/vtex-apps/storefront-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vtex-apps/storefront-theme/merges","archive_url":"https://api.github.com/repos/vtex-apps/storefront-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vtex-apps/storefront-theme/downloads","issues_url":"https://api.github.com/repos/vtex-apps/storefront-theme/issues{/number}","pulls_url":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/vtex-apps/storefront-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/vtex-apps/storefront-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vtex-apps/storefront-theme/labels{/name}","releases_url":"https://api.github.com/repos/vtex-apps/storefront-theme/releases{/id}","created_at":"2015-06-25T19:13:48Z","updated_at":"2015-06-26T14:22:04Z","pushed_at":"2015-08-18T22:35:56Z","git_url":"git://github.com/vtex-apps/storefront-theme.git","ssh_url":"git@github.com:vtex-apps/storefront-theme.git","clone_url":"https://github.com/vtex-apps/storefront-theme.git","svn_url":"https://github.com/vtex-apps/storefront-theme","homepage":null,"size":1517,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/25"},"html":{"href":"https://github.com/vtex-apps/storefront-theme/pull/25"},"issue":{"href":"https://api.github.com/repos/vtex-apps/storefront-theme/issues/25"},"comments":{"href":"https://api.github.com/repos/vtex-apps/storefront-theme/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vtex-apps/storefront-theme/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/vtex-apps/storefront-theme/statuses/30eeb702db9b1c3d15c64bfb7b599b09fecdd278"}}}}