aboutsummaryrefslogtreecommitdiff
path: root/tools/jsdoc-toolkit-2.4.0/app/test/borrows.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/jsdoc-toolkit-2.4.0/app/test/borrows.js')
-rw-r--r--tools/jsdoc-toolkit-2.4.0/app/test/borrows.js46
1 files changed, 46 insertions, 0 deletions
diff --git a/tools/jsdoc-toolkit-2.4.0/app/test/borrows.js b/tools/jsdoc-toolkit-2.4.0/app/test/borrows.js
new file mode 100644
index 0000000..a5d8ea4
--- /dev/null
+++ b/tools/jsdoc-toolkit-2.4.0/app/test/borrows.js
@@ -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) {
+ }
+}