Skip to content

Commit

Permalink
refactor: update entity import
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenrui committed Feb 14, 2024
1 parent eff5e42 commit 58d0e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/entity.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Events } from './entity/events'
import { Attributes } from './entity/attributes'
import { State } from './state'

export default class Entity {
export class Entity {
constructor(el) {
this.element = el
this.tagName = el.tagName
Expand Down
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Entity from './entity'
import { Entity } from './entity'
import { Lexer } from './generators/lexer'
import { observeDOM } from './generators/observer'
import { State } from './state'
Expand Down

0 comments on commit 58d0e64

Please sign in to comment.