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
a05a11e5
Commit
a05a11e5
authored
11 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Get rid of JSHint's `laxcomma` option now that the comma is used on the right side.
parent
5f9695ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs-assets/js/application.js
+2
-2
docs-assets/js/application.js
docs-assets/js/customizer.js
+3
-3
docs-assets/js/customizer.js
js/.jshintrc
+0
-1
js/.jshintrc
with
5 additions
and
6 deletions
+5
-6
docs-assets/js/application.js
+
2
-
2
View file @
a05a11e5
...
@@ -59,8 +59,8 @@
...
@@ -59,8 +59,8 @@
var
navOuterHeight
=
$
(
'
.bs-docs-nav
'
).
height
()
var
navOuterHeight
=
$
(
'
.bs-docs-nav
'
).
height
()
return
(
this
.
top
=
offsetTop
-
navOuterHeight
-
sideBarMargin
)
return
(
this
.
top
=
offsetTop
-
navOuterHeight
-
sideBarMargin
)
}
}
,
,
bottom
:
function
()
{
bottom
:
function
()
{
return
(
this
.
bottom
=
$
(
'
.bs-footer
'
).
outerHeight
(
true
))
return
(
this
.
bottom
=
$
(
'
.bs-footer
'
).
outerHeight
(
true
))
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
docs-assets/js/customizer.js
+
3
-
3
View file @
a05a11e5
...
@@ -227,9 +227,9 @@ window.onload = function () { // wait for load in a dumb way because B-0
...
@@ -227,9 +227,9 @@ window.onload = function () { // wait for load in a dumb way because B-0
try
{
try
{
var
parser
=
new
less
.
Parser
({
var
parser
=
new
less
.
Parser
({
paths
:
[
'
variables.less
'
,
'
mixins.less
'
]
paths
:
[
'
variables.less
'
,
'
mixins.less
'
]
,
,
optimization
:
0
optimization
:
0
,
,
filename
:
'
bootstrap.css
'
filename
:
'
bootstrap.css
'
}).
parse
(
css
,
function
(
err
,
tree
)
{
}).
parse
(
css
,
function
(
err
,
tree
)
{
if
(
err
)
{
if
(
err
)
{
return
showError
(
'
<strong>Ruh roh!</strong> Could not parse less files.
'
,
err
)
return
showError
(
'
<strong>Ruh roh!</strong> Could not parse less files.
'
,
err
)
...
...
This diff is collapsed.
Click to expand it.
js/.jshintrc
+
0
-
1
View file @
a05a11e5
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
"eqnull" : true,
"eqnull" : true,
"expr" : true,
"expr" : true,
"laxbreak" : true,
"laxbreak" : true,
"laxcomma" : true,
"quotmark" : "single",
"quotmark" : "single",
"validthis": true
"validthis": true
}
}
\ No newline at end of file
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