Use WebIDL's new callback construct for JsonLdCallback
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Fri, 14 Dec 2012 17:38:10 +0100
changeset 1045 670da05a32aa
parent 1044 cc80407817a6
child 1046 66dfafdf3201
Use WebIDL's new callback construct for JsonLdCallback

This addresses #200.
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Fri Dec 14 17:13:49 2012 +0100
+++ b/spec/latest/json-ld-api/index.html	Fri Dec 14 17:38:10 2012 +0100
@@ -1965,22 +1965,14 @@
       <p>The <a>JsonLdCallback</a> is used to return a processed JSON-LD
         representation as the result of processing an API method.</p>
 
-      <dl title="[NoInterfaceObject Callback] interface JsonLdCallback"
-          class="idl">
-
-        <dt>void processingComplete()</dt>
-        <dd>This callback is invoked when processing is complete.
-        <dl class="parameters">
-           <dt>JsonLdProcessingError error</dt>
-           <dd>If the value is <code>null</code>, then no error occurred. If
-             the value is non-<code>null</code>, a processing error occurred
-             and the details will be contained within the <code>error</code>
-             object.
-           </dd>
-           <dt>object or object[] document</dt>
-           <dd>The processed JSON-LD document.</dd>
-        </dl>
-        </dd>
+      <dl title="callback JsonLdCallback = void" class="idl">
+        <dt>JsonLdProcessingError error</dt>
+        <dd>If the value is <code>null</code>, then no error occurred. If
+          the value is non-<code>null</code>, a processing error occurred
+          and the details will be contained within the <code>error</code>
+          object.</dd>
+        <dt>object or object[] document</dt>
+        <dd>The processed JSON-LD document.</dd>
       </dl>
     </section>
   </section>