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

Add note for caveat when using elements other than script tags #71

Merged
merged 2 commits into from
Nov 27, 2017

Conversation

imaustink
Copy link
Contributor

Closes #70

autorender.md Outdated
@@ -23,6 +23,7 @@ As long is this module is part of your CanJS build or imported with RequireJS, S
[can/view/autorender.can-autorender] will automatically look for `can-autorender` tags and render them. Once
all templates have finished rendering, it will call any callbacks passed to `can.autorender()`.

Note: Although `auto-render` works on all HTML elements, using elements other than `script` tags will result in all attribute names being lowercased by the browser. This can cause `can-stache-bindings` to not work properly, so you should use `<script>` tags if your autorender content contains bindings.
Copy link
Contributor

Choose a reason for hiding this comment

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

auto-render -> can-autorender

@phillipskevin
Copy link
Contributor

@imaustink can you merge/release this?

@imaustink imaustink merged commit bfb923e into master Nov 27, 2017
@imaustink imaustink deleted the 70-update-docs-to-note-caveat branch November 27, 2017 19:33
@imaustink
Copy link
Contributor Author

@phillipskevin done!

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