Closed
Bug 533187
Opened 15 years ago
Closed 15 years ago
sc_super doesn't work within bespin
Categories
(Skywriter Graveyard :: General, defect)
Skywriter Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: julian.viereck, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-de) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10
Build Identifier: tip
The function sc_super() is not available when overriding an already existing methoed in SC. At the moment you have to write
arguments.callee.base.apply(this, arguments);
To get the same effect as sc_super(). To do this, the js-files send to the client could be scanned and sc_super() replaced with arguments.callee.base.apply(this, arguments);
Reproducible: Always
Comment 1•15 years ago
|
||
Abbot performs this transformation, but it isn't used for our plugins. Joe has added an sc_super() method to solve this issue for the root SC.Object. (SproutCore itself can't use this solution because it doesn't work in IE6, but we can't support IE6.)
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•