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
b6575cc7
Commit
b6575cc7
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fix up code snippet
parent
30d8eb3e
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
docs/assets/js/bootstrap-carousel.js
+1
-1
docs/assets/js/bootstrap-carousel.js
docs/assets/js/bootstrap-collapse.js
+1
-1
docs/assets/js/bootstrap-collapse.js
docs/assets/js/bootstrap.js
+2
-2
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.min.js
+1
-1
docs/assets/js/bootstrap.min.js
docs/base-css.html
+2
-2
docs/base-css.html
docs/templates/pages/base-css.mustache
+2
-2
docs/templates/pages/base-css.mustache
with
9 additions
and
9 deletions
+9
-9
docs/assets/js/bootstrap-carousel.js
+
1
-
1
View file @
b6575cc7
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
if
(
!
data
)
$this
.
data
(
'
carousel
'
,
(
data
=
new
Carousel
(
this
,
options
)))
if
(
!
data
)
$this
.
data
(
'
carousel
'
,
(
data
=
new
Carousel
(
this
,
options
)))
if
(
typeof
option
==
'
number
'
)
data
.
to
(
option
)
if
(
typeof
option
==
'
number
'
)
data
.
to
(
option
)
else
if
(
action
)
data
[
action
]()
else
if
(
action
)
data
[
action
]()
else
if
(
options
.
interval
)
data
.
cycle
()
else
if
(
options
.
interval
)
data
.
pause
().
cycle
()
})
})
}
}
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap-collapse.js
+
1
-
1
View file @
b6575cc7
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
,
actives
,
actives
,
hasData
,
hasData
if
(
this
.
transitioning
)
return
if
(
this
.
transitioning
||
this
.
$element
.
hasClass
(
'
in
'
)
)
return
dimension
=
this
.
dimension
()
dimension
=
this
.
dimension
()
scroll
=
$
.
camelCase
([
'
scroll
'
,
dimension
].
join
(
'
-
'
))
scroll
=
$
.
camelCase
([
'
scroll
'
,
dimension
].
join
(
'
-
'
))
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.js
+
2
-
2
View file @
b6575cc7
...
@@ -425,7 +425,7 @@
...
@@ -425,7 +425,7 @@
if
(
!
data
)
$this
.
data
(
'
carousel
'
,
(
data
=
new
Carousel
(
this
,
options
)))
if
(
!
data
)
$this
.
data
(
'
carousel
'
,
(
data
=
new
Carousel
(
this
,
options
)))
if
(
typeof
option
==
'
number
'
)
data
.
to
(
option
)
if
(
typeof
option
==
'
number
'
)
data
.
to
(
option
)
else
if
(
action
)
data
[
action
]()
else
if
(
action
)
data
[
action
]()
else
if
(
options
.
interval
)
data
.
cycle
()
else
if
(
options
.
interval
)
data
.
pause
().
cycle
()
})
})
}
}
...
@@ -510,7 +510,7 @@
...
@@ -510,7 +510,7 @@
,
actives
,
actives
,
hasData
,
hasData
if
(
this
.
transitioning
)
return
if
(
this
.
transitioning
||
this
.
$element
.
hasClass
(
'
in
'
)
)
return
dimension
=
this
.
dimension
()
dimension
=
this
.
dimension
()
scroll
=
$
.
camelCase
([
'
scroll
'
,
dimension
].
join
(
'
-
'
))
scroll
=
$
.
camelCase
([
'
scroll
'
,
dimension
].
join
(
'
-
'
))
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.min.js
+
1
-
1
View file @
b6575cc7
This diff is collapsed.
Click to expand it.
docs/base-css.html
+
2
-
2
View file @
b6575cc7
...
@@ -450,10 +450,10 @@
...
@@ -450,10 +450,10 @@
<h2>
Inline
</h2>
<h2>
Inline
</h2>
<p>
Wrap inline snippets of code with
<code>
<
code
>
</code>
.
</p>
<p>
Wrap inline snippets of code with
<code>
<
code
>
</code>
.
</p>
<div
class=
"bs-docs-example"
>
<div
class=
"bs-docs-example"
>
For example,
<code>
&
amp;
lt;section
&
amp;
gt;
</code>
should be wrapped as inline.
For example,
<code>
<
section
>
</code>
should be wrapped as inline.
</div>
</div>
<pre
class=
"prettyprint linenums"
>
<pre
class=
"prettyprint linenums"
>
For example,
<
code
><
section
><
/code
>
should be wrapped as inline.
For example,
<
code
>&
amp;
lt;section
&
amp;
gt;
<
/code
>
should be wrapped as inline.
</pre>
</pre>
<h2>
Basic block
</h2>
<h2>
Basic block
</h2>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/base-css.mustache
+
2
-
2
View file @
b6575cc7
...
@@ -387,10 +387,10 @@
...
@@ -387,10 +387,10 @@
<h2>
Inline
</h2>
<h2>
Inline
</h2>
<p>
Wrap inline snippets of code with
<code>
<
code
>
</code>
.
</p>
<p>
Wrap inline snippets of code with
<code>
<
code
>
</code>
.
</p>
<div
class=
"bs-docs-example"
>
<div
class=
"bs-docs-example"
>
For example,
<code>
&
amp;
lt;section
&
amp;
gt;
</code>
should be wrapped as inline.
For example,
<code>
<
section
>
</code>
should be wrapped as inline.
</div>
</div>
<pre
class=
"prettyprint linenums"
>
<pre
class=
"prettyprint linenums"
>
{{
_i
}}
For example,
<
code
><
section
><
/code
>
should be wrapped as inline.
{{/
i
}}
{{
_i
}}
For example,
<
code
>&
amp;
lt;section
&
amp;
gt;
<
/code
>
should be wrapped as inline.
{{/
i
}}
</pre>
</pre>
<h2>
Basic block
</h2>
<h2>
Basic block
</h2>
...
...
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