vaderjs 1.3.3-alpha-145 → 1.3.3-alpha-146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/vader.js +5 -0
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "vaderjs",
3
3
  "description": "A Reactive library aimed to helping you build reactive applications inspired by react.js",
4
4
  "module": "vader.js",
5
- "version": "1.3.3-alpha-145",
5
+ "version": "1.3.3-alpha-146",
6
6
  "bin": {
7
7
  "vader": "./vader.js"
8
8
  },
package/vader.js CHANGED
@@ -434,6 +434,11 @@ function Compiler(func, file) {
434
434
  isWithinComponent = true;
435
435
  filteredProps.push(prop);
436
436
  } else if (isWithinComponent && prop.includes('=')) {
437
+ if(prop.includes('${')){
438
+ prop = prop.replace('${', '`')
439
+ prop = prop.replace('}', '`')
440
+ console.log(prop)
441
+ }
437
442
  if(prop.startsWith('={')){
438
443
  prop = prop.replace('={', ':`')
439
444
  prop.replace('} ', '`')