We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea5d88e commit f1f98d3Copy full SHA for f1f98d3
1 file changed
scripts/api.js
@@ -56,15 +56,10 @@
56
ctor.functions = ctor.functions || ctor.fields;
57
}
58
59
- (ctor.functions||[]).forEach(function(func) {
+ (ctor.functions||[]).filter(Boolean).forEach(function(func) {
60
var isPrototype = func.isPrototypeMethod ? "#" : ".";
61
anchor.find(".subnav").append("<a href='#" + ctor.jsClassName + "/function/" + func.jsFunctionName + "'><li>" + ctor.jsClassName + isPrototype + func.jsFunctionName + "</li></a>");
62
});
63
-
64
- (ctor.fields||[]).forEach(function(field) {
65
- var isPrototype = "#";
66
- anchor.find(".subnav").append("<a href='#" + ctor.jsClassName + "/function/" + func.jsFunctionName + "'><li>" + ctor.jsClassName + isPrototype + func.jsFunctionName + "</li></a>");
67
- });
68
69
70
// Size the navigation bar correctly.
0 commit comments