Skip to content


Order of parameters (options or callback last) #240

lanthaler opened this Issue · 2 comments

1 participant

JSON-LD Public Repositories member

Raised by Boris Zbarsky:

In "web" specs and libraries it seems to be the common style to put
options objects as the last argument of a method.

I am given to understand that "Node" style is to put the callback, if
any, as the last argument, and that json-ld is following that style
here. But it's not obvious why that's preferable to following "web"
style for this particular specification.


@lanthaler lanthaler added a commit that referenced this issue
@lanthaler lanthaler Remove issue marker: we decided to use Futures
This addresses #240.
JSON-LD Public Repositories member

RESOLVED: Address ISSUE-125 by adopting a Futures-based approach for the JSON-LD API.

JSON-LD Public Repositories member

Closing this issue as it is being tracked in the RDF issue tracker:

@lanthaler lanthaler closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.