W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

[Bug 21640] Dictionaries and callbacks should be distinguishable

From: <bugzilla@jessica.w3.org>
Date: Fri, 12 Apr 2013 09:57:46 +0000
To: public-script-coord@w3.org
Message-ID: <bug-21640-3890-1oEMd8wkPV@http.www.w3.org/Bugs/Public/>
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 on the CC list for the bug.
Received on Friday, 12 April 2013 09:58:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:48 UTC