Remove dead code (#818)
[dygraphs.git] / jsdoc-toolkit / app / test / prototype_oblit_constructor.js
CommitLineData
629a09ae
DV
1/** @constructor */
2function Article() {
3}
4
5Article.prototype = {
6 /** @constructor */
7 Title: function(title) {
8 /** the value of the Title instance */
9 this.title = title;
10 },
11
12 init: function(pages) {
13 /** the value of the pages of the Article instance */
14 this.pages = pages;
15 }
16}
17
18f = new Article();
19f.init("one two three");
20
21t = new f.Title("my title");
22
23print(f.pages);
24print(t.title);