Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
1853e31a
Commit
1853e31a
authored
11 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
rename generateCustomCSS to generateCustomLess for accuracy
parent
24c5a453
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/assets/js/_src/customizer.js
+2
-2
docs/assets/js/_src/customizer.js
with
2 additions
and
2 deletions
+2
-2
docs/assets/js/_src/customizer.js
+
2
-
2
View file @
1853e31a
...
...
@@ -158,7 +158,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
complete
(
content
)
}
function
generateCustom
CSS
(
vars
)
{
function
generateCustom
Less
(
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
+=
generateCustom
CSS
(
vars
)
if
((
'
variables.less
'
===
filename
)
&&
vars
)
lessSource
+=
generateCustom
Less
(
vars
)
})
lessSource
=
lessSource
.
replace
(
/@import
[^\n]
*/gi
,
''
)
//strip any imports
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets