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
|