mattdiamond / fuckitjs

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

why even bother doing anything in noConflict!? #5

Open jibberia opened 12 years ago

jibberia commented 12 years ago

pretty obvious, but.. fuck it

wjcrowcroft commented 12 years ago

Maybe consider

FuckIt.noConflict = function() {
    console.error("poor baby, go have a little cry");
    throw new Error("hghjfhjgfgfds");
}
jibberia commented 12 years ago

Wow, fucking awesome. The only way to make FuckIt produce a real error is to ask it to not conflict. I vote for this two hundred forty eight percent, the rest going to lotto. Wooooo!