#6861 closed feature (fixed)
Widget: Add _super() and _superApply() for easy access to parent methods
Reported by: | Scott González | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.widget | Version: | 1.8.8 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
These methods will make it easier to call parent methods and remove the need to know the parent from within a widget. Calls like $.Widget.prototype._setOption.call( this, key, value )
should become this._super( "_setOption", key, value )
or this._superApply( "_setOption", arguments )
.
Change History (2)
comment:1 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
Reimplemented in 6096aed0a38948fe02a697d0f5349c6903c90e47 to handle deep inheritance chains.
Note: See
TracTickets for help on using
tickets.
Widget: Added _super() and _superApply() methods. Fixes #6861 - Widget: Add _super() and _superApply() for easy access to parent methods.