projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5b558a2
)
docs/Roo.docs.template.js
author
Alan Knowles
<alan@roojs.com>
Tue, 3 Aug 2021 09:26:29 +0000
(17:26 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 3 Aug 2021 09:26:29 +0000
(17:26 +0800)
docs/Roo.docs.template.js
patch
|
blob
|
history
diff --git
a/docs/Roo.docs.template.js
b/docs/Roo.docs.template.js
index
fcf4d7d
..
fcbb1af
100644
(file)
--- a/
docs/Roo.docs.template.js
+++ b/
docs/Roo.docs.template.js
@@
-138,31
+138,33
@@
Roo.docs.template = {
msorted.filter(
function($){
msorted.filter(
function($){
+ if (!$.memberOf.length) {
+ $.memberOf = data.name;
+ }
-
- if (data.isSingleton) {
-
- if ($.isStatic && $.memberOf.length && $.memberOf != data.name) { // it's a singleton - can not inherit static methods.
+ if (data.isSingleton) {
+
+ if ($.isStatic && $.memberOf != data.name) { // it's a singleton - can not inherit static methods.
+ return true;
+ }
+
+ $.isInherited = (memberOf != data.name);
+ ownMethods.push($);
return true;
}
return true;
}
-
- $.isInherited = ($.memberOf.length && $.memberOf != data.name);
- ownMethods.push($);
- return true;
- }
-
-
- if ($.memberOf.length && ($.memberOf != data.name) && $.isStatic){
+
+
+ if (($.memberOf != data.name) && $.isStatic){
+ return true;
+ }
+ if ($.isStatic) {
+ $.isInherited = ($.memberOf != data.name);
+ ownMethods.push($);
+ }
+
return true;
}
return true;
}
- if ($.isStatic) {
- $.isInherited = ($.memberOf != data.name);
- ownMethods.push($);
- }
-
- return true;
- }
);
// then dynamics..
);
// then dynamics..