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
892f6e35
Commit
892f6e35
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge branch 'master' of github.com:twbs/bootstrap
parents
0723060b
de62dcaf
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
docs/_includes/customizer-variables.html
+473
-373
docs/_includes/customizer-variables.html
docs/_jade/customizer-variables.jade
+4
-2
docs/_jade/customizer-variables.jade
docs/assets/css/src/docs.css
+0
-7
docs/assets/css/src/docs.css
grunt/sauce_browsers.yml
+1
-1
grunt/sauce_browsers.yml
js/tests/unit/tooltip.js
+31
-31
js/tests/unit/tooltip.js
with
509 additions
and
414 deletions
+509
-414
docs/_includes/customizer-variables.html
+
473
-
373
View file @
892f6e35
This diff is collapsed.
Click to expand it.
docs/_jade/customizer-variables.jade
+
4
-
2
View file @
892f6e35
...
@@ -8,8 +8,10 @@ each section in sections
...
@@ -8,8 +8,10 @@ each section in sections
if subsection.heading
if subsection.heading
h3(id=subsection.id)= subsection.heading
h3(id=subsection.id)= subsection.heading
div.row
div.row
each variable in subsection.variables
each variable, index in subsection.variables
div.bs-customizer-input
if index > 0 && index % 3 === 0
div.clearfix
div.col-xs-4
label(for="input-" + variable.name)= variable.name
label(for="input-" + variable.name)= variable.name
input.form-control(
input.form-control(
id="input-" + variable.name
id="input-" + variable.name
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/src/docs.css
+
0
-
7
View file @
892f6e35
...
@@ -1342,13 +1342,6 @@ h1[id] {
...
@@ -1342,13 +1342,6 @@ h1[id] {
font-weight
:
normal
;
font-weight
:
normal
;
}
}
.bs-customizer-input
{
float
:
left
;
width
:
33.333333%
;
padding-right
:
15px
;
padding-left
:
15px
;
}
/* Downloads */
/* Downloads */
.bs-customize-download
.btn-outline
{
.bs-customize-download
.btn-outline
{
padding
:
20px
;
padding
:
20px
;
...
...
This diff is collapsed.
Click to expand it.
grunt/sauce_browsers.yml
+
1
-
1
View file @
892f6e35
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
{
{
browserName
:
"
iphone"
,
browserName
:
"
iphone"
,
platform
:
"
OS
X
10.9"
,
platform
:
"
OS
X
10.9"
,
version
:
"
7.1
"
version
:
"
8.0
"
},
},
# iOS Chrome not currently supported by Sauce Labs
# iOS Chrome not currently supported by Sauce Labs
...
...
This diff is collapsed.
Click to expand it.
js/tests/unit/tooltip.js
+
31
-
31
View file @
892f6e35
...
@@ -803,16 +803,16 @@ $(function () {
...
@@ -803,16 +803,16 @@ $(function () {
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
bootstrapTooltip
({
delay
:
15
})
.
bootstrapTooltip
({
delay
:
15
0
})
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
10ms: tooltip is not faded in
'
)
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
10
0
ms: tooltip is not faded in
'
)
},
10
)
},
10
0
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
20ms: tooltip is faded in
'
)
ok
(
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
20
0
ms: tooltip is faded in
'
)
start
()
start
()
},
20
)
},
20
0
)
$tooltip
.
trigger
(
'
mouseenter
'
)
$tooltip
.
trigger
(
'
mouseenter
'
)
})
})
...
@@ -822,17 +822,17 @@ $(function () {
...
@@ -822,17 +822,17 @@ $(function () {
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
bootstrapTooltip
({
delay
:
15
})
.
bootstrapTooltip
({
delay
:
15
0
})
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
10ms: tooltip not faded in
'
)
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
10
0
ms: tooltip not faded in
'
)
$tooltip
.
trigger
(
'
mouseout
'
)
$tooltip
.
trigger
(
'
mouseout
'
)
},
10
)
},
10
0
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
20ms: tooltip not faded in
'
)
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
20
0
ms: tooltip not faded in
'
)
start
()
start
()
},
20
)
},
20
0
)
$tooltip
.
trigger
(
'
mouseenter
'
)
$tooltip
.
trigger
(
'
mouseenter
'
)
})
})
...
@@ -842,21 +842,21 @@ $(function () {
...
@@ -842,21 +842,21 @@ $(function () {
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
bootstrapTooltip
({
delay
:
{
show
:
0
,
hide
:
15
}})
.
bootstrapTooltip
({
delay
:
{
show
:
0
,
hide
:
15
0
}})
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
1ms: tooltip faded in
'
)
ok
(
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
1ms: tooltip faded in
'
)
$tooltip
.
trigger
(
'
mouseout
'
)
$tooltip
.
trigger
(
'
mouseout
'
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
10ms: tooltip still faded in
'
)
ok
(
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
10
0
ms: tooltip still faded in
'
)
$tooltip
.
trigger
(
'
mouseenter
'
)
$tooltip
.
trigger
(
'
mouseenter
'
)
},
10
)
},
10
0
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
20ms: tooltip still faded in
'
)
ok
(
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
20
0
ms: tooltip still faded in
'
)
start
()
start
()
},
20
)
},
20
0
)
},
0
)
},
0
)
$tooltip
.
trigger
(
'
mouseenter
'
)
$tooltip
.
trigger
(
'
mouseenter
'
)
...
@@ -867,17 +867,17 @@ $(function () {
...
@@ -867,17 +867,17 @@ $(function () {
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
bootstrapTooltip
({
delay
:
15
})
.
bootstrapTooltip
({
delay
:
15
0
})
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
10ms: tooltip not faded in
'
)
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
10
0
ms: tooltip not faded in
'
)
$tooltip
.
trigger
(
'
mouseout
'
)
$tooltip
.
trigger
(
'
mouseout
'
)
},
10
)
},
10
0
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
20ms: tooltip not faded in
'
)
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
20
0
ms: tooltip not faded in
'
)
start
()
start
()
},
20
)
},
20
0
)
$tooltip
.
trigger
(
'
mouseenter
'
)
$tooltip
.
trigger
(
'
mouseenter
'
)
})
})
...
@@ -887,27 +887,27 @@ $(function () {
...
@@ -887,27 +887,27 @@ $(function () {
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
bootstrapTooltip
({
delay
:
{
show
:
15
,
hide
:
0
}})
.
bootstrapTooltip
({
delay
:
{
show
:
15
0
,
hide
:
0
}})
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
10ms: tooltip not faded in
'
)
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
10
0
ms: tooltip not faded in
'
)
$tooltip
.
trigger
(
'
mouseout
'
)
$tooltip
.
trigger
(
'
mouseout
'
)
},
10
)
},
10
0
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
25ms: tooltip not faded in
'
)
ok
(
!
$
(
'
.tooltip
'
).
is
(
'
.fade.in
'
),
'
25
0
ms: tooltip not faded in
'
)
start
()
start
()
},
25
)
},
25
0
)
$tooltip
.
trigger
(
'
mouseenter
'
)
$tooltip
.
trigger
(
'
mouseenter
'
)
})
})
test
(
'
should wait 20ms before hiding the tooltip
'
,
function
()
{
test
(
'
should wait 20
0
ms before hiding the tooltip
'
,
function
()
{
stop
()
stop
()
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"/>
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
bootstrapTooltip
({
delay
:
{
show
:
0
,
hide
:
15
}})
.
bootstrapTooltip
({
delay
:
{
show
:
0
,
hide
:
15
0
}})
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
$tooltip
.
data
(
'
bs.tooltip
'
).
$tip
.
is
(
'
.fade.in
'
),
'
1ms: tooltip faded in
'
)
ok
(
$tooltip
.
data
(
'
bs.tooltip
'
).
$tip
.
is
(
'
.fade.in
'
),
'
1ms: tooltip faded in
'
)
...
@@ -915,13 +915,13 @@ $(function () {
...
@@ -915,13 +915,13 @@ $(function () {
$tooltip
.
trigger
(
'
mouseout
'
)
$tooltip
.
trigger
(
'
mouseout
'
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
$tooltip
.
data
(
'
bs.tooltip
'
).
$tip
.
is
(
'
.fade.in
'
),
'
10ms: tooltip still faded in
'
)
ok
(
$tooltip
.
data
(
'
bs.tooltip
'
).
$tip
.
is
(
'
.fade.in
'
),
'
10
0
ms: tooltip still faded in
'
)
},
10
)
},
10
0
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
ok
(
!
$tooltip
.
data
(
'
bs.tooltip
'
).
$tip
.
is
(
'
.in
'
),
'
20ms: tooltip removed
'
)
ok
(
!
$tooltip
.
data
(
'
bs.tooltip
'
).
$tip
.
is
(
'
.in
'
),
'
20
0
ms: tooltip removed
'
)
start
()
start
()
},
20
)
},
20
0
)
},
0
)
},
0
)
...
...
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