mattdiamond / fuckitjs

The Original Javascript Error Steamroller
4.1k stars 91 forks source link

FuckIt doesn't work in production #8

Closed daxhuiberts closed 12 years ago

daxhuiberts commented 12 years ago

Hi, I applied FuckIt in development and it indeed fixed some errors I was having for a long while now. But somehow in production it doesn't execute any code anymore. After some testing I figured out that it happens only when I minify my code. If i don't, it works correctly. Is there a way to fix that?

mattdiamond commented 12 years ago

Simple solution: don't minify your code. In fact, add additional line breaks just to be on the safe side.