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
f219fee0
Commit
f219fee0
authored
10 years ago
by
fat
Browse files
Options
Download
Email Patches
Plain Diff
versions
parent
c312d735
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
js/affix.js
+3
-1
js/affix.js
js/alert.js
+2
-0
js/alert.js
js/button.js
+2
-0
js/button.js
js/carousel.js
+2
-0
js/carousel.js
js/collapse.js
+2
-0
js/collapse.js
js/dropdown.js
+2
-0
js/dropdown.js
js/modal.js
+2
-0
js/modal.js
js/popover.js
+2
-0
js/popover.js
js/scrollspy.js
+2
-0
js/scrollspy.js
js/tab.js
+2
-0
js/tab.js
js/tooltip.js
+2
-0
js/tooltip.js
with
23 additions
and
1 deletion
+23
-1
js/affix.js
+
3
-
1
View file @
f219fee0
...
@@ -27,7 +27,9 @@
...
@@ -27,7 +27,9 @@
this
.
checkPosition
()
this
.
checkPosition
()
}
}
Affix
.
RESET
=
'
affix affix-top affix-bottom
'
Affix
.
VERSION
=
'
3.1.1
'
Affix
.
RESET
=
'
affix affix-top affix-bottom
'
Affix
.
DEFAULTS
=
{
Affix
.
DEFAULTS
=
{
offset
:
0
offset
:
0
...
...
This diff is collapsed.
Click to expand it.
js/alert.js
+
2
-
0
View file @
f219fee0
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
$
(
el
).
on
(
'
click
'
,
dismiss
,
this
.
close
)
$
(
el
).
on
(
'
click
'
,
dismiss
,
this
.
close
)
}
}
Alert
.
VERSION
=
'
3.1.1
'
Alert
.
prototype
.
close
=
function
(
e
)
{
Alert
.
prototype
.
close
=
function
(
e
)
{
var
$this
=
$
(
this
)
var
$this
=
$
(
this
)
var
selector
=
$this
.
attr
(
'
data-target
'
)
var
selector
=
$this
.
attr
(
'
data-target
'
)
...
...
This diff is collapsed.
Click to expand it.
js/button.js
+
2
-
0
View file @
f219fee0
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
this
.
isLoading
=
false
this
.
isLoading
=
false
}
}
Button
.
VERSION
=
'
3.1.1
'
Button
.
DEFAULTS
=
{
Button
.
DEFAULTS
=
{
loadingText
:
'
loading...
'
loadingText
:
'
loading...
'
}
}
...
...
This diff is collapsed.
Click to expand it.
js/carousel.js
+
2
-
0
View file @
f219fee0
...
@@ -28,6 +28,8 @@
...
@@ -28,6 +28,8 @@
.
on
(
'
mouseleave
'
,
$
.
proxy
(
this
.
cycle
,
this
))
.
on
(
'
mouseleave
'
,
$
.
proxy
(
this
.
cycle
,
this
))
}
}
Carousel
.
VERSION
=
'
3.1.1
'
Carousel
.
DEFAULTS
=
{
Carousel
.
DEFAULTS
=
{
interval
:
5000
,
interval
:
5000
,
pause
:
'
hover
'
,
pause
:
'
hover
'
,
...
...
This diff is collapsed.
Click to expand it.
js/collapse.js
+
2
-
0
View file @
f219fee0
...
@@ -22,6 +22,8 @@
...
@@ -22,6 +22,8 @@
if
(
this
.
options
.
toggle
)
this
.
toggle
()
if
(
this
.
options
.
toggle
)
this
.
toggle
()
}
}
Collapse
.
VERSION
=
'
3.1.1
'
Collapse
.
DEFAULTS
=
{
Collapse
.
DEFAULTS
=
{
toggle
:
true
toggle
:
true
}
}
...
...
This diff is collapsed.
Click to expand it.
js/dropdown.js
+
2
-
0
View file @
f219fee0
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
$
(
element
).
on
(
'
click.bs.dropdown
'
,
this
.
toggle
)
$
(
element
).
on
(
'
click.bs.dropdown
'
,
this
.
toggle
)
}
}
Dropdown
.
VERSION
=
'
3.1.1
'
Dropdown
.
prototype
.
toggle
=
function
(
e
)
{
Dropdown
.
prototype
.
toggle
=
function
(
e
)
{
var
$this
=
$
(
this
)
var
$this
=
$
(
this
)
...
...
This diff is collapsed.
Click to expand it.
js/modal.js
+
2
-
0
View file @
f219fee0
...
@@ -30,6 +30,8 @@
...
@@ -30,6 +30,8 @@
}
}
}
}
Modal
.
VERSION
=
'
3.1.1
'
Modal
.
DEFAULTS
=
{
Modal
.
DEFAULTS
=
{
backdrop
:
true
,
backdrop
:
true
,
keyboard
:
true
,
keyboard
:
true
,
...
...
This diff is collapsed.
Click to expand it.
js/popover.js
+
2
-
0
View file @
f219fee0
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
if
(
!
$
.
fn
.
tooltip
)
throw
new
Error
(
'
Popover requires tooltip.js
'
)
if
(
!
$
.
fn
.
tooltip
)
throw
new
Error
(
'
Popover requires tooltip.js
'
)
Popover
.
VERSION
=
'
3.1.1
'
Popover
.
DEFAULTS
=
$
.
extend
({},
$
.
fn
.
tooltip
.
Constructor
.
DEFAULTS
,
{
Popover
.
DEFAULTS
=
$
.
extend
({},
$
.
fn
.
tooltip
.
Constructor
.
DEFAULTS
,
{
placement
:
'
right
'
,
placement
:
'
right
'
,
trigger
:
'
click
'
,
trigger
:
'
click
'
,
...
...
This diff is collapsed.
Click to expand it.
js/scrollspy.js
+
2
-
0
View file @
f219fee0
...
@@ -32,6 +32,8 @@
...
@@ -32,6 +32,8 @@
this
.
process
()
this
.
process
()
}
}
ScrollSpy
.
VERSION
=
'
3.1.1
'
ScrollSpy
.
DEFAULTS
=
{
ScrollSpy
.
DEFAULTS
=
{
offset
:
10
offset
:
10
}
}
...
...
This diff is collapsed.
Click to expand it.
js/tab.js
+
2
-
0
View file @
f219fee0
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
this
.
element
=
$
(
element
)
this
.
element
=
$
(
element
)
}
}
Tab
.
VERSION
=
'
3.1.1
'
Tab
.
prototype
.
show
=
function
()
{
Tab
.
prototype
.
show
=
function
()
{
var
$this
=
this
.
element
var
$this
=
this
.
element
var
$ul
=
$this
.
closest
(
'
ul:not(.dropdown-menu)
'
)
var
$ul
=
$this
.
closest
(
'
ul:not(.dropdown-menu)
'
)
...
...
This diff is collapsed.
Click to expand it.
js/tooltip.js
+
2
-
0
View file @
f219fee0
...
@@ -25,6 +25,8 @@
...
@@ -25,6 +25,8 @@
this
.
init
(
'
tooltip
'
,
element
,
options
)
this
.
init
(
'
tooltip
'
,
element
,
options
)
}
}
Tooltip
.
VERSION
=
'
3.1.1
'
Tooltip
.
DEFAULTS
=
{
Tooltip
.
DEFAULTS
=
{
animation
:
true
,
animation
:
true
,
placement
:
'
top
'
,
placement
:
'
top
'
,
...
...
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