API updated to use Futures - request for review

Hi all,

Based on previous feedback, we decided to update the JSON-LD API to use
Futures instead of callbacks. I would like to kindly ask you to review the
"new" API. You can find the latest version at

   http://json-ld.org/spec/latest/json-ld-api/


I also have a question for the JavaScript experts. We use idlharness.js to
test the conformance of implementations. We have a JavaScript implementation
that we test at:

   http://json-ld.org/test-suite/idltest/

As you'll see, it passes all tests except the one testing the prototype
object:

    Fail JsonLdProcessor interface: existence and properties of
         Interface prototype object

    assert_equals: String(JsonLdProcessor.prototype) expected 
    "[object JsonLdProcessorPrototype]" but got "[object JsonLdProcessor]"

Is there any way to pass this test with a JavaScript implementation?


Thank you very much,
Markus



--
Markus Lanthaler
@markuslanthaler

Received on Sunday, 5 May 2013 17:16:44 UTC