mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-21 15:00:23 +00:00
rename generateCustomCSS to generateCustomLess for accuracy
This commit is contained in:
parent
24c5a453b2
commit
1853e31a10
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue