{"action":"created","issue":{"url":"https://api.github.com/repos/chrisdickinson/cssauron/issues/6","labels_url":"https://api.github.com/repos/chrisdickinson/cssauron/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/chrisdickinson/cssauron/issues/6/comments","events_url":"https://api.github.com/repos/chrisdickinson/cssauron/issues/6/events","html_url":"https://github.com/chrisdickinson/cssauron/pull/6","id":63516752,"number":6,"title":"Case-insensitive element names","user":{"login":"joshski","id":22017,"avatar_url":"https://avatars.githubusercontent.com/u/22017?v=3","gravatar_id":"","url":"https://api.github.com/users/joshski","html_url":"https://github.com/joshski","followers_url":"https://api.github.com/users/joshski/followers","following_url":"https://api.github.com/users/joshski/following{/other_user}","gists_url":"https://api.github.com/users/joshski/gists{/gist_id}","starred_url":"https://api.github.com/users/joshski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshski/subscriptions","organizations_url":"https://api.github.com/users/joshski/orgs","repos_url":"https://api.github.com/users/joshski/repos","events_url":"https://api.github.com/users/joshski/events{/privacy}","received_events_url":"https://api.github.com/users/joshski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-22T10:02:26Z","updated_at":"2016-01-23T10:34:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chrisdickinson/cssauron/pulls/6","html_url":"https://github.com/chrisdickinson/cssauron/pull/6","diff_url":"https://github.com/chrisdickinson/cssauron/pull/6.diff","patch_url":"https://github.com/chrisdickinson/cssauron/pull/6.patch"},"body":"I'm matching elements in a virtual-dom (via [vtree-select](https://github.com/parshap/vtree-select)). It's working nicely, thanks to cssauron!\r\n\r\nI can't guarantee the case of the matched element names and since [HTML element names are case-insensitive](http://www.w3.org/TR/CSS21/selector.html) it would be convenient if cssauron would support case-insensitive element names.\r\n\r\nThis change allows overriding how cssauron evaluates match equality in general, which is more than I need, but may be useful in other cases? I'm happy to change the API if you think not."},"comment":{"url":"https://api.github.com/repos/chrisdickinson/cssauron/issues/comments/174169324","html_url":"https://github.com/chrisdickinson/cssauron/pull/6#issuecomment-174169324","issue_url":"https://api.github.com/repos/chrisdickinson/cssauron/issues/6","id":174169324,"user":{"login":"dereke","id":144922,"avatar_url":"https://avatars.githubusercontent.com/u/144922?v=3","gravatar_id":"","url":"https://api.github.com/users/dereke","html_url":"https://github.com/dereke","followers_url":"https://api.github.com/users/dereke/followers","following_url":"https://api.github.com/users/dereke/following{/other_user}","gists_url":"https://api.github.com/users/dereke/gists{/gist_id}","starred_url":"https://api.github.com/users/dereke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereke/subscriptions","organizations_url":"https://api.github.com/users/dereke/orgs","repos_url":"https://api.github.com/users/dereke/repos","events_url":"https://api.github.com/users/dereke/events{/privacy}","received_events_url":"https://api.github.com/users/dereke/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T10:34:54Z","updated_at":"2016-01-23T10:34:54Z","body":"@chrisdickinson any chance you could merge this?"}}