@stencil/angular-output-target
Advanced tools
Comparing version
@@ -152,4 +152,4 @@ import { createComponentEventTypeImports, dashToPascalCase, formatToQuotedList } from './utils'; | ||
let eventName = event.name; | ||
if (event.name.includes('-')) { | ||
// If an event name includes a dash, we need to wrap it in quotes. | ||
if (/[-/]/.test(event.name)) { | ||
// If an event name includes a dash or a forward slash, we need to wrap it in quotes. | ||
// https://github.com/ionic-team/stencil-ds-output-targets/issues/212 | ||
@@ -156,0 +156,0 @@ eventName = `'${event.name}'`; |
@@ -297,4 +297,4 @@ 'use strict'; | ||
let eventName = event.name; | ||
if (event.name.includes('-')) { | ||
// If an event name includes a dash, we need to wrap it in quotes. | ||
if (/[-/]/.test(event.name)) { | ||
// If an event name includes a dash or a forward slash, we need to wrap it in quotes. | ||
// https://github.com/ionic-team/stencil-ds-output-targets/issues/212 | ||
@@ -301,0 +301,0 @@ eventName = `'${event.name}'`; |
@@ -289,4 +289,4 @@ import path from 'path'; | ||
let eventName = event.name; | ||
if (event.name.includes('-')) { | ||
// If an event name includes a dash, we need to wrap it in quotes. | ||
if (/[-/]/.test(event.name)) { | ||
// If an event name includes a dash or a forward slash, we need to wrap it in quotes. | ||
// https://github.com/ionic-team/stencil-ds-output-targets/issues/212 | ||
@@ -293,0 +293,0 @@ eventName = `'${event.name}'`; |
{ | ||
"name": "@stencil/angular-output-target", | ||
"version": "0.0.1-dev.11725543716.1fa90560", | ||
"version": "0.0.1-dev.11727116314.1857d8ca", | ||
"description": "Angular output target for @stencil/core components.", | ||
@@ -67,3 +67,3 @@ "main": "dist/index.cjs.js", | ||
}, | ||
"gitHead": "fa90560e48946ff872ee54461813e5df8b4b2026" | ||
"gitHead": "857d8ca5cbf5bc2da386b4d264df36bd996603c5" | ||
} |
104937
0.05%