{"action":"closed","issue":{"url":"https://api.github.com/repos/TylorS167/mostly-dom/issues/23","repository_url":"https://api.github.com/repos/TylorS167/mostly-dom","labels_url":"https://api.github.com/repos/TylorS167/mostly-dom/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/TylorS167/mostly-dom/issues/23/comments","events_url":"https://api.github.com/repos/TylorS167/mostly-dom/issues/23/events","html_url":"https://github.com/TylorS167/mostly-dom/issues/23","id":248543129,"number":23,"title":"Hyperscript functions should probably not be too smart about class names","user":{"login":"asabil","id":373231,"avatar_url":"https://avatars1.githubusercontent.com/u/373231?v=4","gravatar_id":"","url":"https://api.github.com/users/asabil","html_url":"https://github.com/asabil","followers_url":"https://api.github.com/users/asabil/followers","following_url":"https://api.github.com/users/asabil/following{/other_user}","gists_url":"https://api.github.com/users/asabil/gists{/gist_id}","starred_url":"https://api.github.com/users/asabil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asabil/subscriptions","organizations_url":"https://api.github.com/users/asabil/orgs","repos_url":"https://api.github.com/users/asabil/repos","events_url":"https://api.github.com/users/asabil/events{/privacy}","received_events_url":"https://api.github.com/users/asabil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-08-07T21:57:45Z","updated_at":"2017-08-18T17:14:50Z","closed_at":"2017-08-18T17:14:50Z","body":"mostly-dom seems to infer whether a parameter is an actual class name or an ID by looking at its first character, and checking whether it is a `.` or a `#`.\r\n\r\nI am not quite certain if this is a wise approach because the following would be non-deterministic:\r\n\r\n`div(someUserGeneratedContent)`\r\n\r\nit will either produce an empty `div` or a `div` with text content depending on the string value."}}
{"actor":{"display_login":"TylorS"}}