Sha256: 180d0e5ee99aa2dc3ea18fa667ff4310742d5e271a483b2a9d20ed49adbae7e1

Contents?: true

Size: 411 Bytes

Versions: 71

Compression:

Stored size: 411 Bytes

Contents

/** @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);

Version data entries

71 entries across 71 versions & 2 rubygems

Version Path
sproutit-sproutcore-1.0.20090721145236 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutit-sproutcore-1.0.20090721145251 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutit-sproutcore-1.0.20090721145280 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutit-sproutcore-1.0.20090721145281 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutit-sproutcore-1.0.20090721145282 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutit-sproutcore-1.0.20090721145285 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutit-sproutcore-1.0.203 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.6.0.rc.1-x86-mingw32 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.6.0.rc.1 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.6.0.rc.1-java vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.6.0.beta.3-x86-mingw32 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.6.0.beta.3-java vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.6.0.beta.3 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.6.0.beta.2-x86-mingw32 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.6.0.beta.2-java vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.6.0.beta.2 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.6.0.beta.1 vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.5.0-java lib/sproutcore/vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.5.0 lib/sproutcore/vendor/jsdoc/test/prototype_oblit_constructor.js
sproutcore-1.5.0.rc.2 lib/sproutcore/vendor/jsdoc/test/prototype_oblit_constructor.js