Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2020-05-14Replace double tilde with `Math.floor` (#30691)XhmikosR
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-13Partially Revert "Use regex.test() when we want to check for a Boolean. ↵XhmikosR
(#29969)" (#30770) This partially reverts commit 9c2b9ac74d4abb5ec8b7864054315de3409d5f3a.
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-13Dist (#30694)XhmikosR
2020-05-12coverage: ignore node_modulesXhmikosR
2020-05-12Add a test about the scrollbar issue on non-integer widthDominik Kremer
2020-05-12Avoid bad scrollbar replacement into width valuesGiovanni Mendoza
2020-05-11Add missing closing `div` tags (#30775)XhmikosR
Missed those in 967e607
2020-05-11Removed role="document" from the modal dialog (#30755)Rohit Sharma
2020-05-06Revert "Avoid bad scrollbar replacement into width values (#30690)"XhmikosR
This reverts commit 85c4788dedfdec7d681829e3a52ada0c33f8fa8e.
2020-05-06tests: streamline HTML end tags (#30648)XhmikosR
2020-05-06add unit tests to ensure our plugins works in jqueryJohann-S
2020-05-06enforce element check on scrollspy target (#30747)Johann-S
2020-05-05BrowserStack: test Edge 16 too (#30725)XhmikosR
2020-05-05Revert "Update karma.conf.js"XhmikosR
This reverts commit b8abded0afe78519c4c2a185d30e8cf245ed243f.
2020-05-04Move babel whitelist helpers to a common file (#30723)XhmikosR
2020-05-04Update karma.conf.jsXhmikosR
Use the recommended karma-browserstack-launcher settings
2020-05-04scrollspy.js: remove temporary variable (#30724)XhmikosR
2020-05-04Clean up lint rules (#30721)XhmikosR
* Remove unneeded rule suppression * Format tests/unit/.eslintrc.json * build/.eslintrc.json: add strict for consistency
2020-04-29Avoid bad scrollbar replacement into width values (#30690)Johann-S
2020-04-28Drop closest from SelectorEngine (#30653)Martijn Cuppens
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-24Remove caret element (#30633)Tanguy Krotoff
2020-04-17Fix crash when pressing ArrowUp the first timeTanguy Krotoff
2020-04-17Replace event.delegateTarget with event.targetTanguy Krotoff
No need for fixEvent() anymore
2020-04-17Replace event.which with event.key and event.buttonTanguy Krotoff
2020-04-17collapse: don't rely on implicit conversion (#30566)XhmikosR
`config` can be an `Object` and we only need to test for `hide` or `show` if it's a `String`
2020-04-09Pass multiple classes to `classList.add` / `classList.remove` (#30537)XhmikosR
This is supported by our currently supported browsers.
2020-04-01Always modal scroll top to 0ysds
2020-03-31Use unordered lists in dropdown-menusMartijn Cuppens
2020-03-29Remove `MSPointerEvent` and `ms-touch-action` in tests (#30463)XhmikosR
2020-03-29Use `textContent` instead of `innerText`. (#30462)XhmikosR
It's supported by all of our supported browsers.
2020-03-28Dist (#29924)XhmikosR
2020-03-28Remove holder.js leftovers (#30469)XhmikosR
2020-03-28v5 tabs - accessibility issue when using ul/li semanticLaussel Loïc
Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc
2020-03-25fix babel config in our filesJohann-S
2020-03-25fix: remove make array util function (#30430)Johann-S
2020-03-23Use next dropdown menu instead of first of the parentMartijn Cuppens
2020-03-18Remove Internet Explorer leftoversXhmikosR
2020-03-18Remove IE compatibility JS codeJohann-S
2020-03-18fix: ensure `totype` always returns stringified null/undefined when ↵Johann-S
null/undefined is passed (#30383)
2020-03-18Switch to strings constants.XhmikosR
This allows the minifier to mangle the constants. It also allows the linter to find unused strings properly. While at it, remove a few unused properties. File Before After Diff -------------------------------------------------------- bootstrap.bundle.min.js 23.61 kB 22.61 kB -1.00 kB (-4.23 %) bootstrap.min.js 17.04 kB 16.08 kB -0.96 kB (-5.63 %)
2020-03-09Improvement: harmonize usage of constants (#30285)Sparks
2020-03-09`prev()` function fails when non-element nodes are present (#30117)Martijn Cuppens
The `prev()` function doesn't take nodes other than elements into account. Also we could simplify things a lot using the `previousElementSibling` property. This property isn't fully supported in IE, it only works for elements, but since the `element` variable is an element, we can safely use it here. I've also added an additional test. I don't think we had this issue in v4, since we relied on jQuery back then. Ref. https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/nextElementSibling
2020-02-10Corrected grammatical error in test descriptions (#30150)yonikohen
"without instantiate it" should be "without instantiating it"
2020-02-01tests: Remove button `href`s (#30119)Martijn Cuppens
2020-01-10Close modal with keyboard=true & backdrop=static (#29986)Giovanni Mendoza
* Close modal with keyboard=true & backdrop=static
2020-01-07sanitizer.js: Add srcset in the allowed attributes (#29968)XhmikosR
2020-01-07Fix the new lint errors.XhmikosR
2020-01-07Use regex.test() when we want to check for a Boolean. (#29969)XhmikosR
2019-12-25Switch to @rollup/plugin-commonjs (#29907)XhmikosR