1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-07-31 19:00:23 +02:00

JS: remove unused variables.

This commit is contained in:
XhmikosR
2014-03-01 18:19:50 +02:00
parent de86b36b50
commit 45b476bdbf
11 changed files with 31 additions and 32 deletions

View File

@@ -231,7 +231,9 @@ window.onload = function () { // wait for load in a dumb way because B-0
paths: ['variables.less', 'mixins.less'],
optimization: 0,
filename: baseFilename + '.css'
}).parse(lessSource, function (err, tree) {
})
parser.parse(lessSource, function (err, tree) {
if (err) {
return showError('<strong>Ruh roh!</strong> Could not parse less files.', err)
}
@@ -331,7 +333,6 @@ window.onload = function () { // wait for load in a dumb way because B-0
})
var $compileBtn = $('#btn-compile')
var $downloadBtn = $('#btn-download')
$compileBtn.on('click', function (e) {
var configData = getCustomizerData()