Skip to content

Commit

Permalink
Port basket newsletter JS to Protocol (Fixes #839)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson committed Oct 26, 2023
1 parent 9c7bbd2 commit 0b823ca
Show file tree
Hide file tree
Showing 15 changed files with 1,091 additions and 121 deletions.
15 changes: 13 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module.exports = {
'browser': true,
'commonjs': true,
'es2017': true,
'jasmine': true,
'node': true
},
extends: [
Expand Down Expand Up @@ -74,5 +73,17 @@ module.exports = {
// Disallow the use of `console`
// https://eslint.org/docs/rules/no-console
'no-console': 'error'
}
},
overrides: [
{
// JS Jasmine test files.
files: ['tests/unit/**/*.js'],
env: {
jasmine: true
},
globals: {
sinon: 'writable'
}
}
]
};
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Features

* **js:** Update newsletter component to include JS to post directly to Basket (#839 ).
* **css:** Add CSS utility class for centered text and document existing title utility classes (#897).

## Bug Fixes
Expand Down
Loading

0 comments on commit 0b823ca

Please sign in to comment.