Specifically I am needing to unset a function in mootools for one page that is conflicting with a FB.ui. But I don't want to do anything drastic such as permanently remove that function as it would break the rest of the site.
3 Answers
Maybe overriding the function would be the solution?
Overriding a JavaScript function while referencing the original
1 Comment
Jacob Bolton
In many cases this would work. For my specific instance I need it to be gone as removing the function altogether fixes my conflict.
MooTools version 1.4.3 solves this issue - you may download it from Download MooTools 1.4.3
moo.f = undefined. Any calls of the formmoo.f()would break on that particular page, of course, but I think the "rest of the site" would be okay.