aboutsummaryrefslogtreecommitdiff
path: root/js/src/util/index.js
AgeCommit message (Collapse)AuthorFilesLines
2021-01-13Throw a `TypeError` instead of the generic `Error` (#32585)Rohit Sharma1-5/+4
* Change from Error to TypeError * Convert the `NAME` to upper case to make the consistency in the error message * Update the remaining tests to be stricter Co-authored-by: XhmikosR <[email protected]>
2020-12-10Remove `TRANSITION_END` from utils (#32394)XhmikosR1-1/+0
2020-12-08Refactor components to use a utility function to define jQuery plugins (#32285)alpadev1-1/+18
* refactor: use an utility function to define jQuery plugins * test: add spec for defineJQueryPlugin utility function * Update .bundlewatch.config.json Co-authored-by: XhmikosR <[email protected]>
2020-12-07Prepare v5.0.0-beta1.XhmikosR1-1/+1
2020-12-04feat(RTL): implement RTLGaël Poupard1-1/+4
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-12-02Unbreak lines. (#32304)XhmikosR1-4/+2
2020-11-14Switch to Number propertiesXhmikosR1-3/+3
2020-11-14Add `bs` in data attributesRohit Sharma1-2/+2
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-11Prepare v5.0.0-alpha3 (#32122)v5.0.0-alpha3XhmikosR1-1/+1
2020-11-01Fix TypeError when Bootstrap is included in `head` (#32024)Sascha1-2/+11
* extend jquery after domContentLoaded event is fired * add unittest for util onDOMContentLoaded * wait for trigger jquery event after domContentLoaded * remove domcontentready from eventHandler * move istanbul ignore statements to correct line Co-authored-by: XhmikosR <[email protected]>
2020-09-29Prepare v5.0.0-alpha2. (#31748)v5.0.0-alpha2XhmikosR1-1/+1
2020-06-17Unbreak short linesXhmikosR1-15/+14
2020-06-16Rename "master" to "main". (#31050)XhmikosR1-1/+1
2020-05-14Replace double tilde with `Math.floor` (#30691)XhmikosR1-1/+1
Nowadays, browser engines have improved a lot and `Math.floor` is the same, if not faster. Also, clarity is better than micro-optimizations in this case.
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR1-1/+1
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-03-25fix: remove make array util function (#30430)Johann-S1-9/+0
2020-03-18Remove IE compatibility JS codeJohann-S1-4/+1
2020-03-18fix: ensure `totype` always returns stringified null/undefined when ↵Johann-S1-1/+7
null/undefined is passed (#30383)
2019-10-17Skip hidden dropdowns while focusing (#29523)Jeremy Jackson1-3/+6
2019-09-02ESLint: specify `--report-unused-disable-directives` (#29350)XhmikosR1-2/+0
2019-08-02add a way to disable jQuery detectionJohann-S1-2/+11
2019-07-24use get selector from element only when neededJohann-S1-5/+18
2019-03-18Add back support for IE 11Johann-S1-1/+4
2019-03-11Comply to the new rules.XhmikosR1-16/+18
2019-02-26move util in a util folder with the sanitizerJohann-S1-0/+177