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

How to change the {{ }} to [[ ]] for avoiding conflicts with Handlebar when binding? #71

Closed
wuxianliang opened this issue Feb 5, 2014 · 1 comment

Comments

@wuxianliang
Copy link

Dear Xiaoyou You:
I am looking for a MVVM to work with Meteor.js. Recently, I found ngMeteor https://github.com/loneleeandroo/ngMeteor. After taking a glance of the codes of Vue, I did not find the explicit mentioning of {{ }}, how to fix this problem? Would you like to create a project, V-meteor maybe, if I may suggest?

Thank you very much.

春节快乐!

@yyx990803
Copy link
Member

Hmm, there's currently no built-in way to do that because I didn't consider it a common use case. Also changing the interpolation tags can cause reusability issues for components.

If you want to use it in a custom setup, it's actually just a matter of changing two RegExps in https://github.com/yyx990803/vue/blob/dev/src/text-parser.js Feel free to fork and adapt to your needs.

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

No branches or pull requests

2 participants