Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
124d7e62
Commit
124d7e62
authored
Jul 25, 2013
by
fat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #8560
parent
0190128e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
Makefile
Makefile
+1
-1
dist/js/bootstrap.js
dist/js/bootstrap.js
+3
-1
dist/js/bootstrap.min.js
dist/js/bootstrap.min.js
+1
-1
No files found.
Makefile
View file @
124d7e62
...
...
@@ -27,7 +27,7 @@ build:
@
cp
js/tests/vendor/jquery.js assets/js/
@
echo
"
${CHECK}
"
@
printf
"Compiling and minifying JavaScript..."
@
cat
js/transition.js js/alert.js js/button.js js/carousel.js js/collapse.js js/dropdown.js js/modal.js js/tooltip.js js/popover.js js/scrollspy.js js/tab.js js/affix.js
>
dist/js/bootstrap.js
@
echo
"if (!jQuery) throw new Error(
\"
Bootstrap requires jQuery
\"
)
\n
"
|
cat
-
js/transition.js js/alert.js js/button.js js/carousel.js js/collapse.js js/dropdown.js js/modal.js js/tooltip.js js/popover.js js/scrollspy.js js/tab.js js/affix.js
>
dist/js/bootstrap.js
@
uglifyjs
-nc
dist/js/bootstrap.js
>
dist/js/bootstrap.min.tmp.js
@
echo
"/**
\n
* Bootstrap.js v3.0.0 by @fat & @mdo
\n
* Copyright 2013 Twitter, Inc.
\n
* http://www.apache.org/licenses/LICENSE-2.0.txt
\n
*/"
>
dist/js/copyright.js
@
cat
dist/js/copyright.js dist/js/bootstrap.min.tmp.js
>
dist/js/bootstrap.min.js
...
...
dist/js/bootstrap.js
View file @
124d7e62
if
(
!
jQuery
)
throw
new
Error
(
"
Bootstrap requires jQuery
"
)
/* ========================================================================
* Bootstrap: transition.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#transitions
...
...
@@ -1573,7 +1575,7 @@
return
(
$href
&&
$href
.
length
&&
[[
$href
.
position
().
top
+
(
!
$
.
isWindow
(
self
.
$scrollElement
.
get
(
0
))
&&
self
.
$scrollElement
.
scrollTop
()),
href
]])
||
null
&&
[[
$href
.
offset
().
top
+
(
!
$
.
isWindow
(
self
.
$scrollElement
.
get
(
0
))
&&
self
.
$scrollElement
.
scrollTop
()),
href
]])
||
null
})
.
sort
(
function
(
a
,
b
)
{
return
a
[
0
]
-
b
[
0
]
})
.
each
(
function
()
{
...
...
dist/js/bootstrap.min.js
View file @
124d7e62
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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