[Bug 21640] Dictionaries and callbacks should be distinguishable

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21640

Markus Lanthaler <mark_lanthaler@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark_lanthaler@gmx.net

--- Comment #1 from Markus Lanthaler <mark_lanthaler@gmx.net> ---
Just a quick heads up: Assuming that this is indeed a bug, we used method
overloading to define the JsonLdProcessor interface in the JSON-LD
specification which just went into Last Call
(http://www.w3.org/TR/2013/WD-json-ld-api-20130411/#the-jsonldprocessor-interface).

There would be no other way to make the "options" parameter optional and have
the callback as last parameter:

  void compact (JsonLdInput input, JsonLdContext context, JsonLdOptions
options, JsonLdCallback callback);

JsonLdOptions is a dictionary

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 12 April 2013 09:57:48 UTC