vaderjs 1.3.3-alpha-29 → 1.3.3-alpha-30

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.
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-29",
5
+ "version": "1.3.3-alpha-30",
6
6
  "bin": {
7
7
  "vader": "./vader.js"
8
8
  },
package/runtime/router.js CHANGED
@@ -102,7 +102,10 @@ class VaderRouter{
102
102
  const paramName = part.slice(1);
103
103
  params[paramName] = hashParts[index];
104
104
  }else if(part.startsWith('*')){
105
- params[0] = hashParts.slice(index)
105
+ let array = hashParts.slice(index)
106
+ array.forEach((i, index)=>{
107
+ params[index] = i
108
+ })
106
109
  }
107
110
  });
108
111
  return params;