Skip to content

Commit

Permalink
updated: improve compatibility with deno
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Sep 9, 2022
1 parent 71b9792 commit c2f85b5
Show file tree
Hide file tree
Showing 6 changed files with 517 additions and 540 deletions.
2 changes: 1 addition & 1 deletion dom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {dashToCamelCase} from './strings'
import {dashToCamelCase} from './strings.js'

/**
* Get all the element attributes as object
Expand Down
2 changes: 1 addition & 1 deletion functions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {isFunction} from './checks'
import {isFunction} from './checks.js'

// does simply nothing
export function noop() {
Expand Down
18 changes: 9 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export * from './binding-types'
export * from './checks'
export * from './constants'
export * from './dom'
export * from './expression-types'
export * from './functions'
export * from './misc'
export * from './objects'
export * from './strings'
export * from './binding-types.js'
export * from './checks.js'
export * from './constants.js'
export * from './dom.js'
export * from './expression-types.js'
export * from './functions.js'
export * from './misc.js'
export * from './objects.js'
export * from './strings.js'
6 changes: 3 additions & 3 deletions misc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {ATTRIBUTE, VALUE} from './expression-types'
import {dashToCamelCase} from './strings'
import {ATTRIBUTE, VALUE} from './expression-types.js'
import {dashToCamelCase} from './strings.js'

/**
* Throw an error with a descriptive message
Expand Down Expand Up @@ -51,4 +51,4 @@ export function evaluateAttributeExpressions(attributes) {

return acc
}, {})
}
}
Loading

0 comments on commit c2f85b5

Please sign in to comment.