aboutsummaryrefslogtreecommitdiff
path: root/js/tests
AgeCommit message (Collapse)AuthorFilesLines
2016-11-25Merge branch 'eslint' of https://github.com/bardiharborow/bootstrap into ↵Mark Otto12-61/+74
bardiharborow-eslint
2016-11-25[Fix #17371][V4] Deactivating dropdown links in nav tab (#17642)Matt Hernandez1-0/+32
* Fix bug with dropdown tab links not deactivating when other tab or dropdown link is clicked * Revise bug fix for more stability
2016-11-24Make JS compliant with the new ESLint rules.Bardi Harborow11-61/+34
2016-11-24Refactor ESLint configuration.Bardi Harborow1-0/+40
2016-11-13Update visual tests.Bardi Harborow10-790/+760
2016-10-31Making .tooltip('show') throw an error on elements with display:none (#20940)Johann2-0/+25
2016-10-28Merge pull request #17536 from Johann-S/testPaddingMark Otto1-0/+38
[Fix #17400] Add tests about padding restoration
2016-10-25Use a single class name for opened/expanded/shown state of widgetsJohann-S8-61/+61
2016-10-24Merge pull request #20467 from maxbeatty/v4-dev-17754Mark Otto1-0/+16
add support for ol in tab plugin
2016-10-19Fix bug multiple accordions collapseJohann-S1-0/+23
2016-10-12v4: Fix outdated utilites classesvsn4ik3-9/+9
2016-10-11Collapse using card componentJohann-S3-57/+57
2016-10-09Merge pull request #17568 from Johann-S/fixCollapseHeightMark Otto1-0/+15
[Fix #17555][V4] fix resetting style on closing collapse
2016-10-09Update dependencies, including Babel to v6 and zeroUnits fix.Bardi Harborow4-1461/+1854
2016-10-03Fix broken/redirected links, moving to HTTPS where possible. (#20557)Bardi Harborow2-6/+6
2016-09-15replace some profanities (#20715)VarelloThemes1-1/+1
2016-08-04add support for ol in tab plugin. fixes #17754Max Beatty1-0/+16
2016-08-04prevent navigating to area href when modal target. fixes #18796Max Beatty1-0/+22
2016-06-28Support jQuery v3 in Bootstrap v4 (#20191)Chris Rebert1-4/+4
* bower.json, package.json: Extend jQuery version ranges to include v3 * NuGet: Bump jQuery to v3.0.0.1 * Docs+Examples: Update jQuery to v3.0.0 * Use jQuery v3.0.0 for JS unit tests * Update jqueryVersionCheck to allow jQuery v3.x.x
2016-06-28ScrollSpy unit test: Use single done() in a then() instead of multiple ↵Dave Methvin1-2/+2
done()s (#20198) Fixes test flakiness on OS X Safari and Android when using jQuery 3. Fixes #20182 more Refs #20191
2016-06-27Scrollspy test: Allow for async .then() in jQuery 3; fixes #20182Dave Methvin1-2/+2
Instead of doing a new assert.async(), just do a single one for the entire test and let the .then() be async as well. Closes #20190
2016-06-26Remove unnecessary usage of Promises in non-async ScrollSpy tests (#20180)Chris Rebert1-28/+26
Closes #19906 [skip validator]
2016-05-30Fix load & scroll event usage in ScrollSpy tests (#19986)Chris Rebert1-7/+7
* Use $.one() instead of $.on() since there are no $.off()s in the code. * Remove unnecessary namespacing of listeners for the `scroll` & `load` events. These are vanilla DOM events (not custom jQuery namespaced events) and we're not using jQuery namespacing to manage these event listeners either (e.g. `$.off()`). [skip validator]
2016-05-29js/tests/unit/scrollspy.js: Fix "offsed" typos (#19985)Chris Rebert1-2/+2
[skip sauce] [skip validator]
2016-05-26Update jQuery to v2.2.4.XhmikosR1-4/+4
2016-05-11Handle aria-hidden on modal container when showing/hidingPatrick H. Lauke1-0/+17
Fixes #19878
2016-03-19Update jQuery to v2.2.2.XhmikosR1-4/+4
2016-02-27JS visual tests: Remove usages of defunct .page-header classChris Rebert9-27/+9
[skip sauce]
2016-02-27Update tether to v1.2.0.XhmikosR1-2/+1
[skip sauce] [skip validator]
2016-02-19Fix validation errors.XhmikosR2-2/+2
[skip sauce]
2016-02-16Visual/manual test for checkbox/radio button kbd behaviorPatrick H. Lauke1-0/+5
2016-02-16js/tests/index.html: Replace jQuery event alias methods with functions that ↵Chris Rebert1-1/+4
throw explanatory errors, instead of with undefined Refs https://github.com/twbs/bootstrap/pull/19219#issuecomment-184653699 [skip validator]
2016-02-01Carousel - Do not prevent on keydown for input and textareaJohann-S1-0/+32
2016-01-14Button toggling - trigger change event on inputKotas Vlastimil1-0/+20
Bootstrap’s .button styles can be applied to other elements, such as labels, to provide checkbox or radio style button toggling. When the checkbox or radio state is changed, there should be triggered the change event. Currently, the change event is triggered on the Button, which is not correct. Only input fields do support the change event.
2015-12-24Merge pull request #18638 from twbs/fix-18365Chris Rebert1-0/+43
Modal: Ignore spurious focus event that Firefox fires at document when switching back to its tab
2015-12-22Add visual test for #18365Chris Rebert1-0/+43
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1228802
2015-12-22js/tests/unit/modal.js: Fix typoChris Rebert1-1/+1
[ci skip]
2015-12-03tests: bump QUnit to v1.20.0.XhmikosR2-1783/+2123
[skip validator]
2015-11-19Remove stray </p> from js/tests/visual/scrollspy.htmlChris Rebert1-1/+0
[skip sauce]
2015-10-26Remove html5shiv and respond.js from test files.XhmikosR10-73/+0
2015-10-24Switch to jQuery 2.1.4.XhmikosR1-5/+4
Now that we don't support IE 8 it's safe to do that.
2015-10-11Use Page Visibility API in Carousel; fixes #17706Johann-S1-1/+9
Avoids cycling carousels when the page isn't visible. Closes #17710 Refs #15566
2015-10-02Add throw error for undefined method on pluginsJohann-S8-0/+96
2015-09-11fix resetting style on closing collapseJohann-S1-0/+15
2015-09-10Add tests about padding restorationJohann-S1-0/+38
2015-08-31Accept elements as the tooltip / popover contentGleb Mazovetskiy2-0/+65
When a DOM node is passed to an HTML tooltip, the `title` node is only moved if it is not already in the tooltip. Otherwise, `empty()` is used instead of `detach()` before appending the `title` to avoid memory leaks. If a DOM node is passed to a plain text tooltip, its text is copied via jQuery `.text()`. Replaces `.detach()` with `.empty()`, as `.detach()` is almost never useful but instead leaks memory. The difference between `empty` and `detach` is that the latter keeps all the attached jQuery events/data. However, since we do not return the previous children, the user would have to keep these themselves, thus they can `detach()` if necessary. This is a port of https://github.com/twbs/bootstrap/pull/14552 to v4.
2015-08-27Update QUnit to v1.18.0.XhmikosR2-221/+1185
2015-08-27Remove the obsolete JSHint references.XhmikosR1-6/+0
2015-08-21Docs: Update all dropdowns to new HTML structureHeinrich Fenkart1-4/+4
2015-08-18rewrite tab with new active shitJacob Thornton2-28/+28