Index: scripts/doxygen.js |
diff --git a/scripts/doxygen.js b/scripts/doxygen.js |
index 8d8138b1d15aaaf537519baaa8168b100c6e1ce9..44e4d795a35e9f485e6c946e463b106bfd96c931 100644 |
--- a/scripts/doxygen.js |
+++ b/scripts/doxygen.js |
@@ -27,17 +27,17 @@ function process_js(ast, f) { |
} |
let toplevel = clean_ast(ast); |
associate_comments(f, toplevel); |
- for each (let v in toplevel.variables) { |
+ for (let v of toplevel.variables) { |
if (v.comment) |
_print(v.comment); |
_print(loc(v.loc) + " VARIABLE " + v.name); |
} |
- for each (let v in toplevel.constants) { |
+ for (let v of toplevel.constants) { |
if (v.comment) |
_print(v.comment); |
_print(loc(v.loc) + " CONST " + v.name); |
} |
- for each (let v in toplevel.objects) { |
+ for (let v of toplevel.objects) { |
divine_inheritance(v, toplevel.constants); |
if (v.comment) |
_print(v.comment); |
@@ -54,7 +54,7 @@ function process_js(ast, f) { |
} |
_print("CLASS END"); |
} |
- for each (let v in toplevel.classes) { |
+ for (let v of toplevel.classes) { |
divine_inheritance(v, toplevel.constants); |
if (v.constructor && v.constructor.comment) |
_print(v.constructor.comment); |
@@ -73,7 +73,7 @@ function process_js(ast, f) { |
} |
_print("CLASS END"); |
} |
- for each (let v in toplevel.functions) { |
+ for (let v of toplevel.functions) { |
if (v.comment) |
_print(v.comment); |
_print(loc(v.loc) + " FUNCTION " + v.name); |