Skip to content

Commit

Permalink
Support placeholders on File instances (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes authored Dec 22, 2023
1 parent d1f7766 commit d05c2cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ export class Tonic extends window.HTMLElement {
case '[object AsyncFunction]':
case '[object Set]':
case '[object Map]':
case '[object WeakMap]': return this._prop(o)
case '[object WeakMap]':
case '[object File]':
return this._prop(o)
case '[object NamedNodeMap]':
return this._prop(Tonic._normalizeAttrs(o))
case '[object Number]': return `${o}__float`
Expand Down

0 comments on commit d05c2cd

Please sign in to comment.