Skip to content

Commit

Permalink
Tidy up Choices.version
Browse files Browse the repository at this point in the history
  • Loading branch information
Xon committed Aug 11, 2024
1 parent 3efc69f commit 94e58e9
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 27 deletions.
4 changes: 1 addition & 3 deletions public/assets/scripts/choices.js
Original file line number Diff line number Diff line change
Expand Up @@ -5670,12 +5670,10 @@
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = 'git';
Choices.version = '11.0.0-rc5';
return Choices;
}());

Choices.version = '11.0.0-rc5';

return Choices;

}));
2 changes: 1 addition & 1 deletion public/assets/scripts/choices.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/assets/scripts/choices.min.mjs

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions public/assets/scripts/choices.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5664,10 +5664,8 @@ var Choices = /** @class */ (function () {
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = 'git';
Choices.version = '11.0.0-rc5';
return Choices;
}());

Choices.version = '11.0.0-rc5';

export { Choices as default };
4 changes: 1 addition & 3 deletions public/assets/scripts/choices.search-basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -5188,12 +5188,10 @@
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = 'git';
Choices.version = '11.0.0-rc5';
return Choices;
}());

Choices.version = '11.0.0-rc5';

return Choices;

}));
2 changes: 1 addition & 1 deletion public/assets/scripts/choices.search-basic.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/assets/scripts/choices.search-basic.min.mjs

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions public/assets/scripts/choices.search-basic.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5182,10 +5182,8 @@ var Choices = /** @class */ (function () {
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = 'git';
Choices.version = '11.0.0-rc5';
return Choices;
}());

Choices.version = '11.0.0-rc5';

export { Choices as default };
4 changes: 1 addition & 3 deletions public/assets/scripts/choices.search-prefix.js
Original file line number Diff line number Diff line change
Expand Up @@ -4044,12 +4044,10 @@
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = 'git';
Choices.version = '11.0.0-rc5';
return Choices;
}());

Choices.version = '11.0.0-rc5';

return Choices;

}));
2 changes: 1 addition & 1 deletion public/assets/scripts/choices.search-prefix.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/assets/scripts/choices.search-prefix.min.mjs

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions public/assets/scripts/choices.search-prefix.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4038,10 +4038,8 @@ var Choices = /** @class */ (function () {
throw new TypeError("".concat(caller, " called for an element which has multiple instances of Choices initialised on it"));
}
};
Choices.version = 'git';
Choices.version = '11.0.0-rc5';
return Choices;
}());

Choices.version = '11.0.0-rc5';

export { Choices as default };
2 changes: 0 additions & 2 deletions src/entry.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Choices from './scripts/choices';

Choices.version = '__VERSION__';

export default Choices;
2 changes: 1 addition & 1 deletion src/scripts/choices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const parseDataSetId = (element?: HTMLElement): number | undefined => {
* @author Josh Johnson<[email protected]>
*/
class Choices implements ChoicesInterface {
static version: string = 'git';
static version: string = '__VERSION__';

static get defaults(): {
options: Partial<Options>;
Expand Down

0 comments on commit 94e58e9

Please sign in to comment.