mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
first-commit
This commit is contained in:
commit
325c322a27
207 changed files with 35989 additions and 0 deletions
39
doc/jsdoc-toolkit/app/test/functions_anon.js
Normal file
39
doc/jsdoc-toolkit/app/test/functions_anon.js
Normal file
|
@ -0,0 +1,39 @@
|
|||
/** an anonymous constructor executed inline */
|
||||
a = new function() {
|
||||
/** a.b*/
|
||||
this.b = 1;
|
||||
/** a.f */
|
||||
this.f = function() {
|
||||
/** a.c */
|
||||
this.c = 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
named function executed inline
|
||||
*/
|
||||
bar1 = function Zoola1() {
|
||||
/** property of global */
|
||||
this.g = 1;
|
||||
}();
|
||||
|
||||
/**
|
||||
named constructor executed inline
|
||||
*/
|
||||
bar2 = new function Zoola2() {
|
||||
/** property of bar */
|
||||
this.p = 1;
|
||||
};
|
||||
|
||||
/** module pattern */
|
||||
module = (function () {
|
||||
/** won't appear in documentation */
|
||||
var priv = 1;
|
||||
|
||||
/** @scope module */
|
||||
return {
|
||||
/** will appear as a property of module */
|
||||
pub: 1
|
||||
}
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue