/tags/jsdoc_toolkit-1.4.0/test/data/static.js
JavaScript | 35 lines | 14 code | 6 blank | 15 comment | 0 complexity | acc0718f498e31b9b99e6098fbec0272 MD5 | raw file
- /**
- * @constructor
- */
- var myClass = function(arg) {
- /** This is a member. */
- this.myMember = arg;
- this.myMethod = function() {}
- }
- /**
- * @memberOf myClass
- */
- myClass.staticFunction = function(a, b, c) {
- }
- myClass.prototype.anotherMethod = function() {
- }
- /**
- * @memberOf myClass
- */
- myClass.cid = 123456;
- /**
- * @return {string} If x is a string.
- * @return {number} If x is a number.
- */
- function myUnnattached(x, y, z) {
- }
- /** @constructor */
- function anotherUnnattached() {
- this.zap = function(n){}
- }