Skip to content

Commit c37274d

Browse files
committed
Update bootstrap to 3.3.5. This commit does not have Henrik's customizations.
- Legacy-Id: 9727
1 parent 5826bcb commit c37274d

84 files changed

Lines changed: 3935 additions & 2297 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bootstrap/CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ and [submitting pull requests](#pull-requests), but please respect the following
1919
restrictions:
2020

2121
* Please **do not** use the issue tracker for personal support requests. Stack
22-
Overflow ([`twitter-bootstrap-3`](http://stackoverflow.com/questions/tagged/twitter-bootstrap-3) tag) or [IRC](README.md#community) are better places to get help.
22+
Overflow ([`twitter-bootstrap-3`](https://stackoverflow.com/questions/tagged/twitter-bootstrap-3) tag), [Slack](https://bootstrap-slack.herokuapp.com/) or [IRC](README.md#community) are better places to get help.
2323

2424
* Please **do not** derail or troll issues. Keep the discussion on topic and
2525
respect the opinions of others.
@@ -66,7 +66,7 @@ Guidelines for bug reports:
6666
latest `master` or development branch in the repository.
6767

6868
3. **Isolate the problem** — ideally create a [reduced test
69-
case](http://css-tricks.com/6263-reduced-test-cases/) and a live example.
69+
case](https://css-tricks.com/reduced-test-cases/) and a live example.
7070
[This JS Bin](http://jsbin.com/lefey/1/edit?html,output) is a helpful template.
7171

7272

@@ -149,7 +149,7 @@ documentation source files and is managed separately by the Bootstrap Core Team.
149149
Adhering to the following process is the best way to get your work
150150
included in the project:
151151

152-
1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
152+
1. [Fork](https://help.github.com/fork-a-repo/) the project, clone your fork,
153153
and configure the remotes:
154154

155155
```bash

bootstrap/Gruntfile.js

Lines changed: 38 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = function (grunt) {
4444
banner: '/*!\n' +
4545
' * Bootstrap v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
4646
' * Copyright 2011-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
47-
' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' +
47+
' * Licensed under the <%= pkg.license %> license\n' +
4848
' */\n',
4949
jqueryCheck: configBridge.config.jqueryCheck.join('\n'),
5050
jqueryVersionCheck: configBridge.config.jqueryVersionCheck.join('\n'),
@@ -63,7 +63,7 @@ module.exports = function (grunt) {
6363
options: {
6464
jshintrc: 'grunt/.jshintrc'
6565
},
66-
src: ['Gruntfile.js', 'grunt/*.js']
66+
src: ['Gruntfile.js', 'package.js', 'grunt/*.js']
6767
},
6868
core: {
6969
src: 'js/*.js'
@@ -126,6 +126,10 @@ module.exports = function (grunt) {
126126

127127
uglify: {
128128
options: {
129+
compress: {
130+
warnings: false
131+
},
132+
mangle: true,
129133
preserveComments: 'some'
130134
},
131135
core: {
@@ -191,7 +195,7 @@ module.exports = function (grunt) {
191195
src: 'dist/css/<%= pkg.name %>-theme.css'
192196
},
193197
docs: {
194-
src: ['docs/assets/css/anchor.css', 'docs/assets/css/src/docs.css']
198+
src: ['docs/assets/css/src/docs.css']
195199
},
196200
examples: {
197201
expand: true,
@@ -240,24 +244,12 @@ module.exports = function (grunt) {
240244
docs: {
241245
src: [
242246
'docs/assets/css/src/pygments-manni.css',
243-
'docs/assets/css/src/anchor.css',
244247
'docs/assets/css/src/docs.css'
245-
246248
],
247249
dest: 'docs/assets/css/docs.min.css'
248250
}
249251
},
250252

251-
usebanner: {
252-
options: {
253-
position: 'top',
254-
banner: '<%= banner %>'
255-
},
256-
files: {
257-
src: 'dist/css/*.css'
258-
}
259-
},
260-
261253
csscomb: {
262254
options: {
263255
config: 'less/.csscomb.json'
@@ -317,6 +309,26 @@ module.exports = function (grunt) {
317309
}
318310
},
319311

312+
htmlmin: {
313+
dist: {
314+
options: {
315+
collapseWhitespace: true,
316+
conservativeCollapse: true,
317+
minifyCSS: true,
318+
minifyJS: true,
319+
removeAttributeQuotes: true,
320+
removeComments: true
321+
},
322+
expand: true,
323+
cwd: '_gh_pages',
324+
dest: '_gh_pages',
325+
src: [
326+
'**/*.html',
327+
'!examples/**/*.html'
328+
]
329+
}
330+
},
331+
320332
jade: {
321333
options: {
322334
pretty: true,
@@ -346,7 +358,7 @@ module.exports = function (grunt) {
346358
watch: {
347359
src: {
348360
files: '<%= jshint.core.src %>',
349-
tasks: ['jshint:src', 'qunit', 'concat']
361+
tasks: ['jshint:core', 'qunit', 'concat']
350362
},
351363
test: {
352364
files: '<%= jshint.test.src %>',
@@ -365,6 +377,14 @@ module.exports = function (grunt) {
365377
return old ? RegExp.quote(old) : old;
366378
})(),
367379
replacement: grunt.option('newver'),
380+
exclude: [
381+
'dist/fonts',
382+
'docs/assets',
383+
'fonts',
384+
'js/tests/vendor',
385+
'node_modules',
386+
'test-infra'
387+
],
368388
recursive: true
369389
}
370390
},
@@ -455,7 +475,7 @@ module.exports = function (grunt) {
455475

456476
// CSS distribution task.
457477
grunt.registerTask('less-compile', ['less:compileCore', 'less:compileTheme']);
458-
grunt.registerTask('dist-css', ['less-compile', 'autoprefixer:core', 'autoprefixer:theme', 'usebanner', 'csscomb:dist', 'cssmin:minifyCore', 'cssmin:minifyTheme']);
478+
grunt.registerTask('dist-css', ['less-compile', 'autoprefixer:core', 'autoprefixer:theme', 'csscomb:dist', 'cssmin:minifyCore', 'cssmin:minifyTheme']);
459479

460480
// Full distribution task.
461481
grunt.registerTask('dist', ['clean:dist', 'dist-css', 'copy:fonts', 'dist-js']);
@@ -491,7 +511,7 @@ module.exports = function (grunt) {
491511
grunt.registerTask('lint-docs-js', ['jshint:assets', 'jscs:assets']);
492512
grunt.registerTask('docs', ['docs-css', 'lint-docs-css', 'docs-js', 'lint-docs-js', 'clean:docs', 'copy:docs', 'build-glyphicons-data', 'build-customizer']);
493513

494-
grunt.registerTask('prep-release', ['jekyll:github', 'compress']);
514+
grunt.registerTask('prep-release', ['dist', 'docs', 'jekyll:github', 'htmlmin', 'compress']);
495515

496516
// Task for updating the cached npm packages used by the Travis build (which are controlled by test-infra/npm-shrinkwrap.json).
497517
// This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.

bootstrap/README-DATATRACKER.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ _______________________
44
Content
55
=======
66

7-
The files in this directory are modified versions of bootstrap v3.3.4. This is
7+
The files in this directory are modified versions of bootstrap v3.3.5. This is
88
a cumbersome way to customize bootsrap, but as of the time of writing this
99
(03 Apr 2015), there seems to be no provision for including modifications
1010
within the distributed build environment without either editing files in

bootstrap/README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# [Bootstrap](http://getbootstrap.com)
2-
![Bower version](https://img.shields.io/bower/v/bootstrap.svg?style=flat)
3-
[![npm version](https://img.shields.io/npm/v/bootstrap.svg?style=flat)](https://www.npmjs.com/package/bootstrap)
4-
[![Build Status](https://img.shields.io/travis/twbs/bootstrap/master.svg?style=flat)](https://travis-ci.org/twbs/bootstrap)
5-
[![devDependency Status](https://img.shields.io/david/dev/twbs/bootstrap.svg?style=flat)](https://david-dm.org/twbs/bootstrap#info=devDependencies)
2+
[![Slack](https://bootstrap-slack.herokuapp.com/badge.svg)](https://bootstrap-slack.herokuapp.com)
3+
![Bower version](https://img.shields.io/bower/v/bootstrap.svg)
4+
[![npm version](https://img.shields.io/npm/v/bootstrap.svg)](https://www.npmjs.com/package/bootstrap)
5+
[![Build Status](https://img.shields.io/travis/twbs/bootstrap/master.svg)](https://travis-ci.org/twbs/bootstrap)
6+
[![devDependency Status](https://img.shields.io/david/dev/twbs/bootstrap.svg)](https://david-dm.org/twbs/bootstrap#info=devDependencies)
67
[![Selenium Test Status](https://saucelabs.com/browser-matrix/bootstrap.svg)](https://saucelabs.com/u/bootstrap)
78

89
Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thornton](https://twitter.com/fat), and maintained by the [core team](https://github.com/orgs/twbs/people) with the massive support and involvement of the community.
@@ -22,13 +23,14 @@ To get started, check out <http://getbootstrap.com>!
2223

2324
## Quick start
2425

25-
Five quick start options are available:
26+
Several quick start options are available:
2627

27-
- [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.3.4.zip).
28+
- [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.3.5.zip).
2829
- Clone the repo: `git clone https://github.com/twbs/bootstrap.git`.
2930
- Install with [Bower](http://bower.io): `bower install bootstrap`.
3031
- Install with [npm](https://www.npmjs.com): `npm install bootstrap`.
31-
- Install with [Meteor](https://www.meteor.com/): `meteor add twbs:bootstrap`.
32+
- Install with [Meteor](https://www.meteor.com): `meteor add twbs:bootstrap`.
33+
- Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap`.
3234

3335
Read the [Getting started page](http://getbootstrap.com/getting-started/) for information on the framework contents, templates and examples, and more.
3436

@@ -56,7 +58,7 @@ bootstrap/
5658
└── glyphicons-halflings-regular.woff2
5759
```
5860

59-
We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/chrome-developer-tools/docs/css-preprocessors) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Fonts from Glyphicons are included, as is the optional Bootstrap theme.
61+
We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developer.chrome.com/devtools/docs/css-preprocessors) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Fonts from Glyphicons are included, as is the optional Bootstrap theme.
6062

6163

6264

@@ -99,12 +101,13 @@ Editor preferences are available in the [editor config](https://github.com/twbs/
99101

100102
## Community
101103

102-
Keep track of development and community news.
104+
Get updates on Bootstrap's development and chat with the project maintainers and community members.
103105

104106
- Follow [@getbootstrap on Twitter](https://twitter.com/getbootstrap).
105107
- Read and subscribe to [The Official Bootstrap Blog](http://blog.getbootstrap.com).
108+
- Join [the official Slack room](https://bootstrap-slack.herokuapp.com).
106109
- Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##bootstrap` channel.
107-
- Implementation help may be found at Stack Overflow (tagged [`twitter-bootstrap-3`](http://stackoverflow.com/questions/tagged/twitter-bootstrap-3)).
110+
- Implementation help may be found at Stack Overflow (tagged [`twitter-bootstrap-3`](https://stackoverflow.com/questions/tagged/twitter-bootstrap-3)).
108111
- Developers should use the keyword `bootstrap` on packages which modify or add to the functionality of Bootstrap when distributing through [npm](https://www.npmjs.com/browse/keyword/bootstrap) or similar delivery mechanisms for maximum discoverability.
109112

110113

bootstrap/_config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ url: http://getbootstrap.com
1414
encoding: UTF-8
1515

1616
# Custom vars
17-
current_version: 3.3.4
17+
current_version: 3.3.5
1818
repo: https://github.com/twbs/bootstrap
1919
sass_repo: https://github.com/twbs/bootstrap-sass
2020

2121
download:
22-
source: https://github.com/twbs/bootstrap/archive/v3.3.4.zip
23-
dist: https://github.com/twbs/bootstrap/releases/download/v3.3.4/bootstrap-3.3.4-dist.zip
24-
sass: https://github.com/twbs/bootstrap-sass/archive/v3.3.4.tar.gz
22+
source: https://github.com/twbs/bootstrap/archive/v3.3.5.zip
23+
dist: https://github.com/twbs/bootstrap/releases/download/v3.3.5/bootstrap-3.3.5-dist.zip
24+
sass: https://github.com/twbs/bootstrap-sass/archive/v3.3.5.tar.gz
2525

2626
blog: http://blog.getbootstrap.com
2727
expo: http://expo.getbootstrap.com
2828

2929
cdn:
30-
css: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css
31-
css_theme: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css
32-
js: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js
30+
css: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css
31+
css_theme: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css
32+
js: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js

bootstrap/bower.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "bootstrap",
33
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
4-
"version": "3.3.4",
54
"keywords": [
65
"css",
76
"js",
@@ -13,15 +12,11 @@
1312
"web"
1413
],
1514
"homepage": "http://getbootstrap.com",
15+
"license": "MIT",
16+
"moduleType": "globals",
1617
"main": [
1718
"less/bootstrap.less",
18-
"dist/css/bootstrap.css",
19-
"dist/js/bootstrap.js",
20-
"dist/fonts/glyphicons-halflings-regular.eot",
21-
"dist/fonts/glyphicons-halflings-regular.svg",
22-
"dist/fonts/glyphicons-halflings-regular.ttf",
23-
"dist/fonts/glyphicons-halflings-regular.woff",
24-
"dist/fonts/glyphicons-halflings-regular.woff2"
19+
"dist/js/bootstrap.js"
2520
],
2621
"ignore": [
2722
"/.*",

0 commit comments

Comments
 (0)