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
f32866c2
Commit
f32866c2
authored
Jan 24, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0-wip' of github.com:twitter/bootstrap into 2.0-wip
parents
e829001e
b5503c4c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
234 additions
and
234 deletions
+234
-234
docs/javascript.html
docs/javascript.html
+6
-6
docs/templates/pages/javascript.mustache
docs/templates/pages/javascript.mustache
+227
-227
js/tests/vendor/jquery.js
js/tests/vendor/jquery.js
+1
-1
No files found.
docs/javascript.html
View file @
f32866c2
...
...
@@ -914,7 +914,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<p>
Closes an alert.
</p>
<pre
class=
"prettyprint linenums"
>
$(".alert-message").alert('close')
</pre>
<h3>
Events
</h3>
<p>
Bootstrap's alert class exposes a few events for hooking into alert functionality.
</p>
<p>
Bootstrap's alert class exposes a few events for hooking into alert functionality.
</p>
<table
class=
"table table-bordered table-striped"
>
<thead>
<tr>
...
...
@@ -935,7 +935,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
</table>
<pre
class=
"prettyprint linenums"
>
$('#my-alert').bind('closed', function () {
// do something
...
// do something
…
})
</pre>
</div>
</div>
...
...
@@ -1024,7 +1024,7 @@ $('#my-alert').bind('closed', function () {
<h4>
$().button('toggle')
</h4>
<p>
Toggles push state. Gives btn the look that it's been activated.
</p>
<p><span
class=
"label notice"
>
Notice
</span>
You can enable auto toggling of a button by using the
<code>
data-toggle
</code>
attribute.
</p>
<pre
class=
"prettyprint linenums"
>
<
button class="btn" data-toggle="button"
>
...
<
/button
>
</pre>
<pre
class=
"prettyprint linenums"
>
<
button class="btn" data-toggle="button"
>
…
<
/button
>
</pre>
<h4>
$().button('loading')
</h4>
<p>
Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute
<code>
data-loading-text
</code>
.
</p>
...
...
@@ -1166,7 +1166,7 @@ $('#myCollapsible').collapse({
</thead>
<tbody>
<tr>
<td>
show
<
/td>
<td>
show/td>
<td>
This event fires immediately when the
<code>
show
</code>
instance method is called.
</td>
</tr>
<tr>
...
...
@@ -1188,7 +1188,7 @@ $('#myCollapsible').collapse({
<pre
class=
"prettyprint linenums"
>
$('#myCollapsible').on('hidden', function () {
// do something
...
// do something
…
})
</pre>
</div>
</div>
...
...
@@ -1293,7 +1293,7 @@ $('.myCarousel').carousel({
<h4>
.carousel('next')
</h4>
<p>
Cycles to the next item.
</p>
<h3>
Events
</h3>
<p>
Bootstrap's modal class exposes a few events for hooking into modal functionality.
</p>
<p>
Bootstrap's modal class exposes a few events for hooking into modal functionality.
</p>
<table
class=
"table table-bordered table-striped"
>
<thead>
<tr>
...
...
docs/templates/pages/javascript.mustache
View file @
f32866c2
This diff is collapsed.
Click to expand it.
js/tests/vendor/jquery.js
View file @
f32866c2
...
...
@@ -1461,7 +1461,7 @@ jQuery.support = (function() {
// Check if div with explicit width and no margin-right incorrectly
// gets computed margin-right based on width of container. For more
// info see bug #3333
// Fails in WebKit before Feb 201
2
nightlies
// Fails in WebKit before Feb 201
1
nightlies
// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
if
(
window
.
getComputedStyle
)
{
marginDiv
=
document
.
createElement
(
"
div
"
);
...
...
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