Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Order of parameters (options or callback last) #240

Closed
lanthaler opened this Issue · 2 comments

1 participant

@lanthaler
Owner

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.

-Boris

@lanthaler
Owner

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

@lanthaler
Owner

Closing this issue as it is being tracked in the RDF issue tracker: http://www.w3.org/2011/rdf-wg/track/issues/124

@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.