in bearcat version v0.4.25:
this work:
var Test =function(){
this.$id = 'test';
this.test = "${test}";
}
but this not work:
var Test =function(){
this.$id = 'test';
this.test = '${test}';
}
because FUNC_PROPS_REGEXP_ATTR just match " not '
FUNC_PROPS_REGEXP_ATTR: /\s_this.\w+\s_=\s_"$(.|\s)_?";/g
in bearcat version v0.4.25:
this work:
but this not work:
because FUNC_PROPS_REGEXP_ATTR just match
"not'FUNC_PROPS_REGEXP_ATTR: /\s_this.\w+\s_=\s_"$(.|\s)_?";/g