Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was 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

Description

@pkozlowski-opensource

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions