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

Feature/commercial license #185

Merged
merged 14 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ package-lock.json
npm-debug.log
original
dist
yarn-error.log
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"clsx",
"dragselect",
"dumpio",
"iconify",
"nodenext",
"prestart",
"quicktest",
Expand Down
1 change: 1 addition & 0 deletions DragSelect/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ npm-debug.log
original
dist
src/**/*.js
yarn-error.log
3 changes: 2 additions & 1 deletion DragSelect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 3.0.0

- Licensing: GPLv3 => free for use on any non-commercial project
- Typescript rewrite. The JavaScript world has shifted towards typescript. This will improve the quality of life for users of this library.
- Callbacks refactor:

Expand Down Expand Up @@ -28,7 +29,7 @@
```

- Fix key stroke bug [#181](https://github.com/ThibaultJanBeyer/DragSelect/issues/181)
- Getting rid of self-hosted versions. This is just bad practice… If you want to use hosted versions either you go with always the latest or you use something like `unpkg` for example `import DragSelect from "https://unpkg.com/dragselect@latest/dist/ds.es6m.min.js";`
- Removed self-hosted versions. This is just bad practice… If you want to use hosted versions either you go with always the latest or you use something like `unpkg` for example `import DragSelect from "https://unpkg.com/dragselect@latest/dist/ds.es6m.min.js";`

# 2.7.4

Expand Down
690 changes: 690 additions & 0 deletions DragSelect/LICENSE

Large diffs are not rendered by default.

24 changes: 0 additions & 24 deletions DragSelect/bower.json

This file was deleted.

2 changes: 1 addition & 1 deletion DragSelect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"vanillajs"
],
"author": "Thibault Jan Beyer",
"license": "MIT",
"license": "GPLv3",
"bugs": {
"url": "https://github.com/ThibaultJanBeyer/DragSelect/issues"
},
Expand Down
29 changes: 13 additions & 16 deletions DragSelect/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import resolve from '@rollup/plugin-node-resolve'
import { terser } from 'rollup-plugin-terser'
import typescript from '@rollup/plugin-typescript';
import dts from 'rollup-plugin-dts';
import typescript from '@rollup/plugin-typescript'
import dts from 'rollup-plugin-dts'

const banner = `/***

Expand All @@ -18,21 +18,21 @@ const banner = `/***

******************************************

{*} {*} STAR THIS PLUGIN ON GITHUB {*} {*}
{*} {*} STAR THIS PROJECT ON GITHUB {*} {*}

https://github.com/ThibaultJanBeyer/DragSelect
Please give it a like, this is what makes me happy :-)
Thank You

{*} {*} STAR THIS PLUGIN ON GITHUB {*} {*}

******************************************
********* The MIT License (MIT) **********
******************************************
{*} {*} STAR THIS PROJECT ON GITHUB {*} {*}
***************************************
********* GPLv3 / Commercial **********
***************************************
Created 2017 by ThibaultJanBeyer
web: http://www.DragSelect.com/
github: https://github.com/ThibaultJanBeyer/DragSelect

Web: http://www.DragSelect.com/
GitHub: https://github.com/ThibaultJanBeyer/DragSelect
***************************************
*/`

/**
Expand Down Expand Up @@ -69,10 +69,7 @@ export default [
plugins: [terser()],
},
],
plugins: [
typescript(),
resolve(),
],
plugins: [typescript(), resolve()],
},
{
input: `src/DragSelect.ts`,
Expand All @@ -81,5 +78,5 @@ export default [
file: `dist/DragSelect.d.ts`,
format: 'es',
},
}
},
]
38 changes: 10 additions & 28 deletions DragSelect/src/DragSelect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,21 @@
/_____/_/ \__,_/\__, //____/\___/_/\___/\___/\__/
/____/

{*} {*} STAR THIS PLUGIN ON GITHUB {*} {*}
{*} {*} STAR THIS PROJECT ON GITHUB {*} {*}

https://github.com/ThibaultJanBeyer/DragSelect
Please give it a like, this is what makes me happy :-)
Thank You

{*} {*} STAR THIS PLUGIN ON GITHUB {*} {*}

******************************************
********* The MIT License (MIT) **********
******************************************
Copyright (c) 2017 ThibaultJanBeyer
web: http://www.dragselect.com/
github: https://github.com/ThibaultJanBeyer/DragSelect
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--- Notes ---
Checking types using JS-Docs inspired by this post:
https://medium.com/@trukrs/type-safe-javascript-with-jsdoc-7a2a63209b76
---
{*} {*} STAR THIS PROJECT ON GITHUB {*} {*}

***************************************
********* GPLv3 / Commercial **********
***************************************
Created 2017 by ThibaultJanBeyer
Web: http://www.DragSelect.com/
GitHub: https://github.com/ThibaultJanBeyer/DragSelect
***************************************
*/

import Area from './modules/Area'
Expand Down
Loading