Skip to content
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

Merged
merged 12 commits into from
Nov 22, 2019
Merged

Add initial version #1

merged 12 commits into from
Nov 22, 2019

Conversation

jul-sh
Copy link
Collaborator

@jul-sh jul-sh commented Nov 19, 2019

No description provided.

@jul-sh jul-sh changed the title Add initial verson Add initial version Nov 19, 2019
@jul-sh jul-sh force-pushed the develop branch 4 times, most recently from 346faa7 to cf289f9 Compare November 21, 2019 11:25
add basic readme
package.json Outdated
@@ -0,0 +1,46 @@
{
"name": "agnostic-axe",
"version": "0.0.1",
Copy link
Collaborator

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. :)

Copy link
Collaborator Author

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)
Copy link
Collaborator

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.

Copy link
Collaborator Author

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.

@jul-sh jul-sh requested a review from KittyGiraudel November 22, 2019 12:05
@jul-sh jul-sh merged commit b6ee22d into master Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants