0
0
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:
XhmikosR 2013-12-11 00:29:42 +02:00
parent 692eb554aa
commit ebf7807985
4 changed files with 15 additions and 7 deletions

View File

@ -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'
}
},

View File

@ -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 %}

File diff suppressed because one or more lines are too long

1
docs/assets/js/docs.min.js vendored Normal file

File diff suppressed because one or more lines are too long