Skip to content

Commit

Permalink
Changed version in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianFun123 committed Jan 22, 2023
1 parent 9a488e2 commit 087d46e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions JDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,18 @@ class JDOM {
return this.on('click', callable)
}

get(index) {
return this.elem[index]
}

size() {
return this.elem.length
}

toArray() {
return [...this.elem]
}

contextmenu(func) { return this.on('contextmenu', func); }
change(func) { return this.on('change', func); }
mouseover(func) { return this.on('mouseover', func); }
Expand Down
2 changes: 1 addition & 1 deletion dist/jdom.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/jdom.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

0 comments on commit 087d46e

Please sign in to comment.