Opened 14 years ago

Last modified 10 years ago

#5436 closed defect

ShrinkSafe appears to not handle '$super' in this code — at Version 1

Reported by: guest Owned by: alex
Priority: high Milestone: future
Component: ShrinkSafe Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

Sorry, I'm not a javascript expert. But I wanted to use Prototype (http://www.prototypejs.org) to do some Ajax in my web application. The uncompressed version seems to work fine, but the compressed version gives error "_13a is not a function" for line:

Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function(_13a,_13b,url,_13d){
_13a(_13d); // <<< error here
this.onComplete=this.options.onComplete;

The uncompressed version is:

Ajax.PeriodicalUpdater = Class.create(Ajax.Base, {
  initialize: function($super, container, url, options) {
    $super(options);
    this.onComplete = this.options.onComplete;

Thanks.

Change History (1)

comment:1 Changed 14 years ago by Adam Peller

Component: GeneralShrinkSafe
Description: modified (diff)
Owner: changed from anonymous to alex
Note: See TracTickets for help on using tickets.