aboutsummaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)AuthorFilesLines
2016-06-26Remove unnecessary usage of Promises in non-async ScrollSpy tests (#20180)Chris Rebert1-28/+26
Closes #19906 [skip validator]
2016-06-12Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-devMark Otto14-188/+223
2016-06-05Enable more rules from ESLint 2.0; refs #19999 (#20076)Chris Rebert2-1/+10
[skip sauce] [skip validator]
2016-06-04gruntChris Rebert10-17/+32
[ci skip]
2016-06-04Upgrade to latest version of JSCS (v3.0.4) (#20070)Chris Rebert1-2/+0
Fixes #20002 [skip sauce] [skip validator]
2016-06-04Update ESLint to v2.11.1 (latest stable) (#20068)Chris Rebert1-0/+2
Fixes #19908 [skip sauce] [skip validator]
2016-06-04Upgrade ESLint to v2.9.0 (#20047)Chris Rebert1-1/+3
Refs #19908 [skip sauce] [skip validator]
2016-06-04Update ESLint to v2.5.3 (#20043)Chris Rebert2-3/+11
Refs #19908. [skip sauce] [skip validator]
2016-06-04Upgrade ESLint to v2.3.0 (#20041)Chris Rebert1-164/+165
Refs #19908 [skip sauce]
2016-05-31Tweak Esc key comment in modal.jsChris Rebert1-1/+1
[skip sauce] [skip validator]
2016-05-31Enable new ESLint-recommended rules in ESLint configChris Rebert1-0/+2
Refs http://eslint.org/docs/user-guide/migrating-to-2.0.0#new-rules-in-eslintrecommended
2016-05-31Migrate parser & env config to ESLint 2.0.0Chris Rebert1-0/+5
2016-05-31Comply with consistent-return ESLint ruleChris Rebert2-0/+2
2016-05-31Migrate ESLint rules config to ESLint 2.0.0Chris Rebert1-3/+1
Refs http://eslint.org/docs/user-guide/migrating-to-2.0.0
2016-05-31Upgrade ESLint to v1.10.3Chris Rebert1-0/+0
Refs #19908
2016-05-30Upgrade ESLint to v1.9.0Chris Rebert1-1/+2
Refs #19908
2016-05-30Upgrade ESlint to v1.7.3Chris Rebert1-0/+2
Enable new rules: * no-empty-pattern * no-magic-numbers (exempting 0 and ±1) Refs #19908 [skip sauce] [skip validator]
2016-05-30Use named constants for magic numbers (#19992)Chris Rebert4-16/+25
Mostly KeyboardEvent.which and MouseEvent.which values. [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-26Merge pull request #19894 from twbs/v4-dev-jquery223XhmikosR1-4/+4
Update jQuery to v2.2.4.
2016-05-26Update jQuery to v2.2.4.XhmikosR1-4/+4
2016-05-22Dropdown: remove dependency to role="menu", role="listbox" a and li elements ↵Pierre-Denis Vanduynslager1-6/+3
=> fix keyboard navigation
2016-05-18Remove stray "~" in modal paddingRight value (#19932)akai1-1/+1
[skip validator]
2016-05-11Handle aria-hidden on modal container when showing/hidingPatrick H. Lauke2-0/+19
Fixes #19878
2016-05-08gruntMark Otto2-8/+2
2016-04-21Modal: Remove IE8-specific window.innerWidth workaroundChris Rebert1-7/+1
[skip validator]
2016-03-19Update jQuery to v2.2.2.XhmikosR1-4/+4
2016-03-14Update tooltip.jsMichael J. Ryan1-1/+1
match project's style check
2016-03-14Update tooltip.jsMichael J. Ryan1-1/+1
Don't reference `Tether` via attachment to `window`, with the update one can import bootstrap providing the dependencies in webpack with: ``` new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', Tether: 'tether', }); ``` Then inside one's own bootstrap/globals, `import 'bootstrap';` will simply work, and $/jQuery can be used from there. I had wanted to do this, but also expose jQuery, Tether, etc when in development build in my code, but if I provide `window.Tether`, I can't then expose it to the outside...
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-19Run grunt.XhmikosR2-2/+2
[ci skip]
2016-02-19Fix validation errors.XhmikosR2-2/+2
[skip sauce]
2016-02-17Replace jQuery with vanilla JSPatrick H. Lauke1-1/+1
2016-02-16gruntMark Otto2-1/+3
2016-02-16Visual/manual test for checkbox/radio button kbd behaviorPatrick H. Lauke1-0/+5
2016-02-16Focus (visually hidden) input radio/checkboxPatrick H. Lauke1-0/+3
This allows for keyboard navigation (e.g. arrow keys left/right to trigger different radio buttons) following an initial mouse click interaction
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-03Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-devMark Otto3-3/+3
2016-02-01Carousel - Do not prevent on keydown for input and textareaJohann-S2-2/+33
2016-01-26scrollspy.js: Avoid gratuitous non-ASCII for consistency+compatibilityChris Rebert1-1/+1
Fixes #19028 [skip sauce] [skip validator]
2016-01-14Button toggling - trigger change event on inputKotas Vlastimil2-1/+21
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.
2016-01-01grunt dist docsChris Rebert6-5/+7
[ci skip]
2015-12-24ESLint: enable no-bitwise ruleChris Rebert1-1/+1
[skip sauce]
2015-12-24Exempt getUID() from ESLint's no-bitwise ruleChris Rebert1-0/+2
[skip sauce] [skip validator]
2015-12-24Merge pull request #18393 from twbs/dropdown-bitwise-less-tricksyChris Rebert1-1/+1
dropdown.js: Use more straightforward phrasing for index bound check
2015-12-24Merge pull request #18638 from twbs/fix-18365Chris Rebert2-2/+46
Modal: Ignore spurious focus event that Firefox fires at document when switching back to its tab
2015-12-24Run `grunt`.XhmikosR20-20/+20
[ci skip]
2015-12-22Modal: Ignore spurious `focus` event that Firefox fires at `document` when ↵Chris Rebert1-2/+3
switching back to its tab Fixes #18365 Refs https://bugzilla.mozilla.org/show_bug.cgi?id=1228802