@next2d/view-generator 1.5.1 → 1.5.3

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/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -42,7 +42,7 @@ const createJavaScriptFile = function ()
42
42
 
43
43
  for (let idx = 0; idx < keys.length; ++idx) {
44
44
 
45
- const names = keys[idx].split("-");
45
+ const names = keys[idx].split(/-|\//);
46
46
 
47
47
  if (names[0].charAt(0) === "@") {
48
48
  continue;
@@ -167,7 +167,7 @@ const createTypeScriptFile = function ()
167
167
 
168
168
  for (let idx = 0; idx < keys.length; ++idx) {
169
169
 
170
- const names = keys[idx].split("-");
170
+ const names = keys[idx].split(/-|\//);
171
171
 
172
172
  if (names[0].charAt(0) === "@") {
173
173
  continue;
@@ -240,7 +240,7 @@ export class ${name}ViewModel extends ViewModel
240
240
  * @method
241
241
  * @public
242
242
  */
243
- unbind (view: View)
243
+ unbind (view: View): void
244
244
  {
245
245
  console.log(view);
246
246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next2d/view-generator",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "Generate the View class required for routing.",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
6
6
  "license": "MIT",