Opened 10 years ago

Closed 6 years ago

#5436 closed defect (wontfix)

ShrinkSafe appears to not handle '$super' in this code

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

Description (last modified by peller)

Sorry, I'm not a javascript expert. But I wanted to use Prototype ( 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:

_13a(_13d); // <<< error here

The uncompressed version is:

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


Change History (8)

comment:1 Changed 10 years ago by peller

  • Component changed from General to ShrinkSafe
  • Description modified (diff)
  • Owner changed from anonymous to alex

comment:2 Changed 10 years ago by peller

might need a complete example to see what's going on here (please use attach file)

comment:3 Changed 10 years ago by dylan

  • Milestone set to 1.3

comment:4 Changed 9 years ago by guest

you can find more info at

comment:5 Changed 9 years ago by peller

  • Description modified (diff)

thanks for the ref... has nothing to do with the snippets, per se. Our options? We could 'whitelist' variables starting with "$" from shrinksafe, provide some other whitelist mechanism, either one is pretty fragile or just say that we don't support this scenario; it's a slippery slope once you start depending on variable names.

comment:6 Changed 9 years ago by bill

  • Milestone changed from 1.3 to future

comment:7 Changed 8 years ago by peller

  • Owner changed from alex to rbackhouse

comment:8 Changed 6 years ago by neonstalwart

  • Resolution set to wontfix
  • Status changed from new to closed

I'm going to go with "we don't support this scenario"

Note: See TracTickets for help on using tickets.