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

Remove jQuery #637

Closed
Closed
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
4 changes: 0 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,5 @@ module.exports = {
'spaced-comment': ['error', 'always'],
'switch-colon-spacing': 'error',
'template-curly-spacing': ['error', 'never']
},
globals: {
$: true,
jQuery: true
}
}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Changelog

### 3.0.0

- **New:** Removed jQuery dependency.
- **New:** Added Vue3 support, ended Vue2 support

### 1.7.0

- **New:** Added `onBeforeClick` event.
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/paypalme/wenzhixin)
[![Package Quality](https://npm.packagequality.com/shield/multiple-select.svg)](https://packagequality.com/#?package=multiple-select)

Multiple select is a jQuery plugin to select multiple elements with checkboxes :).
Multiple select is a pure JavaScript plugin to select multiple elements with checkboxes :).

To get started checkout examples and documentation at <http://multiple-select.wenzhixin.net.cn>.

> [!NOTE]
> Version 3.x of this package removed jQuery. If you're still on jQuery, install the previous version with `npm i multiple-select@1`
> Version 2.x of this package is compatible with Vue 3 default. If you're still on Vue 2, install the previous version with `npm i multiple-select@1`

## Examples
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"authors": [
"zhixin <[email protected]>"
],
"description": "A jQuery plugin to select multiple elements with checkboxes :)",
"description": "A pure JavaScript plugin to select multiple elements with checkboxes :)",
"main": [
"dist/multiple-select.min.css",
"dist/multiple-select.min.js"
"dist/multiple-select.global.min.js"
],
"keywords": [
"multiple.select",
Expand Down
Loading