projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
628a0e0
)
docs/Roo.docs.template.js
author
Alan Knowles
<alan@roojs.com>
Tue, 3 Aug 2021 09:23:39 +0000
(17:23 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 3 Aug 2021 09:23:39 +0000
(17:23 +0800)
docs/Roo.docs.template.js
patch
|
blob
|
history
diff --git
a/docs/Roo.docs.template.js
b/docs/Roo.docs.template.js
index
0106570
..
651107b
100644
(file)
--- a/
docs/Roo.docs.template.js
+++ b/
docs/Roo.docs.template.js
@@
-143,22
+143,22
@@
Roo.docs.template = {
if (data.isSingleton) {
if (data.isSingleton) {
-
if ($.isStatic
&& $.memberOf != data.name) { // it's a singleton - can not inherit static methods.
- return true;
- }
+
if ($.isStatic && $.memberOf.length
&& $.memberOf != data.name) { // it's a singleton - can not inherit static methods.
+
return true;
+
}
-
$.isInherited = (
$.memberOf != data.name);
- ownMethods.push($);
- return true;
+
$.isInherited = ($.memberOf.length &&
$.memberOf != data.name);
+
ownMethods.push($);
+
return true;
}
}
- if (
(
$.memberOf != data.name) && $.isStatic){
- return true;
+ if (
$.memberOf.length &&
$.memberOf != data.name) && $.isStatic){
+
return true;
}
if ($.isStatic) {
}
if ($.isStatic) {
- $.isInherited = ($.memberOf != data.name);
- ownMethods.push($);
+
$.isInherited = ($.memberOf != data.name);
+
ownMethods.push($);
}
return true;
}
return true;