This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
cleanData override breaks when jQuery UI is included after angular #8471
Closed
Description
@attilah sums this issue up very well in his gist, but here's the TLDR:
angular overrides jQuery.cleanData
function, storing original in jQuery.cleanData.$$original
. jQuery UI also overrides this method. So if you incidentally include jquery, then angular, then jquery UI (not farfetched, grunt bower-install
does not guarantee a particular order), the $$original
is no longer available and angular throws a undefined is not a function
error when trying to call $$original
.