Skip to content

Commit

Permalink
fix export
Browse files Browse the repository at this point in the history
  • Loading branch information
RanBuch committed Jan 29, 2021
1 parent cf4cceb commit bcd9def
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/accessibility.min.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@ <h3 class="ui header">easy to use!</h3>
&lt;script type="text/javascript" src="node_modules/accessibility/dist/accessibility.min.js"&gt;&lt;/script&gt;
</code>
</a>
<a class="item">
<p>
or import:
</p>
<code>
import { Accessibility } from 'accessibility/src/main';
</code>
</a>
<a class="item">
<p>
initialize component
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "accessibility",
"version": "3.0.10",
"version": "3.0.11",
"description": "add accessibility to your website",
"main": "accessibility.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ let _options = {

let self = null;

class Accessibility {
export class Accessibility {
constructor(options = {}) {
self = this;
options = this.deleteOppositesIfDefined(options);
Expand Down

0 comments on commit bcd9def

Please sign in to comment.