| 06:11 | <mason___> | I can't find where in the spec it shows that a function can be used as the second argument of addEventListener. any help? |
| 07:04 | <deltab> | mason___: how formal do you want it? |
| 07:04 | <deltab> | https://dom.spec.whatwg.org/#introduction-to-dom-events shows addEventListener being called with a function |
| 07:06 | <deltab> | but the DOM spec isn't just for JavaScript, so it abstracts the idea of a callback function into an interface |
| 07:07 | <deltab> | as you can see at https://dom.spec.whatwg.org/#interface-eventtarget |
| 07:18 | <mason___> | I was looking for something formal. but based on what you just said, maybe the JavaScript function special case is spec'd elsewhere? |
| 07:20 | <deltab> | it's specified as an EventListener there, a 'callback interface', which is defined for JavaScript in https://www.w3.org/TR/WebIDL/#es-user-objects |
| 07:22 | <deltab> | it doesn't have to be a function; it can also be an object with a handleEvent method |
| 07:23 | <mason___> | ah, there it is. thank you :) |
| 18:18 | <HughP> | Has anyone heard of any discussion to add MARC relator terms to html5 meta tags? Presumably via refinement of DC.Contributor. |
| 18:27 | <HughP> | Also how do I get an account to make a proposal? |