From d05c2cdd8ab18584a75841c9bcd93aa186be302b Mon Sep 17 00:00:00 2001 From: Bret Comnes <166301+bcomnes@users.noreply.github.com> Date: Fri, 22 Dec 2023 10:22:37 -0800 Subject: [PATCH] Support placeholders on File instances (#121) --- src/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 6fdc2d69..2598c9a3 100644 --- a/src/index.js +++ b/src/index.js @@ -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`