Skip to content

Commit

Permalink
fixed: improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Feb 16, 2024
1 parent 5367426 commit f720e54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/expressions/attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
} from '@riotjs/util/checks'
import { memoize } from '@riotjs/util/misc'

/* c8 ignore next */
const ElementProto = typeof Element === 'undefined' ? {} : Element.prototype
const isNativeHtmlProperty = memoize(
(name) => ElementProto.hasOwnProperty(name), // eslint-disable-line
Expand Down

0 comments on commit f720e54

Please sign in to comment.