Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(tooltip): introduce a work-arround for AngularJS bug #750

Closed
pkozlowski-opensource opened this issue Aug 3, 2013 · 0 comments
Closed

Comments

@pkozlowski-opensource
Copy link
Member

There is a subtle bug in AngularJS jqLite which I've discovered while investigating #710.

If you try to unbind an event that wasn't previously bound (and you pass in both type and fn) AngularJS will fail with Cannot read property 'indexOf' of undefined... jQuery behaves differently and it is more forgiving. Just including jQuery makes the issue go away. This is why our unit-test didn't catch it. Opened a PR angular/angular.js#3465 to correct this.

But before it gets corrected in AngularJS we need a work-arround of some sort.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant