Opened 14 years ago

Last modified 10 years ago

#5436 closed defect

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

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 ( 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 (5)

comment:1 Changed 14 years ago by Adam Peller

Component: GeneralShrinkSafe
Description: modified (diff)
Owner: changed from anonymous to alex

comment:2 Changed 14 years ago by Adam Peller

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

comment:3 Changed 14 years ago by dylan

Milestone: 1.3

comment:4 Changed 13 years ago by guest

you can find more info at

comment:5 Changed 13 years ago by Adam 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.

Note: See TracTickets for help on using tickets.