-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add initial version #1
Conversation
346faa7
to
cf289f9
Compare
add basic readme
7988e37
to
b395a59
Compare
# Conflicts: # README.MD
package.json
Outdated
@@ -0,0 +1,46 @@ | |||
{ | |||
"name": "agnostic-axe", | |||
"version": "0.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a valid SemVer version. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair :). Made this 1.0.0
|
||
```js | ||
import('agnostic-axe').then(({ AxeObserver, logViolations }) => { | ||
const MyAxeObserver = new AxeObserver(logViolations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would recommend accepting an object of options. That will save you from breaking the API later on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, agreed. Updated both the constructor & observe method to support that.
No description provided.