diff options
Diffstat (limited to 'utils/jsdoc-toolkit/app/test/prototype_oblit_constructor.js')
-rwxr-xr-x | utils/jsdoc-toolkit/app/test/prototype_oblit_constructor.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/utils/jsdoc-toolkit/app/test/prototype_oblit_constructor.js b/utils/jsdoc-toolkit/app/test/prototype_oblit_constructor.js deleted file mode 100755 index 9248248..0000000 --- a/utils/jsdoc-toolkit/app/test/prototype_oblit_constructor.js +++ /dev/null @@ -1,24 +0,0 @@ -/** @constructor */ -function Article() { -} - -Article.prototype = { - /** @constructor */ - Title: function(title) { - /** the value of the Title instance */ - this.title = title; - }, - - init: function(pages) { - /** the value of the pages of the Article instance */ - this.pages = pages; - } -} - -f = new Article(); -f.init("one two three"); - -t = new f.Title("my title"); - -print(f.pages); -print(t.title);
\ No newline at end of file |