Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Include supertypes #17

Closed
alexeagle opened this issue Aug 11, 2015 · 3 comments
Closed

Include supertypes #17

alexeagle opened this issue Aug 11, 2015 · 3 comments

Comments

@alexeagle
Copy link
Contributor

eg. from javascript/closure/ui/zippy.js

 * @extends {goog.events.EventTarget}

should produce a class goog.ui.Zippy that inherits from EventTarget

@mprobst
Copy link
Contributor

mprobst commented Aug 11, 2015

And of course there's both @extends and @implements.

@mprobst
Copy link
Contributor

mprobst commented Aug 11, 2015

Example from other issue:

/**
 * This creates a TwoThumbSlider object.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM helper.
 * @constructor
 * @extends {goog.ui.SliderBase}
 */
goog.ui.TwoThumbSlider = function(opt_domHelper) {
  goog.ui.SliderBase.call(this, opt_domHelper);
};
goog.inherits(goog.ui.TwoThumbSlider, goog.ui.SliderBase);
goog.tagUnsealableClass(goog.ui.TwoThumbSlider);

@alexeagle
Copy link
Contributor Author

fixed by 6376b18

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants