Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
a515191a
Commit
a515191a
authored
10 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Customizer: include the minified files only on GitHub pages.
parent
4e3ffa56
5 merge requests
!28721
Hot test
,
!16605
Test pull please ignore
,
!22103
test
,
!25326
Adjust examples
,
!14904
Customizer: include the minified files only on GitHub pages.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Gruntfile.js
+1
-0
Gruntfile.js
docs/_includes/footer.html
+10
-0
docs/_includes/footer.html
with
11 additions
and
0 deletions
+11
-0
Gruntfile.js
+
1
-
0
View file @
a515191a
...
...
@@ -138,6 +138,7 @@ module.exports = function (grunt) {
dest
:
'
dist/js/<%= pkg.name %>.min.js
'
},
customize
:
{
// NOTE: This src list is duplicated in footer.html; if making changes here, be sure to update the other copy too.
src
:
[
'
docs/assets/js/vendor/less.min.js
'
,
'
docs/assets/js/vendor/jszip.min.js
'
,
...
...
This diff is collapsed.
Click to expand it.
docs/_includes/footer.html
+
10
-
0
View file @
a515191a
...
...
@@ -46,7 +46,17 @@
<script
src=
"../assets/js/src/application.js"
></script>
{% endif %}
{% if page.slug == "customize" %}
{% if site.github %}
<script
src=
"../assets/js/customize.min.js"
></script>
{% else %}
<script
src=
"../assets/js/vendor/less.min.js"
></script>
<script
src=
"../assets/js/vendor/jszip.min.js"
></script>
<script
src=
"../assets/js/vendor/uglify.min.js"
></script>
<script
src=
"../assets/js/vendor/Blob.js"
></script>
<script
src=
"../assets/js/vendor/FileSaver.js"
></script>
<script
src=
"../assets/js/raw-files.min.js"
></script>
<script
src=
"../assets/js/src/customizer.js"
></script>
{% endif %}
{% endif %}
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script
src=
"../assets/js/ie10-viewport-bug-workaround.js"
></script>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets