Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Conversation

caitp
Copy link
Contributor

@caitp caitp commented Dec 4, 2014

jQeury's class API causes problems with SVG elements --- using jqLite in all cases
prevents issues.

/cc @matsko please review

Closes #10024

@googlebot
Copy link

CLAs look good, thanks!

jQeury's class API causes problems with SVG elements --- using jqLite in all cases
prevents issues.

Closes angular#10024
This makes it easy to use jqLite's nicer class API (compared to jQuery) in modules
like ngAnimate.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PTAL --- I've added a commit which exposes jqLite via a private service.

Unfortunately, because of the structure of ngAnimate, not every function has access to it. I found it easier to just put a variable here, but I don't see why these functions need to be outside of the decorator, so it's easy to move them too.

What would you prefer?

@caitp caitp closed this in 40a537c Dec 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Animations are broken for SVG sub-elements if jQuery is present

4 participants