mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Merge pull request #11972 from XhmikosR/comma
Get rid of JSHint's `laxcomma` option now that the comma is used on the ...
This commit is contained in:
commit
90ba7fa836
@ -59,8 +59,8 @@
|
||||
var navOuterHeight = $('.bs-docs-nav').height()
|
||||
|
||||
return (this.top = offsetTop - navOuterHeight - sideBarMargin)
|
||||
}
|
||||
, bottom: function () {
|
||||
},
|
||||
bottom: function () {
|
||||
return (this.bottom = $('.bs-footer').outerHeight(true))
|
||||
}
|
||||
}
|
||||
|
@ -227,9 +227,9 @@ window.onload = function () { // wait for load in a dumb way because B-0
|
||||
|
||||
try {
|
||||
var parser = new less.Parser({
|
||||
paths: ['variables.less', 'mixins.less']
|
||||
, optimization: 0
|
||||
, filename: 'bootstrap.css'
|
||||
paths: ['variables.less', 'mixins.less'],
|
||||
optimization: 0,
|
||||
filename: 'bootstrap.css'
|
||||
}).parse(css, function (err, tree) {
|
||||
if (err) {
|
||||
return showError('<strong>Ruh roh!</strong> Could not parse less files.', err)
|
||||
|
@ -9,7 +9,6 @@
|
||||
"eqnull" : true,
|
||||
"expr" : true,
|
||||
"laxbreak" : true,
|
||||
"laxcomma" : true,
|
||||
"quotmark" : "single",
|
||||
"validthis": true
|
||||
}
|
Loading…
Reference in New Issue
Block a user