Commit c635d8f5 authored by Chris Rebert's avatar Chris Rebert
Browse files

have customizer output Bootstrap Theme too; fixes #12003

parent 07309edc
Showing with 3 additions and 1 deletion
+3 -1
...@@ -243,10 +243,12 @@ window.onload = function () { // wait for load in a dumb way because B-0 ...@@ -243,10 +243,12 @@ window.onload = function () { // wait for load in a dumb way because B-0
$(this).val() && (vars[$(this).prev().text()] = $(this).val()) $(this).val() && (vars[$(this).prev().text()] = $(this).val())
}) })
var bsLessSource = generateLESS('bootstrap.less', lessFileIncludes, vars) var bsLessSource = generateLESS('bootstrap.less', lessFileIncludes, vars)
var themeLessSource = generateLESS('theme.less', lessFileIncludes, vars)
try { try {
compileLESS(bsLessSource, 'bootstrap', result) compileLESS(bsLessSource, 'bootstrap', result)
compileLESS(themeLessSource, 'bootstrap-theme', result)
} catch (err) { } catch (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)
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment