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

fix($compile): work around issue in jQuery 1.10.2 #4159

Closed
wants to merge 1 commit into from

Conversation

btford
Copy link
Contributor

@btford btford commented Sep 25, 2013

jQuery 1.10.2 does not attach data to comment nodes, which previously broke $compile.
This changes how elements with "transclude element" and a controller are compiled to
avoid the issue.

Closes #3764

@mary-poppins
Copy link

@btford is the best

@ghost ghost assigned btford Sep 25, 2013
@btford
Copy link
Contributor Author

btford commented Sep 25, 2013

Hmm, ngSwitch breaks without jQuery.

jQuery 1.10.2 does not attach data to comment nodes, which previously broke `$compile`.
This changes how elements with "transclude element" and a controller are compiled to
avoid the issue.

Closes angular#3764
@IgorMinar
Copy link
Contributor

LGTM. please merge

@btford
Copy link
Contributor Author

btford commented Sep 26, 2013

Landed as e0c134b.

@btford btford closed this Sep 26, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support jQuery 1.10.2
3 participants