[jQuery] Interface plugin + Object.prototype.anyPropertyName = BUG
I've been trying the Interface Sortables module that requires the Drag
and Drop modules and got bugs when I decided to augment the Object
prototype.
I've looked at each of the code of those 3 files and realize that
there was a loop over the Object properties (maybe indirectly by the
jQuery object) and realize that my function were call, whatever name I
give it using the Object.prototype augmentation. That was the reason
of the crash.
I've filter the the result to not call my function name and I do not
have those error message in firebug anymore.
Is the design of the Interface plugin bad?
I don't know for now if ti comes from jQuery or Interface.
That was kind of error firebug gave me:
jQuery.iDrop.highlighted[i].get is not a function (idrop.js line
168)