summaryrefslogtreecommitdiff
path: root/packages/webapi/src/lib
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-04-13 12:45:17 +0000
committerGravatar github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2022-04-13 12:45:17 +0000
commit16e0ada70f69b206723ef4eed69bd9d77559b78b (patch)
tree9d0847ca3eea5dc5d5ee55db343ee29ef7291047 /packages/webapi/src/lib
parent5acf77dd22be95e33ff838383a2c1790f484e380 (diff)
downloadastro-16e0ada70f69b206723ef4eed69bd9d77559b78b.tar.gz
astro-16e0ada70f69b206723ef4eed69bd9d77559b78b.tar.zst
astro-16e0ada70f69b206723ef4eed69bd9d77559b78b.zip
[ci] format
Diffstat (limited to 'packages/webapi/src/lib')
-rw-r--r--packages/webapi/src/lib/Element.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/webapi/src/lib/Element.ts b/packages/webapi/src/lib/Element.ts
index 1553f2863..c1b6f781d 100644
--- a/packages/webapi/src/lib/Element.ts
+++ b/packages/webapi/src/lib/Element.ts
@@ -2,9 +2,9 @@ import * as _ from './utils'
export class Element extends Node {
constructor() {
- super();
-
- if(_.INTERNALS.has(new.target)) {
+ super()
+
+ if (_.INTERNALS.has(new.target)) {
const internals = _.internalsOf(new.target, 'Element', 'localName')
_.INTERNALS.set(this, {
attributes: {},