Commit 1853e31a authored by Chris Rebert's avatar Chris Rebert

rename generateCustomCSS to generateCustomLess for accuracy

parent 24c5a453
...@@ -158,7 +158,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 ...@@ -158,7 +158,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
complete(content) complete(content)
} }
function generateCustomCSS(vars) { function generateCustomLess(vars) {
var result = '' var result = ''
for (var key in vars) { for (var key in vars) {
...@@ -203,7 +203,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 ...@@ -203,7 +203,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
// Custom variables are added after Bootstrap variables so the custom // Custom variables are added after Bootstrap variables so the custom
// ones take precedence. // ones take precedence.
if (('variables.less' === filename) && vars) lessSource += generateCustomCSS(vars) if (('variables.less' === filename) && vars) lessSource += generateCustomLess(vars)
}) })
lessSource = lessSource.replace(/@import[^\n]*/gi, '') //strip any imports lessSource = lessSource.replace(/@import[^\n]*/gi, '') //strip any imports
......
Markdown is supported
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