mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-18 13:45:12 +02:00
Use export for classes
This commit is contained in:
parent
dd0a06a946
commit
7c1a18895e
5621
src/scripts/dist/choices.js
vendored
5621
src/scripts/dist/choices.js
vendored
File diff suppressed because it is too large
Load diff
2
src/scripts/dist/choices.js.map
vendored
2
src/scripts/dist/choices.js.map
vendored
File diff suppressed because one or more lines are too long
4
src/scripts/dist/choices.min.js
vendored
4
src/scripts/dist/choices.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -32,7 +32,7 @@ import './lib/polyfills';
|
|||
/**
|
||||
* Choices
|
||||
*/
|
||||
class Choices {
|
||||
export default class Choices {
|
||||
constructor(element = '[data-choice]', userConfig = {}) {
|
||||
// If there are multiple elements, create a new instance
|
||||
// for each element besides the first one (as that already has an instance)
|
||||
|
@ -2405,5 +2405,3 @@ class Choices {
|
|||
}
|
||||
|
||||
Choices.userDefaults = {};
|
||||
|
||||
module.exports = Choices;
|
||||
|
|
|
@ -176,5 +176,3 @@ export default class Store {
|
|||
return foundGroup;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Store;
|
||||
|
|
Loading…
Reference in a new issue