Open zmox opened 9 years ago
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: /\sthis.\w+\s=\s\"\$(.|\s)?\";/g
fixed it with bearcat@0.4.26
in bearcat version v0.4.25:
this work:
but this not work:
because FUNC_PROPS_REGEXP_ATTR just match
"
not'
FUNC_PROPS_REGEXP_ATTR: /\sthis.\w+\s=\s\"\$(.|\s)?\";/g