diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..68afe9b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,15 @@ +name: Build spec + +on: [pull_request, push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + name: 'nvm install lts/* && npm install' + with: + node-version: lts/* + - run: npm run build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..9d042e2 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,23 @@ +name: Deploy gh-pages + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: ljharb/actions/node/install@main + name: 'nvm install lts/* && npm install' + with: + node-version: lts/* + - run: npm run build + - uses: JamesIves/github-pages-deploy-action@v4.3.3 + with: + branch: gh-pages + folder: build + clean: true diff --git a/.gitignore b/.gitignore index fd18f10..697c2b9 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,6 @@ package-lock.json npm-shrinkwrap.json # Emacs droppings -*~ \ No newline at end of file +*~ + +build diff --git a/index.html b/index.html deleted file mode 100644 index da1b734..0000000 --- a/index.html +++ /dev/null @@ -1,1895 +0,0 @@ - -
- - - -To enable the new API, this proposal modifies
The abstract operation ArrayCreate takes argument length (a non-negative
To enable the new API, this proposal modifies
The abstract operation GetTemplateObject is called with a
This adds a builtin static method to Array to allow distinguishing template string literal objects
- -Added under - Properties of the Array Constructor: -
- -When the isTemplateObject
method is called with argument value the following steps are taken:
IsTemplateObject is
In user code, Array.isTemplateObject(x) && x instanceof Array
is an equivalent
- test, assuming no changes to builtins.
To enable the new API, this proposal modifies ArrayCreate to add an internal slot to each array.
- -The abstract operation ArrayCreate takes argument _length_ (a non-negative integer) and optional argument _proto_. It is used to specify the creation of new Array exotic objects. It performs the following steps when called:
-To enable the new API, this proposal modifies GetTemplateObject to change the value of the new internal slot.
- -The abstract operation GetTemplateObject is called with a Parse Node, _templateLiteral_, as an argument. It performs the following steps:
-The creation of a template object cannot result in an abrupt completion.
+Each |TemplateLiteral| in the program code of a realm is associated with a unique template object that is used in the evaluation of tagged Templates (
Future editions of this specification may define additional non-enumerable properties of template objects.
+This adds a builtin static method to Array to allow distinguishing template string literal objects
+Added under - Properties of the Array Constructor: -
+When the `isTemplateObject` method is called with argument _value_ the following steps are taken:
+When the `isTemplateObject` method is called with argument _value_ the following steps are taken:
-IsTemplateObject is realm-agnostic. Since template objects are frozen before - escaping GetTemplateObject, testing (IsTemplateObject(_x_) and _x_.[[Prototype]] - is the _realm_'s %ArrayPrototype%) is sufficient to determine whether an _x_ is - a template object in a particular _realm_.
-In user code, `Array.isTemplateObject(x) && x instanceof Array` is an equivalent - test, assuming no changes to builtins.
-IsTemplateObject is realm-agnostic. Since template objects are frozen before escaping GetTemplateObject, testing (IsTemplateObject(_x_) and _x_.[[Prototype]] is the _realm_'s %Array.prototype%) is sufficient to determine whether an _x_ is a template object in a particular _realm_.
+In user code, `Array.isTemplateObject(x) && x instanceof Array` is an equivalent test, assuming no changes to builtins.
+