aboutsummaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)AuthorFilesLines
2015-03-03Modal: Fix backdrop not readjusting when height changesHeinrich Fenkart3-27/+69
Fixes #15136. Closes #15345. Closes #15314. Refs #14724, #14927.
2015-03-02Merge pull request #15970 from twbs/the-future-is-now-qunitChris Rebert1-0/+28
Disable deprecated QUnit global methods
2015-03-02Disable es3 for tests and customizer.js.XhmikosR1-0/+1
2015-03-01Disable deprecated global QUnit method aliases to prevent backsliding on ↵Chris Rebert1-0/+28
QUnit v2 readiness
2015-03-01Merge pull request #15955 from twbs/fixture-on-screen-iosChris Rebert1-6/+11
Unit tests: Only display fixture on-screen for iOS
2015-03-01Merge pull request #15593 from ↵Chris Rebert2-1/+39
neoeno/handle_multiple_zero_offset_scrollspy_elements Handle multiple zero-offset Scrollspy elements.
2015-03-01Handle multiple zero-offset Scrollspy elements.Caden Lovelace2-1/+39
When the first two elements in a scrollspy content block have a document offset of zero (i.e. they're hard against the top of the page), Scrollspy would switch between them on every scroll event. This could happen, for example, in a system of nested sections: ``` <section id="animals"> <section id="dogs"> Content </section> </section> ``` This ocurred because Scrollspy's check to see if it's at the end of the array of sections uses `!arr[index]`. This misses the case where `arr[index]` does exist and is zero. This commit explicitly checks the array bounds.
2015-03-01Unit tests: Only display fixture on-screen for iOSHeinrich Fenkart1-6/+11
Since only on iOS tests fail when the fixture is displayed off-screen, see https://travis-ci.org/twbs/bootstrap/jobs/52605742
2015-03-01Use different way to make failing test more visible in SauceHeinrich Fenkart1-4/+0
2015-02-26Update all collapse triggers with .collapsed class and aria-expandedIvan Cheung2-7/+75
Fixes #15741 Closes #15751 by merging it.
2015-02-25QUnit.jsDump => QUnit.dumpChris Rebert1-2/+2
Refs http://qunitjs.com/upgrade-guide-2.x/#replace-qunit-jsdump-with-qunit-dump
2015-02-25Use QUnit.log(...) instead of QUnit.log = ...Chris Rebert1-2/+2
Refs http://qunitjs.com/upgrade-guide-2.x/#replace-qunit-log-callback-with-qunit-log-callback-for-all-reporting-callbacks
2015-02-26Unit tests: Use new names of module hooksHeinrich Fenkart11-22/+22
Refs #15893
2015-02-26Modal: Apply any preexisting body padding again after closingnakupanda2-7/+86
2015-02-26Tooltip: Avoid creating an unnecessary tooltip when `Tooltip#hide` is calledQuentin Spencer-Harper1-2/+2
Fixed performance bug where a tooltip element is created and then immediately destroyed when tooltip.hide() is called and there is no existing tooltip element Resolves #15557 by merging it.
2015-02-26Dropdowns: Skip `.disabled` instead of `.divider` on keydown eventvsn4ik2-1/+22
Fixes #15147. Closes #15520 by merging it.
2015-02-26Merge pull request #15923 from kkirsche/useExplicitVariableDeclarationHeinrich Fenkart4-12/+12
[Ref #15881] Use Explicit JS Variable Declarations rather than Chained
2015-02-25Merge pull request #15693 from huang-x-h/patch-1Chris Rebert1-5/+0
tip method in popover.js can be removed
2015-02-25[Ref #15881] Use Explicit Values rather than ChainKevin Kirsche4-12/+12
[Ref #15881] Use Explicit Values for javascript variables rather than chained ones. From https://github.com/twbs/bootstrap/pull/15881#discussion_r25330647
2015-02-24fix 2 typos in modal unit test assertion messagesChris Rebert1-2/+2
2015-02-25Dropdown unit tests: Tiny style changesHeinrich Fenkart1-3/+5
2015-02-25ScrollSpy: Small style consistency adjustmentsHeinrich Fenkart1-17/+14
2015-02-24Merge pull request #15904 from kkirsche/patch-8Chris Rebert1-0/+47
Closes #15904
2015-02-24Add unit test of aria-expanded to dropdown suiteKevin Kirsche1-0/+47
Redo of #15876
2015-02-24Add tests for aria-hidden of modalKevin Kirsche1-0/+26
Add tests for `aria-hidden` of modal Use strictEqual of 1 here instead of 2 asserts
2015-02-24Merge pull request #15893 from twbs/qunit-modernChris Rebert11-600/+600
Modernize QUnit usage by avoiding usage of global functions
2015-02-23JS unit tests: equal() => strictEqual()Chris Rebert7-90/+90
[skip validator]
2015-02-23upgrade to QUnit v1.17.1Chris Rebert2-5/+5
[skip validator]
2015-02-23JS unit tests: use QUnit.module() & QUnit.test() everywhereChris Rebert11-204/+204
[skip validator]
2015-02-23JS unit tests: use modern QUnit assert object everywhereChris Rebert11-504/+504
2015-02-24Merge pull request #15378 from twbs/fix-ie-modal-scrollbar-for-realzHeinrich Fenkart1-1/+6
Modal: Work around IE scrollbars not taking up page width
2015-01-29tip method in popover.js can be removeddormouse1-5/+0
Popover is extend Tooltip, the tip function can use tootltip's tip, so we can remove the tip function definition in popover to reduce the js filesize tip function definition in tooltip.js https://github.com/tbs/bootstrap/blob/master/js/tooltip.js#L405-L407
2015-01-28Merge pull request #15496 from twbs/15484-alternativeChris Rebert3-0/+17
Make $(document).tooltip({...}) without a `selector` throw an error
2015-01-28Merge pull request #15630 from twbs/tabs-cond-fixChris Rebert1-1/+1
Fix error in condition in Tab plugin
2015-01-27Fix name of Tooltip.replaceArrow() parameterChris Rebert1-3/+3
isHorizontal => isVertical
2015-01-21Fix error in condition in Tab pluginChris Rebert1-1/+1
Refs #15186
2015-01-20tweak 'close reopened modal' unit test to work under new QUnit APIChris Rebert1-2/+7
2015-01-20fix bug in tab show/shown relatedTarget unit testChris Rebert1-1/+1
2015-01-20update JS unit tests to future-proof QUnit 1.16.0 APIChris Rebert11-226/+226
[skip validator]
2015-01-19Update QUnit to v1.17.0.XhmikosR2-549/+972
2015-01-19bump versionsMark Otto12-23/+23
2015-01-16Fix bogus JSCS warning.XhmikosR1-3/+3
2015-01-16Update JSCS config for the new version.XhmikosR1-0/+1
2015-01-07Update jQuery to v1.11.2.XhmikosR1-4/+5
2015-01-05window.Document doesn't exist in IE8Chris Rebert1-1/+1
2015-01-05Make $(document).tooltip({...}) without a `selector` throw an errorChris Rebert3-0/+17
Closes #15484
2015-01-01Happy New Year :santa:Zlatan Vasović12-12/+12
2014-12-29Revert "Allow multiple delegated tooltip selectors on a node"Chris Rebert4-81/+8
This reverts commit 1b3237629a316af41945e20837cf3a332798b264. This reverts PR #14189 because it caused major regressions. Fixes #15168. We'll try to revisit #14167's feature request in Bootstrap v4. [skip validator]
2014-12-29Remove semicolons from #15425 because fatChris Rebert1-3/+3
2014-12-29Add regression test for #14244.Chris Rebert1-0/+38
Special thanks to @programcsharp [skip validator]