aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-25 00:27:44 -0700
committerMark Otto <[email protected]>2015-08-25 00:27:44 -0700
commitebc0a56c6f66b189665f2d7ff1c947bfeaf3a677 (patch)
treef7e3d51437eed46ccbded361166335d7d48aa27a
parentfacb3a0c3c3f240ae4490019639cf2d6bc2eb53f (diff)
parent37b00133ae9da22b58865c1ecab6af2e075a5e25 (diff)
downloadbootstrap-ebc0a56c6f66b189665f2d7ff1c947bfeaf3a677.tar.xz
bootstrap-ebc0a56c6f66b189665f2d7ff1c947bfeaf3a677.zip
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
-rw-r--r--Gruntfile.js6
-rw-r--r--docs/_includes/footer.html4
-rw-r--r--docs/components/dropdowns.md2
-rw-r--r--js/.eslintrc26
4 files changed, 19 insertions, 19 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index b2b66855b..6dcb2085b 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -1,7 +1,7 @@
/*!
* Bootstrap's Gruntfile
* http://getbootstrap.com
- * Copyright 2013-2014 Twitter, Inc.
+ * Copyright 2013-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
@@ -336,6 +336,7 @@ module.exports = function (grunt) {
jekyll: {
options: {
+ bundleExec: true,
config: '_config.yml'
},
docs: {},
@@ -350,7 +351,6 @@ module.exports = function (grunt) {
options: {
ignore: [
'Element “img” is missing required attribute “src”.',
- 'Bad value “X-UA-Compatible” for attribute “http-equiv” on element “meta”.',
'Attribute “autocomplete” not allowed on element “input” at this point.',
'Attribute “autocomplete” not allowed on element “button” at this point.',
'Element “div” not allowed as child of element “progress” in this context. (Suppressing further errors from this subtree.)',
@@ -438,7 +438,7 @@ module.exports = function (grunt) {
require('time-grunt')(grunt);
// Docs HTML validation task
- grunt.registerTask('validate-html', ['jekyll:docs']);
+ grunt.registerTask('validate-html', ['jekyll:docs', 'htmllint']);
var runSubset = function (subset) {
return !process.env.TWBS_TEST || process.env.TWBS_TEST === subset;
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html
index 48074e384..f02cd4ba7 100644
--- a/docs/_includes/footer.html
+++ b/docs/_includes/footer.html
@@ -3,8 +3,8 @@
<ul class="bd-footer-links">
<li><a href="{{ site.repo }}">GitHub</a></li>
<li><a href="https://twitter.com/getbootstrap">Twitter</a></li>
- <li><a href="../getting-started/#examples">Examples</a></li>
- <li><a href="../about/">About</a></li>
+ <li><a href="{{ site.baseurl }}/examples/">Examples</a></li>
+ <li><a href="{{ site.baseurl }}/about/history/">About</a></li>
</ul>
<p>Designed and built with all the love in the world by <a href="https://twitter.com/mdo" target="_blank">@mdo</a> and <a href="https://twitter.com/fat" target="_blank">@fat</a>. Maintained by the <a href="https://github.com/orgs/twbs/people">core team</a> with the help of <a href="https://github.com/twbs/bootstrap/graphs/contributors">our contributors</a>.</p>
<p>Currently v{{ site.current_version }}. Code licensed <a rel="license" href="https://github.com/twbs/bootstrap/blob/master/LICENSE" target="_blank">MIT</a>, docs <a rel="license" href="https://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a>.</p>
diff --git a/docs/components/dropdowns.md b/docs/components/dropdowns.md
index 037e0d1cf..785913dc4 100644
--- a/docs/components/dropdowns.md
+++ b/docs/components/dropdowns.md
@@ -4,7 +4,7 @@ title: Dropdowns
group: components
---
-Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin.
+Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin. They're toggled by clicking, not by hovering; this is [an intentional design decision.](http://markdotto.com/2012/02/27/bootstrap-explained-dropdowns/)
## Contents
diff --git a/js/.eslintrc b/js/.eslintrc
index b21ede35a..33b23f245 100644
--- a/js/.eslintrc
+++ b/js/.eslintrc
@@ -15,8 +15,8 @@
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
- "no-empty-character-class": 2,
"no-empty": 2,
+ "no-empty-character-class": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": 0,
@@ -29,11 +29,11 @@
"no-obj-calls": 2,
"no-regex-spaces": 2,
"no-sparse-arrays": 2,
+ "no-unexpected-multiline": 2,
"no-unreachable": 2,
"use-isnan": 2,
"valid-jsdoc": 0,
"valid-typeof": 2,
- "no-unexpected-multiline": 2,
//Best Practices
"accessor-pairs": 2,
@@ -41,8 +41,8 @@
"consistent-return": 2,
"curly": 2,
"default-case": 2,
- "dot-notation": 0,
"dot-location": 0,
+ "dot-notation": 0,
"eqeqeq": 2,
"guard-for-in": 2,
"no-alert": 2,
@@ -66,11 +66,11 @@
"no-multi-spaces": 0,
"no-multi-str": 0,
"no-native-reassign": 2,
+ "no-new": 2,
"no-new-func": 0,
"no-new-wrappers": 2,
- "no-new": 2,
- "no-octal-escape": 2,
"no-octal": 2,
+ "no-octal-escape": 2,
"no-param-reassign": 0,
"no-process-env": 2,
"no-proto": 2,
@@ -95,11 +95,11 @@
"no-catch-shadow": 2,
"no-delete-var": 2,
"no-label-var": 2,
- "no-shadow-restricted-names": 2,
"no-shadow": 0,
- "no-undef-init": 2,
+ "no-shadow-restricted-names": 2,
"no-undef": 0,
"no-undefined": 0,
+ "no-undef-init": 2,
"no-unused-vars": 2,
"no-use-before-define": 0,
@@ -117,11 +117,11 @@
"func-style": 0,
"indent": 0,
"key-spacing": 0,
- "lines-around-comment": 0,
"linebreak-style": 2,
+ "lines-around-comment": 0,
"new-cap": 0,
- "new-parens": 2,
"newline-after-var": 0,
+ "new-parens": 2,
"no-array-constructor": 2,
"no-continue": 0,
"no-inline-comments": 0,
@@ -142,17 +142,17 @@
"padded-blocks": 0,
"quote-props": 0,
"quotes": 0,
- "semi-spacing": 0,
"semi": [2, "never"],
+ "semi-spacing": 0,
"sort-vars": 2,
"space-after-keywords": 2,
"space-before-blocks": 2,
"space-before-function-paren": 0,
- "space-in-parens": 2,
+ "spaced-comment": 2,
"space-infix-ops": 2,
+ "space-in-parens": 2,
"space-return-throw-case": 2,
"space-unary-ops": 2,
- "spaced-comment": 2,
// es6
"arrow-parens": 2,
@@ -167,8 +167,8 @@
"object-shorthand": 2,
"prefer-arrow-callback": 2,
"prefer-const": 0,
- "prefer-spread": 2,
"prefer-reflect": 0,
+ "prefer-spread": 2,
"prefer-template": 2,
"require-yield": 2