aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/src/application.js
AgeCommit message (Collapse)AuthorFilesLines
2017-05-29Rearrange all the docs to allow for a docs/major.minor/ setupMark Otto1-108/+0
2017-04-16Make "Copy" buttons actual buttonsPatrick H. Lauke1-2/+9
This makes them keyboard-accessible. For mouse users, the only change here is that the focus outline will remain on the button once clicked (in future, this can be solved with :focus-ring, but for now this would require a polyfill). the tooltip is explicitly hidden on `mouseleave`, so even though the `<button>` retains focus after clicking, the tooltip won't stay visible once mouse user moves away. the mouse hover styles have explicitly not been make to also apply to :focus, so as to minimise the visual impact for mouse users (though the tooltip remains visible) - but due to the default outline and the custom tooltip, it should be fairly clear when keyboard users set focus to a copy button too.
2017-01-01Update copyright years to 2017Nuno Arruda1-2/+2
2016-12-30hook up animation toggleMark Otto1-0/+5
2016-12-31Change remaining JS files to comply with ESLint config.Bardi Harborow1-6/+6
2016-12-23Change scope of docs anchor preventDefault to include modals.Bardi Harborow1-1/+1
2016-11-28Replacement for #20602 (#21236)Mark Otto1-1/+2
* Fixed incorrect instruction: "Press ⌘ to copy" It needed to be "Press ⌘C to copy" * Updated to concatenate copy string Updated copy command to concatenated string to prevent potential issues * Updated the way the copy string concatenates As per excellent suggestion by @tomlutzenberger * Removed semicolon line endings ;P * var not const or let
2016-10-03Fix broken/redirected links, moving to HTTPS where possible. (#20557)Bardi Harborow1-1/+1
2016-05-26Merge pull request #19894 from twbs/v4-dev-jquery223XhmikosR1-1/+1
Update jQuery to v2.2.4.
2016-05-26Fix error with the new jQuery.XhmikosR1-1/+1
2016-05-20Add "The Bootstrap Authors" to copyright notices (#19936)Chris Rebert1-0/+1
❤️❤️❤️ https://github.com/twbs/bootstrap/graphs/contributors
2016-02-18Modal docs: Added JS event handler for relatedTarget demoJames Mosier1-0/+11
Fixes #17584 Closes #17607 by merging it
2016-01-01Update copyright years to 2016Chris Rebert1-1/+1
[ci skip]
2015-10-24Fix the remaining issues for the clipboard.js switch.Zeno Rocha1-14/+23
2015-10-24Replace ZeroClipboard with clipboard.js.XhmikosR1-40/+21
Things left: 1. clear the selection after copy 2. add messages for success and error
2015-09-07Add JS to fix indeterminate checkbox example in docsCorbzilla1-0/+3
Fixes #17196 Closes #17510
2015-08-17restore docs kill links jsMark Otto1-0/+5
2015-08-17restore docs anchor jsMark Otto1-0/+7
2015-08-12get the js working for docsJacob Thornton1-0/+78
2015-06-18Merge branch 'master' into v4Mark Otto1-135/+0
2015-05-28don't use anchor.js on h1s in the docsMark Otto1-1/+1
2015-05-27Merge branch 'v4' of https://github.com/twbs/derpstrap into v4Mark Otto1-4/+6
Conflicts: dist/css/bootstrap.css dist/css/bootstrap.css.map docs/assets/css/docs.min.css
2015-05-17Use `https` when possible.XhmikosR1-1/+1
2015-05-16Update Anchor.js and port over the existing styles.Bryan Braun1-2/+3
Anchor.js 1.0.0 drops the need to use anchor.css, so we remove it from the codebase and move any leftover styles over to docs.css. Closes #16488 by merging it.
2015-05-05Comply to the new JSCS rules.XhmikosR1-20/+21
2015-04-29Redo changes needed to hide Copy button.XhmikosR1-19/+19
2015-04-29Revert "Update ZeroClipboard and remove Copy buttons when Flash is unavailable"XhmikosR1-21/+22
This reverts commit 229e88892913d5c8b712510c28b78bfa114596e5. ZeroClipboard v2.x drops IE < 9 support.
2015-04-29Fix dab6a4f0e3af750f5b1c7b88db1e7d14a15eb8b0.XhmikosR1-1/+1
2015-04-28Bump copyright year.XhmikosR1-1/+1
[ci skip]
2015-04-27scope anchorjs to immediate children, fixes #16129Mark Otto1-1/+1
2015-04-16Update ZeroClipboard and remove Copy buttons when Flash is unavailableMark Tareshawty1-22/+21
Fixes #16269. Closes #16301 by merging a rebased version of it.
2015-04-16rename classes from .bs-docs and .bs to .bdMark Otto1-4/+4
2015-03-09scope the anchor highlightingMark Otto1-1/+1
2015-03-09nuke theme toggler jsMark Otto1-27/+0
2015-03-01Merge branch 'master' into v4Mark Otto1-1/+6
Conflicts: .travis.yml Gruntfile.js bower.json dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css dist/js/bootstrap.js dist/js/bootstrap.min.js docs/_data/glyphicons.yml docs/_includes/components/breadcrumbs.html docs/_includes/components/button-dropdowns.html docs/_includes/components/button-groups.html docs/_includes/components/dropdowns.html docs/_includes/components/glyphicons.html docs/_includes/components/labels.html docs/_includes/components/list-group.html docs/_includes/components/media.html docs/_includes/components/navs.html docs/_includes/components/panels.html docs/_includes/components/progress-bars.html docs/_includes/components/thumbnails.html docs/_includes/components/wells.html docs/_includes/css/buttons.html docs/_includes/css/forms.html docs/_includes/css/helpers.html docs/_includes/css/images.html docs/_includes/css/less.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/examples.html docs/_includes/getting-started/grunt.html docs/_includes/getting-started/license.html docs/_includes/getting-started/template.html docs/_includes/header.html docs/_includes/js/affix.html docs/_includes/js/alerts.html docs/_includes/js/carousel.html docs/_includes/js/collapse.html docs/_includes/js/dropdowns.html docs/_includes/js/modal.html docs/_includes/js/overview.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/_layouts/default.html docs/assets/css/docs.min.css docs/assets/css/src/docs.css docs/assets/js/customize.min.js docs/assets/js/docs.min.js docs/assets/js/raw-files.min.js docs/assets/js/vendor/FileSaver.js docs/assets/js/vendor/autoprefixer.js docs/assets/js/vendor/uglify.min.js docs/dist/css/bootstrap.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css docs/dist/js/bootstrap.min.js docs/examples/blog/index.html docs/examples/carousel/index.html docs/examples/cover/index.html docs/examples/dashboard/index.html docs/examples/narrow-jumbotron/narrow-jumbotron.css docs/examples/navbar-fixed-top/index.html docs/examples/navbar-static-top/index.html docs/examples/non-responsive/index.html docs/examples/non-responsive/non-responsive.css docs/examples/theme/index.html grunt/configBridge.json js/affix.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/tooltip.js less/badges.less less/glyphicons.less less/type.less less/variables.less package.json scss/_dropdown.scss scss/_forms.scss test-infra/npm-shrinkwrap.json
2015-01-21Add AnchorJS for docs anchors.XhmikosR1-1/+6
2015-01-01add indeterminate checkbox supportMark Otto1-1/+3
2014-12-31Merge branch 'v4' of https://github.com/twbs/derpstrap into v4Mark Otto1-0/+1
2014-12-29add missing global declaration for SimpleJekyllSearchChris Rebert1-0/+1
2014-12-24add custom forms, stub out examples for radios and checkboxesMark Otto1-7/+0
2014-12-24basic docs searchMark Otto1-0/+7
2014-11-09Merge branch 'master' into derpMark Otto1-0/+11
Conflicts: Gruntfile.js _config.yml dist/css/bootstrap-theme.css dist/css/bootstrap-theme.css.map dist/css/bootstrap-theme.min.css dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css docs/_includes/components/button-groups.html docs/_includes/components/jumbotron.html docs/_includes/components/media.html docs/_includes/components/navs.html docs/_includes/customizer-variables.html docs/_includes/footer.html docs/_includes/getting-started/browser-device-support.html docs/_includes/js/carousel.html docs/_includes/js/dropdowns.html docs/_includes/js/modal.html docs/_includes/js/popovers.html docs/_includes/js/tooltips.html docs/_includes/nav/getting-started.html docs/_includes/nav/javascript.html docs/_layouts/default.html docs/assets/css/docs.min.css docs/assets/css/src/docs.css docs/assets/js/customize.min.js docs/assets/js/docs.min.js docs/assets/js/raw-files.min.js docs/browser-bugs.html docs/dist/css/bootstrap-theme.css docs/dist/css/bootstrap-theme.css.map 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/examples/justified-nav/index.html less/_forms.less less/_tooltip.less less/navs.less less/theme.less
2014-11-03Add event.relatedTarget + `data-*` example to Modal docsChris Rebert1-0/+11
Fixes #14245
2014-10-26fix progress bar animated biznasMark Otto1-1/+1
2014-10-26Merge branch 'master' into derpMark Otto1-10/+7
Conflicts: Gruntfile.js dist/css/bootstrap-theme.css dist/css/bootstrap-theme.css.map dist/css/bootstrap-theme.min.css dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css docs/_includes/components/dropdowns.html docs/_includes/components/media.html docs/_includes/components/navs.html docs/_includes/components/progress-bars.html docs/_includes/components/responsive-embed.html docs/_includes/css/buttons.html docs/_includes/css/forms.html docs/_includes/css/less.html docs/_includes/css/overview.html docs/_includes/css/responsive-utilities.html docs/_includes/customizer-variables.html docs/_includes/getting-started/browser-device-support.html docs/_includes/getting-started/grunt.html docs/_includes/getting-started/template.html docs/_includes/header.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/nav/components.html docs/_includes/nav/getting-started.html docs/_layouts/default.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/docs.min.js docs/assets/js/raw-files.min.js docs/browser-bugs.html docs/components.html docs/components/navbar.md docs/css.html docs/dist/css/bootstrap-theme.css docs/dist/css/bootstrap-theme.css.map 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/examples/blog/index.html docs/examples/carousel/index.html docs/examples/cover/index.html docs/examples/dashboard/index.html docs/examples/grid/index.html docs/examples/jumbotron-narrow/index.html docs/examples/jumbotron/index.html docs/examples/justified-nav/index.html docs/examples/navbar-fixed-top/index.html docs/examples/navbar-static-top/index.html docs/examples/navbar/index.html docs/examples/non-responsive/index.html docs/examples/offcanvas/index.html docs/examples/signin/index.html docs/examples/starter-template/index.html docs/examples/sticky-footer-navbar/index.html docs/examples/sticky-footer/index.html docs/examples/theme/index.html docs/examples/tooltip-viewport/index.html docs/getting-started.html docs/javascript.html docs/migration.html less/_animation.less less/_modal.less less/_navbar.less less/_variables.less less/glyphicons.less less/navs.less less/panels.less less/progress-bars.less
2014-10-26Docs: progress bars' animation now needs to be manually toggledHeinrich Fenkart1-1/+5
Refs #14409
2014-10-25Move "Copy" button in code.XhmikosR1-9/+2
2014-08-02Merge branch 'master' into derpMark Otto1-2/+1
Conflicts: _config.yml dist/css/bootstrap-theme.css.map dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css docs/_includes/components/glyphicons.html docs/_includes/css/forms.html docs/_includes/css/tables.html docs/_includes/getting-started/browser-device-support.html docs/_includes/header.html docs/_includes/js/affix.html docs/_includes/js/alerts.html docs/_includes/js/buttons.html docs/_includes/js/dropdowns.html docs/_includes/js/overview.html docs/_includes/js/popovers.html docs/_includes/js/tooltips.html docs/_includes/nav/javascript.html docs/assets/css/docs.min.css docs/assets/css/src/docs.css docs/assets/js/customize.min.js docs/assets/js/docs.min.js docs/assets/js/raw-files.min.js docs/browser-bugs.html docs/dist/css/bootstrap-theme.css.map docs/dist/css/bootstrap.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css docs/examples/blog/index.html docs/examples/carousel/index.html docs/examples/cover/index.html docs/examples/dashboard/index.html docs/examples/grid/index.html docs/examples/jumbotron-narrow/index.html docs/examples/jumbotron/index.html docs/examples/justified-nav/index.html docs/examples/navbar-fixed-top/index.html docs/examples/navbar-static-top/index.html docs/examples/navbar/index.html docs/examples/non-responsive/index.html docs/examples/offcanvas/index.html docs/examples/signin/index.html docs/examples/starter-template/index.html docs/examples/sticky-footer-navbar/index.html docs/examples/sticky-footer/index.html docs/examples/theme/index.html docs/examples/tooltip-viewport/index.html less/code.less less/panels.less less/variables.less
2014-07-15popover dismiss-on-next-click example: instead of <button>, use <a> w/ tabindexChris Rebert1-2/+1
Fixes #14038. Research supporting this choice of approach: https://gist.github.com/cvrebert/68659d0333a578d75372 Why not <button>? Even with a `tabindex` attribute, they don't gain focus when clicked upon in: * Mac OS X Firefox 30.0 * Mac OS X Safari 7.0.5
2014-07-10start markdowning getting started and moving things to separate pagesMark Otto1-12/+12