Skip to content

Commit

Permalink
refactor: simplify the code (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
lomirus committed Jan 18, 2022
1 parent 1bbd4d1 commit 86681e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Expand Up @@ -4,7 +4,7 @@ export { reactive } from '@vue/reactivity'

import { createApp } from './app'

let s
if ((s = document.currentScript) && s.hasAttribute('init')) {
const s = document.currentScript
if (s && s.hasAttribute('init')) {
createApp().mount()
}

0 comments on commit 86681e2

Please sign in to comment.