Skip to content
GitLab
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
16a44c20
Commit
16a44c20
authored
9 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Fix
dab6a4f0
.
parent
3b8e84dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/js/docs.min.js
+1
-1
docs/assets/js/docs.min.js
docs/assets/js/src/application.js
+1
-1
docs/assets/js/src/application.js
with
2 additions
and
2 deletions
+2
-2
docs/assets/js/docs.min.js
+
1
-
1
View file @
16a44c20
...
...
@@ -28,4 +28,4 @@ function addAnchors(a){"use strict";if(a){if("string"!=typeof a)throw new Error(
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
!
function
(
a
){
"
use strict
"
;
a
(
function
(){
var
b
=
a
(
window
),
c
=
a
(
document
.
body
);
c
.
scrollspy
({
target
:
"
.bs-docs-sidebar
"
}),
b
.
on
(
"
load
"
,
function
(){
c
.
scrollspy
(
"
refresh
"
)}),
a
(
"
.bs-docs-container [href=#]
"
).
click
(
function
(
a
){
a
.
preventDefault
()}),
setTimeout
(
function
(){
var
b
=
a
(
"
.bs-docs-sidebar
"
);
b
.
affix
({
offset
:{
top
:
function
(){
var
c
=
b
.
offset
().
top
,
d
=
parseInt
(
b
.
children
(
0
).
css
(
"
margin-top
"
),
10
),
e
=
a
(
"
.bs-docs-nav
"
).
height
();
return
this
.
top
=
c
-
e
-
d
},
bottom
:
function
(){
return
this
.
bottom
=
a
(
"
.bs-docs-footer
"
).
outerHeight
(
!
0
)}}})},
100
),
setTimeout
(
function
(){
a
(
"
.bs-top
"
).
affix
()},
100
),
function
(){
var
b
=
a
(
"
#bs-theme-stylesheet
"
),
c
=
a
(
"
.bs-docs-theme-toggle
"
),
d
=
function
(){
b
.
attr
(
"
href
"
,
b
.
attr
(
"
data-href
"
)),
c
.
text
(
"
Disable theme preview
"
),
localStorage
.
setItem
(
"
previewTheme
"
,
!
0
)};
localStorage
.
getItem
(
"
previewTheme
"
)
&&
d
(),
c
.
click
(
function
(){
var
a
=
b
.
attr
(
"
href
"
);
a
&&
0
!==
a
.
indexOf
(
"
data
"
)?(
b
.
attr
(
"
href
"
,
""
),
c
.
text
(
"
Preview theme
"
),
localStorage
.
removeItem
(
"
previewTheme
"
)):
d
()})}(),
a
(
"
.tooltip-demo
"
).
tooltip
({
selector
:
'
[data-toggle="tooltip"]
'
,
container
:
"
body
"
}),
a
(
"
.popover-demo
"
).
popover
({
selector
:
'
[data-toggle="popover"]
'
,
container
:
"
body
"
}),
a
(
"
.tooltip-test
"
).
tooltip
(),
a
(
"
.popover-test
"
).
popover
(),
a
(
"
.bs-docs-popover
"
).
popover
(),
a
(
"
#loading-example-btn
"
).
on
(
"
click
"
,
function
(){
var
b
=
a
(
this
);
b
.
button
(
"
loading
"
),
setTimeout
(
function
(){
b
.
button
(
"
reset
"
)},
3
e3
)}),
a
(
"
#exampleModal
"
).
on
(
"
show.bs.modal
"
,
function
(
b
){
var
c
=
a
(
b
.
relatedTarget
),
d
=
c
.
data
(
"
whatever
"
),
e
=
a
(
this
);
e
.
find
(
"
.modal-title
"
).
text
(
"
New message to
"
+
d
),
e
.
find
(
"
.modal-body input
"
).
val
(
d
)}),
a
(
"
.bs-docs-activate-animated-progressbar
"
).
on
(
"
click
"
,
function
(){
a
(
this
).
siblings
(
"
.progress
"
).
find
(
"
.progress-bar-striped
"
).
toggleClass
(
"
active
"
)}),
ZeroClipboard
.
config
({
swfPath
:
"
/assets/flash/ZeroClipboard.swf
"
,
hoverClass
:
"
btn-clipboard-hover
"
}),
a
(
"
.highlight
"
).
each
(
function
(){
var
b
=
'
<div class="zero-clipboard"><span class="btn-clipboard">Copy</span></div>
'
;
a
(
this
).
before
(
b
)});
var
d
=
new
ZeroClipboard
(
a
(
"
.btn-clipboard
"
)),
e
=
a
(
"
#global-zeroclipboard-html-bridge
"
);
d
.
on
(
"
ready
"
,
function
(){
e
.
data
(
"
placement
"
,
"
top
"
).
attr
(
"
title
"
,
"
Copy to clipboard
"
).
tooltip
(),
d
.
on
(
"
copy
"
,
function
(
b
){
var
c
=
a
(
b
.
target
).
parent
().
nextAll
(
"
.highlight
"
).
first
();
b
.
clipboardData
.
setData
(
"
text/plain
"
,
c
.
text
())}),
d
.
on
(
"
aftercopy
"
,
function
(){
e
.
attr
(
"
title
"
,
"
Copied!
"
).
tooltip
(
"
fixTitle
"
).
tooltip
(
"
show
"
).
attr
(
"
title
"
,
"
Copy to clipboard
"
).
tooltip
(
"
fixTitle
"
)})}),
d
.
on
(
"
error
"
,
function
(){
a
(
"
.zero-clipboard
"
).
remove
(),
ZeroClipboard
.
destroy
()})})}(
jQuery
),
function
(){
"
use strict
"
;
addAnchors
(
"
.bs-docs-container > h1, .bs-docs-container > h2, .bs-docs-container > h3, .bs-docs-container > h4, .bs-docs-container > h5
"
)}();
\ No newline at end of file
!
function
(
a
){
"
use strict
"
;
a
(
function
(){
var
b
=
a
(
window
),
c
=
a
(
document
.
body
);
c
.
scrollspy
({
target
:
"
.bs-docs-sidebar
"
}),
b
.
on
(
"
load
"
,
function
(){
c
.
scrollspy
(
"
refresh
"
)}),
a
(
"
.bs-docs-container [href=#]
"
).
click
(
function
(
a
){
a
.
preventDefault
()}),
setTimeout
(
function
(){
var
b
=
a
(
"
.bs-docs-sidebar
"
);
b
.
affix
({
offset
:{
top
:
function
(){
var
c
=
b
.
offset
().
top
,
d
=
parseInt
(
b
.
children
(
0
).
css
(
"
margin-top
"
),
10
),
e
=
a
(
"
.bs-docs-nav
"
).
height
();
return
this
.
top
=
c
-
e
-
d
},
bottom
:
function
(){
return
this
.
bottom
=
a
(
"
.bs-docs-footer
"
).
outerHeight
(
!
0
)}}})},
100
),
setTimeout
(
function
(){
a
(
"
.bs-top
"
).
affix
()},
100
),
function
(){
var
b
=
a
(
"
#bs-theme-stylesheet
"
),
c
=
a
(
"
.bs-docs-theme-toggle
"
),
d
=
function
(){
b
.
attr
(
"
href
"
,
b
.
attr
(
"
data-href
"
)),
c
.
text
(
"
Disable theme preview
"
),
localStorage
.
setItem
(
"
previewTheme
"
,
!
0
)};
localStorage
.
getItem
(
"
previewTheme
"
)
&&
d
(),
c
.
click
(
function
(){
var
a
=
b
.
attr
(
"
href
"
);
a
&&
0
!==
a
.
indexOf
(
"
data
"
)?(
b
.
attr
(
"
href
"
,
""
),
c
.
text
(
"
Preview theme
"
),
localStorage
.
removeItem
(
"
previewTheme
"
)):
d
()})}(),
a
(
"
.tooltip-demo
"
).
tooltip
({
selector
:
'
[data-toggle="tooltip"]
'
,
container
:
"
body
"
}),
a
(
"
.popover-demo
"
).
popover
({
selector
:
'
[data-toggle="popover"]
'
,
container
:
"
body
"
}),
a
(
"
.tooltip-test
"
).
tooltip
(),
a
(
"
.popover-test
"
).
popover
(),
a
(
"
.bs-docs-popover
"
).
popover
(),
a
(
"
#loading-example-btn
"
).
on
(
"
click
"
,
function
(){
var
b
=
a
(
this
);
b
.
button
(
"
loading
"
),
setTimeout
(
function
(){
b
.
button
(
"
reset
"
)},
3
e3
)}),
a
(
"
#exampleModal
"
).
on
(
"
show.bs.modal
"
,
function
(
b
){
var
c
=
a
(
b
.
relatedTarget
),
d
=
c
.
data
(
"
whatever
"
),
e
=
a
(
this
);
e
.
find
(
"
.modal-title
"
).
text
(
"
New message to
"
+
d
),
e
.
find
(
"
.modal-body input
"
).
val
(
d
)}),
a
(
"
.bs-docs-activate-animated-progressbar
"
).
on
(
"
click
"
,
function
(){
a
(
this
).
siblings
(
"
.progress
"
).
find
(
"
.progress-bar-striped
"
).
toggleClass
(
"
active
"
)}),
ZeroClipboard
.
config
({
swfPath
:
"
/assets/flash/ZeroClipboard.swf
"
,
hoverClass
:
"
btn-clipboard-hover
"
}),
a
(
"
.highlight
"
).
each
(
function
(){
var
b
=
'
<div class="zero-clipboard"><span class="btn-clipboard">Copy</span></div>
'
;
a
(
this
).
before
(
b
)});
var
d
=
new
ZeroClipboard
(
a
(
"
.btn-clipboard
"
)),
e
=
a
(
"
#global-zeroclipboard-html-bridge
"
);
d
.
on
(
"
ready
"
,
function
(){
e
.
data
(
"
placement
"
,
"
top
"
).
attr
(
"
title
"
,
"
Copy to clipboard
"
).
tooltip
(),
d
.
on
(
"
copy
"
,
function
(
b
){
var
c
=
a
(
b
.
target
).
parent
().
nextAll
(
"
.highlight
"
).
first
();
b
.
clipboardData
.
setData
(
"
text/plain
"
,
c
.
text
())}),
d
.
on
(
"
aftercopy
"
,
function
(){
e
.
attr
(
"
title
"
,
"
Copied!
"
).
tooltip
(
"
fixTitle
"
).
tooltip
(
"
show
"
).
attr
(
"
title
"
,
"
Copy to clipboard
"
).
tooltip
(
"
fixTitle
"
)})}),
d
.
on
(
"
error
"
,
function
(){
a
(
"
.zero-clipboard
"
).
remove
(),
ZeroClipboard
.
destroy
()})})}(
jQuery
),
function
(){
"
use strict
"
;
addAnchors
(
"
.bs-docs-section > h1, .bs-docs-section > h2, .bs-docs-section > h3, .bs-docs-section > h4, .bs-docs-section > h5
"
)}();
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docs/assets/js/src/application.js
+
1
-
1
View file @
16a44c20
...
...
@@ -176,5 +176,5 @@
;(
function
()
{
'
use strict
'
;
addAnchors
(
'
.bs-docs-
container
> h1, .bs-docs-
container
> h2, .bs-docs-
container
> h3, .bs-docs-
container
> h4, .bs-docs-
container
> h5
'
);
addAnchors
(
'
.bs-docs-
section
> h1, .bs-docs-
section
> h2, .bs-docs-
section
> h3, .bs-docs-
section
> h4, .bs-docs-
section
> h5
'
);
})();
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