aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit
AgeCommit message (Collapse)AuthorFilesLines
2015-08-27Remove the obsolete JSHint references.XhmikosR1-6/+0
2015-08-18rewrite tab with new active shitJacob Thornton1-10/+10
2015-08-18Merge branch 'v4' of github.com:twbs/derpstrap into v4Jacob Thornton1-30/+29
2015-08-18js tests passing + eslintJacob Thornton1-14/+11
2015-08-18add polyfil for bind for tether.jsJacob Thornton1-0/+32
2015-08-04Merge branch 'master' into v4mMark Otto1-0/+32
2015-07-27Fix triggering of {shown,hidden}.bs.dropdown events so relatedTarget gets ↵Johann-S1-0/+32
set properly Fixes #16828 Closes #16865
2015-06-18Merge branch 'master' into v4Mark Otto1-5/+5
2015-06-02generalize dropdowns / drop role="menu"Patrick H. Lauke1-5/+5
as role="menu" is a very specific (and strict) ARIA pattern for desktop-like application menus, and our dropdowns are often used as pure navigation dropdowns, this change abandons ARIA menus for a more open-ended and light-weight approach (see http://heydonworks.com/practical_aria_examples/#submenus and http://www.w3.org/WAI/tutorials/menus/flyout/#improve-screen-reader-support-using-wai-aria) note that in dropdown.js, switched to now target ``.dropdown-menu`` instead of ``role["menu"]`` - this also prevents bootstrap scripts from "bleeding" into non-bootstrap components on the same page. also removed the ``role=["listbox"]`` part, which appears to be vestigial/unused (only place in bootstrap that uses that role are carousels, and their key handling is done separately)
2015-05-17Use `https` when possible.XhmikosR1-1/+1
2015-05-13al tests passing, dist rebuilt, w/typecheckerfat1-1/+3
2015-05-13add simple type checker implementationfat1-0/+30
2015-05-13fix up testsfat1-72/+72
2015-05-13fix #15301fat1-0/+45
2015-05-13address https://github.com/twbs/bootstrap/pull/16135fat1-0/+86
2015-05-13implement global dispose methodfat2-3/+3
2015-05-12grunt test-js, grunt dist-js now workingfat1-1/+1
2015-05-12popover passing as wellfat2-28/+13
2015-05-11rewritten tooltip + tether integration and death to our positioner jankfat1-607/+49
2015-05-10add getters for Version and Default where applicablefat2-108/+1
add modal my gawd
2015-05-09add collapsefat1-2/+2
2015-05-07carousel -> es6fat1-80/+80
2015-05-07button -> es6fat1-58/+0
2015-05-07es6 alert :|fat1-1/+2
2015-05-06remove closureness from pluginsfat8-514/+1009
2015-05-05phantom.js: switch to unicode characters that work on Windows too.XhmikosR1-2/+2
2015-05-05Comply to the new JSCS rules.XhmikosR1-9/+9
2015-05-04Merge pull request #16014 from redbmk/issue-16008Chris Rebert1-0/+38
Multiple tooltip triggers don't play well together
2015-05-01Remove broken/vestigial unit testPatrick H. Lauke1-13/+0
Overall logic for this test appears broken, possibly relating to an older version of Bootstrap that did not require explicit `data-toggle="button"` on single toggle buttons?
2015-04-27Multiple tooltip triggers don't play well togetherBraden M. Kelley1-0/+38
Fixes issue #16008
2015-04-27Merge pull request #16152 from jarthod/tooltip-placement-viewport-fixF A T1-12/+33
Tooltip/popover: Fix auto placement to use viewport
2015-04-27Set `box-sizing: border-box` on .container-viewport in #16142 testcaseChris Rebert1-0/+1
Otherwise, the test doesn't properly fail when the fix is reverted.
2015-04-27Compare tooltip right offset to viewport right offset (and not width)Adrien1-0/+27
Closes #16142 by merging it.
2015-04-25Throw error when tooltip/popover template has multiple top-level elementsChris Rebert2-0/+21
Closes #16219.
2015-04-23throw error when trying to show tooltip on :hidden elementChris Rebert2-34/+60
2015-04-21Allow viewport option to be a functionAdrien Siami1-0/+31
Closes #16151 by merging a rebased version of it that adds docs and 1 more assertion.
2015-04-21Merge pull request #16147 from Johann-S/event_insertedChris Rebert2-0/+31
Fixes #16124.
2015-04-11Fix existing radio button unit testPatrick H. Lauke1-2/+2
2015-04-08Add event after template insertedJohann-S2-0/+31
2015-03-29fixed IE incompatible CSSAdrien Jarthon1-1/+1
2015-03-29Added non-regression test & fixed existing oneAdrien Jarthon1-12/+33
2015-03-29Merge branch 'master' into v4Mark Otto7-74/+310
Conflicts: .gitignore Gruntfile.js _config.yml dist/css/bootstrap-theme.css dist/css/bootstrap-theme.min.css dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css dist/js/bootstrap.js dist/js/bootstrap.min.js docs/_includes/components/navbar.html docs/_includes/components/progress-bars.html docs/_includes/css/grid.html docs/_includes/css/overview.html docs/_includes/customizer-variables.html docs/_includes/getting-started/accessibility.html docs/_includes/getting-started/browser-device-support.html docs/_includes/getting-started/community.html docs/_includes/getting-started/disabling-responsiveness.html docs/_includes/getting-started/download.html docs/_includes/getting-started/examples.html docs/_includes/getting-started/license.html docs/_includes/getting-started/third-party-support.html docs/_includes/js/alerts.html docs/_includes/js/buttons.html docs/_includes/js/carousel.html docs/_includes/js/collapse.html docs/_includes/js/dropdowns.html docs/_includes/js/modal.html docs/_includes/js/popovers.html docs/_includes/js/scrollspy.html docs/_includes/js/tabs.html docs/_includes/js/tooltips.html docs/_includes/js/transitions.html docs/_includes/nav/javascript.html docs/_includes/nav/main.html docs/about.html docs/assets/css/docs.min.css docs/assets/css/src/docs.css docs/assets/js/customize.min.js docs/assets/js/raw-files.min.js docs/assets/js/src/customizer.js docs/dist/css/bootstrap-theme.css docs/dist/css/bootstrap-theme.min.css docs/dist/css/bootstrap.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css docs/dist/js/bootstrap.js docs/dist/js/bootstrap.min.js docs/migration.html js/affix.js js/alert.js js/button.js js/carousel.js js/collapse.js js/dropdown.js js/modal.js js/popover.js js/scrollspy.js js/tab.js js/tests/unit/affix.js js/tests/unit/button.js js/tests/unit/carousel.js js/tests/unit/modal.js js/tests/unit/tooltip.js js/tests/visual/modal.html js/tooltip.js less/component-animations.less less/jumbotron.less less/mixins/background-variant.less less/mixins/buttons.less less/mixins/responsive-visibility.less less/mixins/text-emphasis.less less/navbar.less less/navs.less less/scaffolding.less less/tooltip.less less/utilities.less less/variables.less package.json scss/_buttons.scss scss/_forms.scss scss/_modal.scss
2015-03-25rm redundant aria-hidden usage from Modals; fixes #16020Chris Rebert1-28/+0
2015-03-24Merge pull request #15987 from twbs/fix-15972Chris Rebert1-25/+25
add role="button" to a[data-toggle="collapse"]
2015-03-21Fix #16072: Clicking into input field within dropdown no longer closes the ↵Emmanuel Bourgerie1-0/+38
dropdown Closes #16073 by merging it
2015-03-10Fixed proper navigation element selection on backward scrolling (from the ↵Maxim Andrukhovych1-0/+46
bottom to the top)
2015-03-09Disable jQuery event aliases when running test suiteChris Rebert9-64/+64
To ensure that we don't accidentally use any of the aliases. This should prevent any future regressions from #12761. Also updates the test suite since it now can't use these aliases either.
2015-03-06Collapse unit test: rm check that no-op hide adds style="height: 0px"Chris Rebert1-2/+1
Appears to be unnecessary and is broken by #16011, which is otherwise quite sane.
2015-03-06.collapse('hide') on hidden uninit-ed collapsible no longer shows it; fixes ↵Chris Rebert1-2/+30
#15315 Thanks to @peterblazejewicz & @Nikita240 Adds unit tests based on #14417 X-Ref: #14282 Closes #15807
2015-03-03Hiding an uninitialized tooltip/popover no longer initializes it; fixes #15874Chris Rebert2-0/+24