mirror of
https://codeberg.org/vlw/elevent.git
synced 2025-09-13 16:23:40 +02:00
Add license headers and package reference (#2)
This PR adds a license reference to the NPM package declaration, and also adds license headers to the JS module. Reviewed-on: https://codeberg.org/vlw/elevent/pulls/2 Co-authored-by: Victor Westerlund <victor.vesterlund@gmail.com> Co-committed-by: Victor Westerlund <victor.vesterlund@gmail.com>
This commit is contained in:
parent
96c3dfc868
commit
6b7a88fd3d
2 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
"version": "1.0.1",
|
||||
"main": "src/Elevent.mjs",
|
||||
"type": "module",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
|
||||
export class Elevent {
|
||||
_type;
|
||||
_callback;
|
||||
|
@ -100,3 +101,4 @@ export class Elevent {
|
|||
this._boundElements = new WeakSet();
|
||||
}
|
||||
}
|
||||
// @license-end
|
Loading…
Add table
Reference in a new issue