{"action":"closed","issue":{"url":"https://api.github.com/repos/cure53/DOMPurify/issues/49","labels_url":"https://api.github.com/repos/cure53/DOMPurify/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/cure53/DOMPurify/issues/49/comments","events_url":"https://api.github.com/repos/cure53/DOMPurify/issues/49/events","html_url":"https://github.com/cure53/DOMPurify/issues/49","id":64323060,"number":49,"title":"More powerful and simple Hook API","user":{"login":"cure53","id":6709482,"avatar_url":"https://avatars.githubusercontent.com/u/6709482?v=3","gravatar_id":"","url":"https://api.github.com/users/cure53","html_url":"https://github.com/cure53","followers_url":"https://api.github.com/users/cure53/followers","following_url":"https://api.github.com/users/cure53/following{/other_user}","gists_url":"https://api.github.com/users/cure53/gists{/gist_id}","starred_url":"https://api.github.com/users/cure53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cure53/subscriptions","organizations_url":"https://api.github.com/users/cure53/orgs","repos_url":"https://api.github.com/users/cure53/repos","events_url":"https://api.github.com/users/cure53/events{/privacy}","received_events_url":"https://api.github.com/users/cure53/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-25T17:13:18Z","updated_at":"2015-04-21T09:18:08Z","closed_at":"2015-04-21T09:18:08Z","body":"After having worked with the hooks for a while, I think we could make them more powerful. \r\n\r\nFor example, I don't want to repeat the whole process of determining whether an attribute is an attribute and the node is a node.\r\n\r\nI was thus thinking about passing a meta object with every hook call, that passes along some relevant info about the element/attribute to inspect. Any thoughts?"}}