W3C home > Mailing lists > Public > public-html-diffs@w3.org > July 2011

microdata; hixie: explain about json extensibility (whatwg r6283)

From: poot <cvsmail@w3.org>
Date: Thu, 07 Jul 2011 19:33:08 -0400
To: public-html-diffs@w3.org
Message-Id: <E1Qey4C-0007Wt-BO@jay.w3.org>
microdata; hixie: explain about json extensibility (whatwg r6283)

http://dev.w3.org/cvsweb/html5/md/Overview.html?r1=1.143&r2=1.144&f=h
http://html5.org/tools/web-apps-tracker?from=6282&to=6283

===================================================================
RCS file: /sources/public/html5/md/Overview.html,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- Overview.html	7 Jul 2011 23:12:04 -0000	1.143
+++ Overview.html	7 Jul 2011 23:32:45 -0000	1.144
@@ -1542,7 +1542,12 @@
    <li><p>Return the result of serializing <var title="">result</var>
    to JSON.</li>
 
-  </ol><p>When the user agent is to <dfn id="get-the-object">get the object</dfn> for an item
+  </ol><p class="note">This algorithm returns an object with a single
+  property that is an array, instead of just returning an array, so
+  that it is possible to extend the algorithm in the future if
+  necessary.</p>
+
+  <p>When the user agent is to <dfn id="get-the-object">get the object</dfn> for an item
   <var title="">item</var>, optionally with a list of elements <var title="">memory</var>, it must run the following substeps:</p>
 
   <ol><li><p>Let <var title="">result</var> be an empty object.</li>
Received on Thursday, 7 July 2011 23:33:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 7 July 2011 23:33:11 GMT