0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Get rid of JSHint's laxcomma option now that the comma is used on the right side.

This commit is contained in:
XhmikosR 2013-12-21 22:59:40 +02:00
parent 5f9695ae7c
commit a05a11e5dc
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
}