Remove redundant WebIDL definitions in framing spec
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Thu, 19 Jul 2012 19:30:57 +0200
changeset 778 62eceab63ea3
parent 777 46718065533a
child 779 f36507ab1612
Remove redundant WebIDL definitions in framing spec

This should make it easier to keep the documents in sync.
spec/latest/json-ld-framing/index.html
--- a/spec/latest/json-ld-framing/index.html	Thu Jul 19 19:19:59 2012 +0200
+++ b/spec/latest/json-ld-framing/index.html	Thu Jul 19 19:30:57 2012 +0200
@@ -485,7 +485,7 @@
             graph <code>@default</code> has to be passed, for the merged graph <code>@merged</code>
             and for any other graph the <tref>IRI</tref> identifying the graph has to be passed. The
             default value is <code>@merged</code>.</dd>
-          <dt>ObjectOrURL? context</dt>
+          <dt>object or URL? context</dt>
           <dd>An optional external context to use additionally to the context embedded in
             <code>input</code> when expanding the <code>input</code>.</dd>
           <dt>JsonLdCallback callback</dt>
@@ -506,20 +506,7 @@
     <h3>JsonLdCallback</h3>
     <p>The <a>JsonLdCallback</a> is used to return a processed JSON-LD representation
       as the result of processing an API method.</p>
-
     <p>See <dtref>JsonLdCallback</dtref> definition in [[!JSON-LD-API]].</p>
-
-    <dl title="[NoInterfaceObject Callback] interface JsonLdCallback"
-        class="idl">
-
-      <dt>void jsonLd()</dt>
-      <dd>This callback is invoked when processing is complete.
-      <dl class="parameters">
-         <dt>ObjectOrObjectArray jsonld</dt>
-         <dd>The processed JSON-LD document.</dd>
-      </dl>
-      </dd>
-    </dl>
   </section>
   </section>
 
@@ -531,22 +518,6 @@
     <h3>JsonLdOptions</h3>
     <p>The <a>JsonLdOptions</a> type is used to convert a set of options to an interface method.</p>
     <p>See <dtref>JsonLdOptions</dtref> definition in [[!JSON-LD-API]].</p>
-    <dl title="typedef object JsonLdOptions" class="idl">
-      <dt><a>URL</a> base</dt>
-      <dd>The Base IRI to use when expanding the document. This overrides the value of
-        <em>input</em> if it is a <a>URL</a> or if it is a <code>object</code> or <code>object[]</code>.</dd>
-      <dt>boolean optimize</dt>
-      <dd>If set to <code>true</code>, the JSON-LD processor is allowed to
-        optimize the output of the <a href="#compaction-algorithm">Compaction Algorithm</a>
-        to produce even compacter representations. The algorithm for compaction
-        optimization is beyond the scope of this specification and thus
-        not defined. Consequently, different implementations MAY implement
-        different optimization algorithms.</dd>
-      <dt>boolean noType</dt>
-      <dd>If set to <code>true</code>, the JSON-LD processor will not use the
-        <code>@type</code> property when generating the output, and will use the
-        expanded <code>rdf:type</code> IRI as the property instead of <code>@type</code>.</dd>
-    </dl>
     </section>
   </section>
 
@@ -1188,15 +1159,15 @@
 <section class="appendix">
 <h1>Acknowledgements</h1>
 
-<p>A large amount of thanks goes out to the JSON-LD Community Group 
+<p>A large amount of thanks goes out to the JSON-LD Community Group
 participants who worked through many of the technical issues on the mailing
-list and the weekly telecons - of special mention are Niklas Lindström, 
+list and the weekly telecons - of special mention are Niklas Lindström,
 François Daoust, and Zdenko 'Denny' Vrandečić.
 The editors would like to thank Mark Birbeck, who provided a great deal of
 the initial push behind the JSON-LD work via his work on RDFj.
 The work of Dave Lehn and Mike Johnson are appreciated for reviewing,
 and performing several implementations of the specification. Ian Davis is
-thanked for this work on RDF/JSON. Thanks also to Nathan Rixham, 
+thanked for this work on RDF/JSON. Thanks also to Nathan Rixham,
 Bradley P. Allen,
 Kingsley Idehen, Glenn McDonald, Alexandre Passant, Danny Ayers, Ted
 Thibodeau Jr., Olivier Grisel, Josh Mandel, Eric Prud'hommeaux,