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

Use maplike<K, V> instead of custome methods / attrs. #122

Merged
merged 1 commit into from
Mar 3, 2015
Merged

Use maplike<K, V> instead of custome methods / attrs. #122

merged 1 commit into from
Mar 3, 2015

Conversation

yutakahirano
Copy link

WebIDL now supports maplike member and WebMIDI should use it. #115
As ReSpec has not support it yet, this change uses a custom script as a
workaround. This should be fixed when ReSpec supports maplike.

WebIDL now supports maplike member and WebMIDI should use it. #115
As ReSpec has not support it yet, this change uses a custom script as a
workaround. This should be fixed when ReSpec supports maplike.
@yutakahirano
Copy link
Author

The script runs as follows.

  • If the browser doesn't support MutationObserver, do nothing (i.e. maplike<...> doesn't appear in the idl). The descriptions "... as a maplike interface readonly maplike<DOMString, MIDIInput> whose key is ..." remain valid.
  • Otherwise, insert "readonly maplike<DOMString, MIDI[Input|Output]>;" into the IDL when ReSpec creates it.

cwilso added a commit that referenced this pull request Mar 3, 2015
Use maplike<K, V> instead of custome methods / attrs.
@cwilso cwilso merged commit 5713cf3 into WebAudio:gh-pages Mar 3, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants