{"action":"opened","number":106,"pull_request":{"url":"https://api.github.com/repos/rofrischmann/react-look/pulls/106","id":46852782,"html_url":"https://github.com/rofrischmann/react-look/pull/106","diff_url":"https://github.com/rofrischmann/react-look/pull/106.diff","patch_url":"https://github.com/rofrischmann/react-look/pull/106.patch","issue_url":"https://api.github.com/repos/rofrischmann/react-look/issues/106","number":106,"state":"open","locked":false,"title":"Null equal condition fix","user":{"login":"wyze","id":186971,"avatar_url":"https://avatars.githubusercontent.com/u/186971?v=3","gravatar_id":"","url":"https://api.github.com/users/wyze","html_url":"https://github.com/wyze","followers_url":"https://api.github.com/users/wyze/followers","following_url":"https://api.github.com/users/wyze/following{/other_user}","gists_url":"https://api.github.com/users/wyze/gists{/gist_id}","starred_url":"https://api.github.com/users/wyze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyze/subscriptions","organizations_url":"https://api.github.com/users/wyze/orgs","repos_url":"https://api.github.com/users/wyze/repos","events_url":"https://api.github.com/users/wyze/events{/privacy}","received_events_url":"https://api.github.com/users/wyze/received_events","type":"User","site_admin":false},"body":"I found a bug when one of my properties was null and trying to evaluate it in the properties.\r\n\r\nMy styles looked like this:\r\n\r\n```js\r\n  styles = {\r\n    error: {\r\n      backgroundColor: '#ff4136',\r\n      color: '#ffffff',\r\n      padding: '20px 10px',\r\n      fontSize: '1.25rem',\r\n      'error=undefined': {\r\n        display: 'none',\r\n      },\r\n    },\r\n  }\r\n```\r\n\r\nAnd somehow the `error` prop came in as null and was throwing an exception when trying to call `.toString()` on `null`.\r\n\r\nI committed first a failing test, and then the code to make the test pass.","created_at":"2015-10-06T01:04:45Z","updated_at":"2015-10-06T01:04:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rofrischmann/react-look/pulls/106/commits","review_comments_url":"https://api.github.com/repos/rofrischmann/react-look/pulls/106/comments","review_comment_url":"https://api.github.com/repos/rofrischmann/react-look/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rofrischmann/react-look/issues/106/comments","statuses_url":"https://api.github.com/repos/rofrischmann/react-look/statuses/92a2c4359def4dab5d368247ac11672b879e479d","head":{"label":"wyze:null-equal-condition","ref":"null-equal-condition","sha":"92a2c4359def4dab5d368247ac11672b879e479d","user":{"login":"wyze","id":186971,"avatar_url":"https://avatars.githubusercontent.com/u/186971?v=3","gravatar_id":"","url":"https://api.github.com/users/wyze","html_url":"https://github.com/wyze","followers_url":"https://api.github.com/users/wyze/followers","following_url":"https://api.github.com/users/wyze/following{/other_user}","gists_url":"https://api.github.com/users/wyze/gists{/gist_id}","starred_url":"https://api.github.com/users/wyze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyze/subscriptions","organizations_url":"https://api.github.com/users/wyze/orgs","repos_url":"https://api.github.com/users/wyze/repos","events_url":"https://api.github.com/users/wyze/events{/privacy}","received_events_url":"https://api.github.com/users/wyze/received_events","type":"User","site_admin":false},"repo":{"id":43665483,"name":"react-look","full_name":"wyze/react-look","owner":{"login":"wyze","id":186971,"avatar_url":"https://avatars.githubusercontent.com/u/186971?v=3","gravatar_id":"","url":"https://api.github.com/users/wyze","html_url":"https://github.com/wyze","followers_url":"https://api.github.com/users/wyze/followers","following_url":"https://api.github.com/users/wyze/following{/other_user}","gists_url":"https://api.github.com/users/wyze/gists{/gist_id}","starred_url":"https://api.github.com/users/wyze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyze/subscriptions","organizations_url":"https://api.github.com/users/wyze/orgs","repos_url":"https://api.github.com/users/wyze/repos","events_url":"https://api.github.com/users/wyze/events{/privacy}","received_events_url":"https://api.github.com/users/wyze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wyze/react-look","description":"Processable, dynamic & stateful Component Styling for React & React Native","fork":true,"url":"https://api.github.com/repos/wyze/react-look","forks_url":"https://api.github.com/repos/wyze/react-look/forks","keys_url":"https://api.github.com/repos/wyze/react-look/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wyze/react-look/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wyze/react-look/teams","hooks_url":"https://api.github.com/repos/wyze/react-look/hooks","issue_events_url":"https://api.github.com/repos/wyze/react-look/issues/events{/number}","events_url":"https://api.github.com/repos/wyze/react-look/events","assignees_url":"https://api.github.com/repos/wyze/react-look/assignees{/user}","branches_url":"https://api.github.com/repos/wyze/react-look/branches{/branch}","tags_url":"https://api.github.com/repos/wyze/react-look/tags","blobs_url":"https://api.github.com/repos/wyze/react-look/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wyze/react-look/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wyze/react-look/git/refs{/sha}","trees_url":"https://api.github.com/repos/wyze/react-look/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wyze/react-look/statuses/{sha}","languages_url":"https://api.github.com/repos/wyze/react-look/languages","stargazers_url":"https://api.github.com/repos/wyze/react-look/stargazers","contributors_url":"https://api.github.com/repos/wyze/react-look/contributors","subscribers_url":"https://api.github.com/repos/wyze/react-look/subscribers","subscription_url":"https://api.github.com/repos/wyze/react-look/subscription","commits_url":"https://api.github.com/repos/wyze/react-look/commits{/sha}","git_commits_url":"https://api.github.com/repos/wyze/react-look/git/commits{/sha}","comments_url":"https://api.github.com/repos/wyze/react-look/comments{/number}","issue_comment_url":"https://api.github.com/repos/wyze/react-look/issues/comments{/number}","contents_url":"https://api.github.com/repos/wyze/react-look/contents/{+path}","compare_url":"https://api.github.com/repos/wyze/react-look/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wyze/react-look/merges","archive_url":"https://api.github.com/repos/wyze/react-look/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wyze/react-look/downloads","issues_url":"https://api.github.com/repos/wyze/react-look/issues{/number}","pulls_url":"https://api.github.com/repos/wyze/react-look/pulls{/number}","milestones_url":"https://api.github.com/repos/wyze/react-look/milestones{/number}","notifications_url":"https://api.github.com/repos/wyze/react-look/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wyze/react-look/labels{/name}","releases_url":"https://api.github.com/repos/wyze/react-look/releases{/id}","created_at":"2015-10-05T04:38:38Z","updated_at":"2015-10-05T04:38:39Z","pushed_at":"2015-10-06T00:59:33Z","git_url":"git://github.com/wyze/react-look.git","ssh_url":"git@github.com:wyze/react-look.git","clone_url":"https://github.com/wyze/react-look.git","svn_url":"https://github.com/wyze/react-look","homepage":"","size":2848,"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":"develop"}},"base":{"label":"rofrischmann:develop","ref":"develop","sha":"f6b78e5d3d786596b85632be087aeab092a8a71c","user":{"login":"rofrischmann","id":10060928,"avatar_url":"https://avatars.githubusercontent.com/u/10060928?v=3","gravatar_id":"","url":"https://api.github.com/users/rofrischmann","html_url":"https://github.com/rofrischmann","followers_url":"https://api.github.com/users/rofrischmann/followers","following_url":"https://api.github.com/users/rofrischmann/following{/other_user}","gists_url":"https://api.github.com/users/rofrischmann/gists{/gist_id}","starred_url":"https://api.github.com/users/rofrischmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rofrischmann/subscriptions","organizations_url":"https://api.github.com/users/rofrischmann/orgs","repos_url":"https://api.github.com/users/rofrischmann/repos","events_url":"https://api.github.com/users/rofrischmann/events{/privacy}","received_events_url":"https://api.github.com/users/rofrischmann/received_events","type":"User","site_admin":false},"repo":{"id":37074194,"name":"react-look","full_name":"rofrischmann/react-look","owner":{"login":"rofrischmann","id":10060928,"avatar_url":"https://avatars.githubusercontent.com/u/10060928?v=3","gravatar_id":"","url":"https://api.github.com/users/rofrischmann","html_url":"https://github.com/rofrischmann","followers_url":"https://api.github.com/users/rofrischmann/followers","following_url":"https://api.github.com/users/rofrischmann/following{/other_user}","gists_url":"https://api.github.com/users/rofrischmann/gists{/gist_id}","starred_url":"https://api.github.com/users/rofrischmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rofrischmann/subscriptions","organizations_url":"https://api.github.com/users/rofrischmann/orgs","repos_url":"https://api.github.com/users/rofrischmann/repos","events_url":"https://api.github.com/users/rofrischmann/events{/privacy}","received_events_url":"https://api.github.com/users/rofrischmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rofrischmann/react-look","description":"Processable, dynamic & stateful Component Styling for React & React Native","fork":false,"url":"https://api.github.com/repos/rofrischmann/react-look","forks_url":"https://api.github.com/repos/rofrischmann/react-look/forks","keys_url":"https://api.github.com/repos/rofrischmann/react-look/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rofrischmann/react-look/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rofrischmann/react-look/teams","hooks_url":"https://api.github.com/repos/rofrischmann/react-look/hooks","issue_events_url":"https://api.github.com/repos/rofrischmann/react-look/issues/events{/number}","events_url":"https://api.github.com/repos/rofrischmann/react-look/events","assignees_url":"https://api.github.com/repos/rofrischmann/react-look/assignees{/user}","branches_url":"https://api.github.com/repos/rofrischmann/react-look/branches{/branch}","tags_url":"https://api.github.com/repos/rofrischmann/react-look/tags","blobs_url":"https://api.github.com/repos/rofrischmann/react-look/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rofrischmann/react-look/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rofrischmann/react-look/git/refs{/sha}","trees_url":"https://api.github.com/repos/rofrischmann/react-look/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rofrischmann/react-look/statuses/{sha}","languages_url":"https://api.github.com/repos/rofrischmann/react-look/languages","stargazers_url":"https://api.github.com/repos/rofrischmann/react-look/stargazers","contributors_url":"https://api.github.com/repos/rofrischmann/react-look/contributors","subscribers_url":"https://api.github.com/repos/rofrischmann/react-look/subscribers","subscription_url":"https://api.github.com/repos/rofrischmann/react-look/subscription","commits_url":"https://api.github.com/repos/rofrischmann/react-look/commits{/sha}","git_commits_url":"https://api.github.com/repos/rofrischmann/react-look/git/commits{/sha}","comments_url":"https://api.github.com/repos/rofrischmann/react-look/comments{/number}","issue_comment_url":"https://api.github.com/repos/rofrischmann/react-look/issues/comments{/number}","contents_url":"https://api.github.com/repos/rofrischmann/react-look/contents/{+path}","compare_url":"https://api.github.com/repos/rofrischmann/react-look/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rofrischmann/react-look/merges","archive_url":"https://api.github.com/repos/rofrischmann/react-look/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rofrischmann/react-look/downloads","issues_url":"https://api.github.com/repos/rofrischmann/react-look/issues{/number}","pulls_url":"https://api.github.com/repos/rofrischmann/react-look/pulls{/number}","milestones_url":"https://api.github.com/repos/rofrischmann/react-look/milestones{/number}","notifications_url":"https://api.github.com/repos/rofrischmann/react-look/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rofrischmann/react-look/labels{/name}","releases_url":"https://api.github.com/repos/rofrischmann/react-look/releases{/id}","created_at":"2015-06-08T15:07:45Z","updated_at":"2015-10-01T14:32:15Z","pushed_at":"2015-10-05T17:26:36Z","git_url":"git://github.com/rofrischmann/react-look.git","ssh_url":"git@github.com:rofrischmann/react-look.git","clone_url":"https://github.com/rofrischmann/react-look.git","svn_url":"https://github.com/rofrischmann/react-look","homepage":"","size":2848,"stargazers_count":35,"watchers_count":35,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":10,"forks":5,"open_issues":10,"watchers":35,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/rofrischmann/react-look/pulls/106"},"html":{"href":"https://github.com/rofrischmann/react-look/pull/106"},"issue":{"href":"https://api.github.com/repos/rofrischmann/react-look/issues/106"},"comments":{"href":"https://api.github.com/repos/rofrischmann/react-look/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/rofrischmann/react-look/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/rofrischmann/react-look/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rofrischmann/react-look/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/rofrischmann/react-look/statuses/92a2c4359def4dab5d368247ac11672b879e479d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":9,"deletions":6,"changed_files":2}}