Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 13, 2024
1 parent 548d9db commit 76443cc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion fixtures/output/all/jsx.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function HelloWorld({

// TODO: Don't use random in render
const num = Math.floor (Math.random() * 1e+7).toString()
.replace(/\.\d+/ig, '')
.replace(/\.\d+/g, '')

return (
<div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}>
Expand Down
2 changes: 1 addition & 1 deletion fixtures/output/no-markdown-with-formatters/jsx.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function HelloWorld({

// TODO: Don't use random in render
const num = Math.floor (Math.random() * 1e+7).toString()
.replace(/\.\d+/ig, '')
.replace(/\.\d+/g, '')

return <div className='HelloWorld' title={`You are visitor number ${num}`} onMouseOver={onMouseOver}>
<strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong>
Expand Down
2 changes: 1 addition & 1 deletion fixtures/output/no-style/jsx.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function HelloWorld({

// TODO: Don't use random in render
const num = Math.floor (Math.random() * 1e+7).toString()
.replace(/\.\d+/ig, "")
.replace(/\.\d+/g, "")

return <div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}>
<strong>{ greeting.slice( 0, 1 ).toUpperCase() + greeting.slice(1).toLowerCase() }</strong>
Expand Down
2 changes: 1 addition & 1 deletion fixtures/output/tab-double-quotes/jsx.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function HelloWorld({

// TODO: Don't use random in render
const num = Math.floor (Math.random() * 1e+7).toString()
.replace(/\.\d+/ig, "")
.replace(/\.\d+/g, "")

return (
<div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}>
Expand Down
2 changes: 1 addition & 1 deletion fixtures/output/ts-override/jsx.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function HelloWorld({

// TODO: Don't use random in render
const num = Math.floor (Math.random() * 1e+7).toString()
.replace(/\.\d+/ig, '')
.replace(/\.\d+/g, '')

return (
<div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}>
Expand Down
2 changes: 1 addition & 1 deletion fixtures/output/with-formatters/jsx.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function HelloWorld({

// TODO: Don't use random in render
const num = Math.floor (Math.random() * 1e+7).toString()
.replace(/\.\d+/ig, '')
.replace(/\.\d+/g, '')

return (
<div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}>
Expand Down

0 comments on commit 76443cc

Please sign in to comment.