Skip to content

Commit 2709a89

Browse files
committed
fix
1 parent 6fc19ef commit 2709a89

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

dist/cheghost.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "cheghost",
33
"version": "2.0.1",
44
"description": "Helps to deal with values of multiple checkboxes",
5-
"main": "dist/cheghost.js",
65
"module": "src/index.js",
76
"scripts": {
87
"test": "echo \"Error: no test specified\" && exit 1"

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function set(checkbox) {
9292
hidden.value = checkbox.checked ? "1" : "0"
9393
}
9494

95-
export function cheghost(selectorToWrap) {
95+
export default function cheghost(selectorToWrap) {
9696
wrap(selectorToWrap);
9797
values();
9898
}

0 commit comments

Comments
 (0)