Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fa-surface): Use the transclude function from post #329

Merged
merged 2 commits into from
Jan 30, 2015

Conversation

thaiat
Copy link
Contributor

@thaiat thaiat commented Jan 28, 2015

As per angular documentation, the usage of the transclude function from compile has been deprecated in angular 1.3 (started 1.2 I believe).

One should only use transclude provided as the 5th argument of pre or post function to make sure the scope is correct.

For more info : angular/angular.js#9413

@thaiat
Copy link
Contributor Author

thaiat commented Jan 28, 2015

As surface is a leaf node, this change should not have any side effect.

I'm not sure if same fix should be done across all directives...

Let me know what you think

@jordanpapaleo jordanpapaleo merged commit f4a0e73 into Famous:master Jan 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants