Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Jan 9, 2020
1 parent c7af1db commit 7da5021
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/expressions/attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import {memoize} from '@riotjs/util/misc'

const REMOVE_ATTRIBUTE = 'removeAttribute'
const SET_ATTIBUTE = 'setAttribute'
const ElementProto = Element.prototype

const ElementProto = typeof Element === 'undefined' ? {} : Element.prototype
const isNativeHtmlProperty = memoize(name => ElementProto.hasOwnProperty(name) ) // eslint-disable-line

/**
Expand Down

0 comments on commit 7da5021

Please sign in to comment.