zhouzhuojie / meteor-vue

Vue for Meteor
130 stars 8 forks source link

Delimiters in 0.11 should include both symbols #4

Closed yyx990803 closed 9 years ago

yyx990803 commented 9 years ago

Hey, thanks a lot for maintaining this package :) I just noticed you are setting the delimiters to

['[', ']']

but in 0.11 you probably want

['[[', ']]']

(With your current value [[prop]] interpolations would be inserting the value as unescaped HTML rather than text.

zhouzhuojie commented 9 years ago

Thanks @yyx990803. I didn't notice the change of configuring delimiters in 0.11. And I'm surprised that ['[', ']'] didn't break things in my other projects. Fixed in the newest commit.

BTW, big fan of Vuejs. Also, after you joined Meteor, do you have plans to integrate these two frameworks more naturally? For example, mounting a vue instance to a Meteor template.

yyx990803 commented 9 years ago

That would be interesting to look into when I have time :)