benmmurphy/jsdeminifier_xpi — Issue #1: Whole js vanishes with JSB turned on
Author: ChaosCom
Created: 2011-10-21 09:58:25+00:00
State: open

Hi, could you please have a look at https://github.com/test/me (that is, a nonexisting project, which causes an error page to come up). Usually the error page on github contains a nifty little image that's empowered by javascript to achive a parallax effect (Image appears to be (Pseudo-) 3D when you move the mouse). But with the deminifier turned on, some of the scripts don't even load it seems (so the effect is gone). I would attach an image to show what I mean if only github had such a functionality.

Needless to say, this makes debugging sites completely useless, because you never can be sure whether a (more subtle) script is missing. I wonder why the scipts simply vanish? Couldn't the jsdeminifier simply "fall back" to a unminified version of the script in case it "chokes" on one? Would it also be possible to have an Firebug-only extension (either as new tab inside Firebug or even better integrated into Firebug's Javascript tab), e.g. a button simply stating "Deminify" and when pressed, it would output the deminified js code into firebugs own code window?