Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
b263a019
Commit
b263a019
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge branch 'master' of github.com:twbs/bootstrap
Conflicts: Gruntfile.js
parents
2f7b04a1
68b3e3f3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
Gruntfile.js
+2
-2
Gruntfile.js
dist/js/bootstrap.js
+4
-4
dist/js/bootstrap.js
docs/assets/js/src/customizer.js
+3
-3
docs/assets/js/src/customizer.js
js/.jscsrc
+1
-0
js/.jscsrc
js/tests/unit/tooltip.js
+6
-6
js/tests/unit/tooltip.js
js/transition.js
+4
-4
js/transition.js
with
20 additions
and
19 deletions
+20
-19
Gruntfile.js
+
2
-
2
View file @
b263a019
...
@@ -66,8 +66,8 @@ module.exports = function (grunt) {
...
@@ -66,8 +66,8 @@ module.exports = function (grunt) {
},
},
grunt
:
{
grunt
:
{
options
:
{
options
:
{
'
requireCamelCaseOrUpperCaseIdentifiers
'
:
null
,
requireCamelCaseOrUpperCaseIdentifiers
:
null
,
'
requireParenthesesAroundIIFE
'
:
true
requireParenthesesAroundIIFE
:
true
},
},
src
:
'
<%= jshint.grunt.src %>
'
src
:
'
<%= jshint.grunt.src %>
'
},
},
...
...
This diff is collapsed.
Click to expand it.
dist/js/bootstrap.js
+
4
-
4
View file @
b263a019
...
@@ -25,10 +25,10 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
...
@@ -25,10 +25,10 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
var
el
=
document
.
createElement
(
'
bootstrap
'
)
var
el
=
document
.
createElement
(
'
bootstrap
'
)
var
transEndEventNames
=
{
var
transEndEventNames
=
{
'
WebkitTransition
'
:
'
webkitTransitionEnd
'
,
WebkitTransition
:
'
webkitTransitionEnd
'
,
'
MozTransition
'
:
'
transitionend
'
,
MozTransition
:
'
transitionend
'
,
'
OTransition
'
:
'
oTransitionEnd otransitionend
'
,
OTransition
:
'
oTransitionEnd otransitionend
'
,
'
transition
'
:
'
transitionend
'
transition
:
'
transitionend
'
}
}
for
(
var
name
in
transEndEventNames
)
{
for
(
var
name
in
transEndEventNames
)
{
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/src/customizer.js
+
3
-
3
View file @
b263a019
...
@@ -45,11 +45,11 @@ window.onload = function () { // wait for load in a dumb way because B-0
...
@@ -45,11 +45,11 @@ window.onload = function () { // wait for load in a dumb way because B-0
function
createGist
(
configJson
)
{
function
createGist
(
configJson
)
{
var
data
=
{
var
data
=
{
'
description
'
:
'
Bootstrap Customizer Config
'
,
description
:
'
Bootstrap Customizer Config
'
,
'
public
'
:
true
,
'
public
'
:
true
,
'
files
'
:
{
files
:
{
'
config.json
'
:
{
'
config.json
'
:
{
'
content
'
:
configJson
content
:
configJson
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
js/.jscsrc
+
1
-
0
View file @
b263a019
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowMixedSpacesAndTabs": true,
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineStrings": true,
"disallowMultipleLineStrings": true,
"disallowQuotedKeysInObjects": "allButReserved",
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
...
...
This diff is collapsed.
Click to expand it.
js/tests/unit/tooltip.js
+
6
-
6
View file @
b263a019
...
@@ -391,12 +391,12 @@ $(function () {
...
@@ -391,12 +391,12 @@ $(function () {
test
(
'
tooltips should be placed dynamically, with the dynamic placement option
'
,
function
()
{
test
(
'
tooltips should be placed dynamically, with the dynamic placement option
'
,
function
()
{
$
.
support
.
transition
=
false
$
.
support
.
transition
=
false
var
ttContainer
=
$
(
'
<div id="dynamic-tt-test"/>
'
).
css
({
var
ttContainer
=
$
(
'
<div id="dynamic-tt-test"/>
'
).
css
({
'
height
'
:
400
,
height
:
400
,
'
overflow
'
:
'
hidden
'
,
overflow
:
'
hidden
'
,
'
position
'
:
'
absolute
'
,
position
:
'
absolute
'
,
'
top
'
:
0
,
top
:
0
,
'
left
'
:
0
,
left
:
0
,
'
width
'
:
600
width
:
600
})
})
.
appendTo
(
'
body
'
)
.
appendTo
(
'
body
'
)
...
...
This diff is collapsed.
Click to expand it.
js/transition.js
+
4
-
4
View file @
b263a019
...
@@ -17,10 +17,10 @@
...
@@ -17,10 +17,10 @@
var
el
=
document
.
createElement
(
'
bootstrap
'
)
var
el
=
document
.
createElement
(
'
bootstrap
'
)
var
transEndEventNames
=
{
var
transEndEventNames
=
{
'
WebkitTransition
'
:
'
webkitTransitionEnd
'
,
WebkitTransition
:
'
webkitTransitionEnd
'
,
'
MozTransition
'
:
'
transitionend
'
,
MozTransition
:
'
transitionend
'
,
'
OTransition
'
:
'
oTransitionEnd otransitionend
'
,
OTransition
:
'
oTransitionEnd otransitionend
'
,
'
transition
'
:
'
transitionend
'
transition
:
'
transitionend
'
}
}
for
(
var
name
in
transEndEventNames
)
{
for
(
var
name
in
transEndEventNames
)
{
...
...
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
Menu
Explore
Projects
Groups
Snippets