Explorar o código

chore(compiler-dom): changed function to arrow function (#487)

Gabriel Loiácono %!s(int64=6) %!d(string=hai) anos
pai
achega
be4c22e423
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/compiler-dom/src/transforms/transformStyle.ts

+ 1 - 1
packages/compiler-dom/src/transforms/transformStyle.ts

@@ -35,7 +35,7 @@ const propertyDelimiterRE = /:(.+)/
 
 function parseInlineCSS(cssText: string): Record<string, string> {
   const res: Record<string, string> = {}
-  cssText.split(listDelimiterRE).forEach(function(item) {
+  cssText.split(listDelimiterRE).forEach(item => {
     if (item) {
       const tmp = item.split(propertyDelimiterRE)
       tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim())