WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH 4 of 5] HTML code docs: Compatibility improvements

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 4 of 5] HTML code docs: Compatibility improvements
From: Rob Hoes <rob.hoes@xxxxxxxxxx>
Date: Fri, 18 Jun 2010 14:07:58 +0100
Delivery-date: Fri, 18 Jun 2010 06:17:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1276866474@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1276866474@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
 ocaml/doc/ocamldoc.js |  26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)


# HG changeset patch
# User Rob Hoes <rob.hoes@xxxxxxxxxx>
# Date 1276866461 -3600
# Node ID e03e6837ff40e9b249aca50e36237339b3864438
# Parent  537aeec5ad8343195185697d4d68113ddc48f11c
HTML code docs: Compatibility improvements

Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx>

diff -r 537aeec5ad83 -r e03e6837ff40 ocaml/doc/ocamldoc.js
--- a/ocaml/doc/ocamldoc.js
+++ b/ocaml/doc/ocamldoc.js
@@ -316,41 +316,41 @@
        types = [];
        module_types = [];
        for (i in structure) {
-               item = structure[i];
-               for (j in item) {
+               el = structure[i];
+               for (j in el) {
                        switch (j) {
                        case 'module':
-                               included_module(item[j], i);
-                               l = item[j].name.split('.');
+                               included_module(el[j], i);
+                               l = el[j].name.split('.');
                                name = l[l.length - 1];
                                included_modules.push(name);
                                break;
                        case 'value':
-                               value(item[j], i);
-                               l = item[j].name.split('.');
+                               value(el[j], i);
+                               l = el[j].name.split('.');
                                name = l[l.length - 1];
                                values.push(name);
                                break;
                        case 'exception':
-                               exception(item[j], i);
-                               l = item[j].name.split('.');
+                               exception(el[j], i);
+                               l = el[j].name.split('.');
                                name = l[l.length - 1];
                                exceptions.push(name);
                                break;
                        case 'type':
-                               type(item[j], i);
-                               l = item[j].name.split('.');
+                               type(el[j], i);
+                               l = el[j].name.split('.');
                                name = l[l.length - 1];
                                types.push(name);
                                break;
                        case 'module_type':
-                               module_type(item[j], i);
-                               l = item[j].name.split('.');
+                               module_type(el[j], i);
+                               l = el[j].name.split('.');
                                name = l[l.length - 1];
                                module_types.push(name);
                                break;
                        case 'comment':
-                               comment(item[j], i);
+                               comment(el[j], i);
                                break;
                        default: break;
                        }
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api