[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.