PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/tags/jsdoc_toolkit-1.4.0/test/data/static.js

http://jsdoc-toolkit.googlecode.com/
JavaScript | 35 lines | 14 code | 6 blank | 15 comment | 0 complexity | acc0718f498e31b9b99e6098fbec0272 MD5 | raw file
 1/**
 2 * @constructor
 3 */
 4var myClass = function(arg) {
 5	/** This is a member. */
 6	this.myMember = arg;
 7	this.myMethod = function() {}
 8}
 9
10/**
11 * @memberOf myClass
12 */
13myClass.staticFunction = function(a, b, c) {
14}
15
16myClass.prototype.anotherMethod = function() {
17}
18
19/**
20 * @memberOf myClass
21 */
22myClass.cid = 123456;
23
24/**
25 * @return {string} If x is a string.
26 * @return {number} If x is a number.
27 */
28function myUnnattached(x, y, z) {
29
30}
31
32/** @constructor */
33function anotherUnnattached() {
34	this.zap = function(n){}
35}