Skip to content

Commit

Permalink
rename generateCustomCSS to generateCustomLess for accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed Mar 28, 2014
1 parent 24c5a45 commit 1853e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/assets/js/_src/customizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
complete(content)
}

function generateCustomCSS(vars) {
function generateCustomLess(vars) {
var result = ''

for (var key in vars) {
Expand Down Expand Up @@ -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
// 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
Expand Down

0 comments on commit 1853e31

Please sign in to comment.