mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
docs-assets: concatenate and minify all javascript files.
This commit is contained in:
parent
692eb554aa
commit
ebf7807985
11
Gruntfile.js
11
Gruntfile.js
@ -125,9 +125,20 @@ module.exports = function (grunt) {
|
||||
'docs/assets/js/jszip.js',
|
||||
'docs/assets/js/uglify.js',
|
||||
'docs/assets/js/filesaver.js',
|
||||
'docs/assets/js/raw-files.js',
|
||||
'docs/assets/js/customizer.js'
|
||||
],
|
||||
dest: 'docs/assets/js/customize.min.js'
|
||||
},
|
||||
docsJs: {
|
||||
options: {
|
||||
report: 'min'
|
||||
},
|
||||
src: [
|
||||
'docs/assets/js/holder.js',
|
||||
'docs/assets/js/application.js'
|
||||
],
|
||||
dest: 'docs/assets/js/docs.min.js'
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -3,12 +3,8 @@
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
||||
<script src="{{ site.baseurl }}dist/js/bootstrap.min.js"></script>
|
||||
|
||||
<script src="{{ site.baseurl }}assets/js/holder.js"></script>
|
||||
<script src="{{ site.baseurl }}assets/js/application.js"></script>
|
||||
|
||||
<script src="{{ site.baseurl }}assets/js/docs.min.js"></script>
|
||||
{% if page.slug == "customize" %}
|
||||
<script src="{{ site.baseurl }}assets/js/raw-files.js"></script>
|
||||
<script src="{{ site.baseurl }}assets/js/customize.min.js"></script>
|
||||
{% endif %}
|
||||
|
||||
|
4
docs/assets/js/customize.min.js
vendored
4
docs/assets/js/customize.min.js
vendored
File diff suppressed because one or more lines are too long
1
docs/assets/js/docs.min.js
vendored
Normal file
1
docs/assets/js/docs.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user