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

html5/md Overview.html,1.143,1.144

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 07 Jul 2011 23:32:47 +0000
To: public-html-commits@w3.org
Message-Id: <E1Qey3r-0001Fi-WE@lionel-hutz.w3.org>
Update of /sources/public/html5/md
In directory hutz:/tmp/cvs-serv4798

Modified Files:
	Overview.html 
Log Message:
explain about json extensibility (whatwg r6283)

Index: Overview.html
===================================================================
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:32:52 GMT

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