{"action":"created","issue":{"url":"https://api.github.com/repos/STRML/keyMirror/issues/5","labels_url":"https://api.github.com/repos/STRML/keyMirror/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/STRML/keyMirror/issues/5/comments","events_url":"https://api.github.com/repos/STRML/keyMirror/issues/5/events","html_url":"https://github.com/STRML/keyMirror/pull/5","id":74945652,"number":5,"title":"Accept arrays of strings as input and add tests","user":{"login":"ThomWright","id":1884486,"avatar_url":"https://avatars.githubusercontent.com/u/1884486?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomWright","html_url":"https://github.com/ThomWright","followers_url":"https://api.github.com/users/ThomWright/followers","following_url":"https://api.github.com/users/ThomWright/following{/other_user}","gists_url":"https://api.github.com/users/ThomWright/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomWright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomWright/subscriptions","organizations_url":"https://api.github.com/users/ThomWright/orgs","repos_url":"https://api.github.com/users/ThomWright/repos","events_url":"https://api.github.com/users/ThomWright/events{/privacy}","received_events_url":"https://api.github.com/users/ThomWright/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-10T15:54:26Z","updated_at":"2015-09-04T04:04:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/STRML/keyMirror/pulls/5","html_url":"https://github.com/STRML/keyMirror/pull/5","diff_url":"https://github.com/STRML/keyMirror/pull/5.diff","patch_url":"https://github.com/STRML/keyMirror/pull/5.patch"},"body":"Fancy accepting arrays of strings as input, e.g. `map = keyMirror(['blue', 'red'])`?\r\n\r\nTo me this feels less verbose than `map = keyMirror({blue: null, red: null})` but that's just personal preference.\r\n\r\nI understand if this is unnecessary bloat for such a small and elegant library :)\r\n\r\nI also added a small test suite just to sanity check my changes."},"comment":{"url":"https://api.github.com/repos/STRML/keyMirror/issues/comments/137645716","html_url":"https://github.com/STRML/keyMirror/pull/5#issuecomment-137645716","issue_url":"https://api.github.com/repos/STRML/keyMirror/issues/5","id":137645716,"user":{"login":"kentor","id":240493,"avatar_url":"https://avatars.githubusercontent.com/u/240493?v=3","gravatar_id":"","url":"https://api.github.com/users/kentor","html_url":"https://github.com/kentor","followers_url":"https://api.github.com/users/kentor/followers","following_url":"https://api.github.com/users/kentor/following{/other_user}","gists_url":"https://api.github.com/users/kentor/gists{/gist_id}","starred_url":"https://api.github.com/users/kentor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentor/subscriptions","organizations_url":"https://api.github.com/users/kentor/orgs","repos_url":"https://api.github.com/users/kentor/repos","events_url":"https://api.github.com/users/kentor/events{/privacy}","received_events_url":"https://api.github.com/users/kentor/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T04:04:16Z","updated_at":"2015-09-04T04:04:16Z","body":"You're missing the point of keyMirror: https://github.com/facebook/react/issues/1639#issuecomment-45188026"}}