diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91dc06f..090b033 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,3 +17,4 @@ jobs: node-version: 16 - run: npm ci - run: npm run build + - run: npm run check-format diff --git a/package.json b/package.json index 7800a4f..ad97807 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,9 @@ { "private": true, "scripts": { - "build": "mkdir -p dist && ecmarkup --strict --load-biblio @tc39/ecma262-biblio --verbose --js-out dist/ecmarkup.js --css-out dist/ecmarkup.css spec.html dist/index.html" + "build": "mkdir -p dist && ecmarkup --strict --load-biblio @tc39/ecma262-biblio --verbose --js-out dist/ecmarkup.js --css-out dist/ecmarkup.css spec.html dist/index.html", + "format": "emu-format --write spec.html", + "check-format": "emu-format --check spec.html" }, "devDependencies": { "@tc39/ecma262-biblio": "2.0.2334", diff --git a/spec.html b/spec.html index 7c3cd5e..6b29ba6 100644 --- a/spec.html +++ b/spec.html @@ -43,7 +43,7 @@ } -
+

Contributing to this Proposal

This proposal is developed on GitHub with the help of the ECMAScript community. There are a number of ways to contribute to the development of this specification:

+

AsyncIterator ( )

When the `AsyncIterator` function is called, the following steps are taken:

@@ -309,6 +313,7 @@

AsyncIterator ( )

Properties of the AsyncIterator Constructor

+

AsyncIterator.prototype

The initial value of AsyncIterator.prototype is %AsyncIterator.prototype%.