0
0
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:
Mark Otto 2013-12-22 22:08:33 -08:00
commit 90ba7fa836
3 changed files with 5 additions and 6 deletions

View File

@ -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))
}
}

View File

@ -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)

View File

@ -9,7 +9,6 @@
"eqnull" : true,
"expr" : true,
"laxbreak" : true,
"laxcomma" : true,
"quotmark" : "single",
"validthis": true
}