PageRenderTime 26ms CodeModel.GetById 11ms RepoModel.GetById 0ms 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. */
  4. var myClass = function(arg) {
  5. /** This is a member. */
  6. this.myMember = arg;
  7. this.myMethod = function() {}
  8. }
  9. /**
  10. * @memberOf myClass
  11. */
  12. myClass.staticFunction = function(a, b, c) {
  13. }
  14. myClass.prototype.anotherMethod = function() {
  15. }
  16. /**
  17. * @memberOf myClass
  18. */
  19. myClass.cid = 123456;
  20. /**
  21. * @return {string} If x is a string.
  22. * @return {number} If x is a number.
  23. */
  24. function myUnnattached(x, y, z) {
  25. }
  26. /** @constructor */
  27. function anotherUnnattached() {
  28. this.zap = function(n){}
  29. }