aboutsummaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)AuthorFilesLines
2015-03-16v3.3.2 => v3.3.4Chris Rebert12-23/+23
2015-03-10Fixed proper navigation element selection on backward scrolling (from the ↵Maxim Andrukhovych2-1/+47
bottom to the top)
2015-03-09Merge pull request #16012 from twbs/refs-12761Chris Rebert10-64/+104
Disable jQuery event aliases when running test suite
2015-03-09Affix: $('body') => $(document.body)Chris Rebert1-1/+1
2015-03-09Disable jQuery event aliases when running test suiteChris Rebert10-64/+104
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-09Merge pull request #16011 from twbs/fix-15315Chris Rebert2-5/+32
.collapse('hide') on hidden uninit-ed collapsible no longer shows it
2015-03-07add togglable scrollbar-inducing content to Modal visual testChris Rebert1-0/+18
2015-03-07add static navbar to Modal visual testChris Rebert1-0/+23
2015-03-06Merge pull request #15999 from twbs/kkirsche-includeTestsReadmeChris Rebert1-0/+61
Document JS test suite basics
2015-03-06[Fixes #15951] Document JS test suite basicsKevin Kirsche1-0/+61
X-Ref: #15953 Closes #15952 by merging a tweaked version of it. [skip sauce] [skip validator]
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 Rebert2-3/+31
#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 Rebert4-2/+26
2015-03-03rm semicolon for sake of fat's eccentric tastesChris Rebert1-1/+1
Erratum from #15496
2015-03-03Merge pull request #15961 from kkirsche/ImplementAssertExpectHeinrich Fenkart12-4/+198
[Fixes #15953] Implement assert.expect in each unit test
2015-03-03[Fixes #15953] Implement assert.expect in each unit testKevin Kirsche12-4/+198
[Fixes #15953] Implement `assert.expect` in each unit test
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