can generate jsdoc; private methods marked as such
[dygraphs.git] / jsdoc-toolkit / app / test / borrows.js
diff --git a/jsdoc-toolkit/app/test/borrows.js b/jsdoc-toolkit/app/test/borrows.js
new file mode 100644 (file)
index 0000000..a5d8ea4
--- /dev/null
@@ -0,0 +1,46 @@
+/**
+@constructor
+*/
+function Layout(p) {
+       /** initilize 1 */
+       this.init = function(p) {
+       }
+       
+       /** get the id */
+       this.getId = function() {
+       }
+       
+       /** @type string */
+       this.orientation = "landscape";
+       
+       function getInnerElements(elementSecretId){
+       }
+}
+
+/** A static method. */
+Layout.units = function() {
+}
+
+/**
+@constructor
+@borrows Layout#orientation
+@borrows Layout-getInnerElements
+@borrows Layout.units
+*/
+function Page() {
+       /** reset the page */
+       this.reset = function(b) {
+       }
+}
+
+/**
+@constructor
+@borrows Layout.prototype.orientation as this.orientation
+@borrows Layout.prototype.init as #init
+@inherits Page.prototype.reset as #reset
+*/
+function ThreeColumnPage() {
+       /** initilize 2 */
+       this.init = function(p) {
+       }
+}