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

Support goog.inherits #21

Closed
alexeagle opened this issue Aug 11, 2015 · 1 comment
Closed

Support goog.inherits #21

alexeagle opened this issue Aug 11, 2015 · 1 comment

Comments

@alexeagle
Copy link
Contributor

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

results in a class definition for TwoThumbSlider without the decorate method that comes from SliderBase.

@mprobst
Copy link
Contributor

mprobst commented Aug 11, 2015

But that's correct, isn't it? decorate is a method on the parent class, after all. Isn't this the same as the "Include Supertypes" #17 issue?

@mprobst mprobst closed this as completed Aug 11, 2015
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