Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support callbacks... #103

Closed
mounirlamouri opened this issue Nov 22, 2012 · 3 comments
Closed

Support callbacks... #103

mounirlamouri opened this issue Nov 22, 2012 · 3 comments
Milestone

Comments

@mounirlamouri
Copy link
Member

... as defined in WebIDL: http://dev.w3.org/2006/webapi/WebIDL/#dfn-callback-function

@darobin
Copy link
Member

darobin commented Dec 3, 2012

Do these not work for you?

Basic:
<dl id='cb-basic' class='idl' title='callback SuperStar = void'></dl>

With params:
<dl id='cb-less-basic' class='idl' title='callback SuperStar = unsigned long long?'>
<dt>optional any value</dt>
<dd>1</dd>
</dl>

@mounirlamouri
Copy link
Member Author

On 03/12/12 12:06, Robin Berjon wrote:

Do these not work for you?

Basic:

With params:

optional any value
1

Indeed, it's working. However, I haven't seen that in the docs (though,
it might have been out-dated docs) and I tried this syntax:

I'm fine with the current syntax but it should be documented if it is not.

@darobin
Copy link
Member

darobin commented Dec 3, 2012

Oh you want documentation now? Silly boy.

(yeah yeah I know)

@darobin darobin closed this as completed Dec 3, 2012
shikhar-scs pushed a commit to shikhar-scs/respec that referenced this issue Feb 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants