Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

remove dependency of popover on jquery support #37

Open
shaunc opened this issue Apr 18, 2014 · 0 comments
Open

remove dependency of popover on jquery support #37

shaunc opened this issue Apr 18, 2014 · 0 comments

Comments

@shaunc
Copy link

shaunc commented Apr 18, 2014

PopoverComponent.hide has

 @$().one $.support.transition.end, => @destroy()

However jquery doc says of $.support:

Intended for jQuery's internal use; specific properties may be removed when they are no longer needed internally to improve page startup performance. For your own project's feature-detection needs, we strongly recommend the use of an external library such as Modernizr instead of dependency on properties in jQuery.support.

Perhaps a modernizr dependency would be better, and fall back if necessary to $.support?

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

No branches or pull requests

2 participants