/tags/jsdoc_toolkit-2.3.2/jsdoc-toolkit/app/test/borrows.js

http://jsdoc-toolkit.googlecode.com/ · JavaScript · 46 lines · 19 code · 6 blank · 21 comment · 0 complexity · 6df30336e466f709e79995b534717fd8 MD5 · raw file

  1. /**
  2. @constructor
  3. */
  4. function Layout(p) {
  5. /** initilize 1 */
  6. this.init = function(p) {
  7. }
  8. /** get the id */
  9. this.getId = function() {
  10. }
  11. /** @type string */
  12. this.orientation = "landscape";
  13. function getInnerElements(elementSecretId){
  14. }
  15. }
  16. /** A static method. */
  17. Layout.units = function() {
  18. }
  19. /**
  20. @constructor
  21. @borrows Layout#orientation
  22. @borrows Layout-getInnerElements
  23. @borrows Layout.units
  24. */
  25. function Page() {
  26. /** reset the page */
  27. this.reset = function(b) {
  28. }
  29. }
  30. /**
  31. @constructor
  32. @borrows Layout.prototype.orientation as this.orientation
  33. @borrows Layout.prototype.init as #init
  34. @inherits Page.prototype.reset as #reset
  35. */
  36. function ThreeColumnPage() {
  37. /** initilize 2 */
  38. this.init = function(p) {
  39. }
  40. }